#include <SVFType.h>
Definition at line 156 of file SVFType.h.
◆ GNodeK
◆ SVFTyKind
Enumerator |
---|
SVFTy | |
SVFPointerTy | |
SVFIntegerTy | |
SVFFunctionTy | |
SVFStructTy | |
SVFArrayTy | |
SVFOtherTy | |
Definition at line 165 of file SVFType.h.
◆ SVFType() [1/2]
Definition at line 203 of file SVFType.h.
GNodeK kind
used for classof
StInfo * typeinfo
SVF's TypeInfo.
bool isSingleValTy
The type represents a single value, not struct or.
◆ SVFType() [2/2]
SVF::SVFType::SVFType |
( |
void |
| ) |
|
|
delete |
◆ ~SVFType()
virtual SVF::SVFType::~SVFType |
( |
| ) |
|
|
inlinevirtual |
◆ getByteSize()
u32_t SVF::SVFType::getByteSize |
( |
| ) |
const |
|
inline |
if Type is not sized, byteSize is 0 if Type is sized, byteSize is the LLVM Byte Size.
Definition at line 244 of file SVFType.h.
◆ getKind()
GNodeK SVF::SVFType::getKind |
( |
void |
| ) |
const |
|
inline |
◆ getSVFInt8Type()
static SVFType* SVF::SVFType::getSVFInt8Type |
( |
| ) |
|
|
inlinestatic |
Definition at line 184 of file SVFType.h.
186 assert(
svfI8Ty &&
"int8 type not set?");
static SVFType * svfI8Ty
8-bit int type
◆ getSVFPtrType()
static SVFType* SVF::SVFType::getSVFPtrType |
( |
| ) |
|
|
inlinestatic |
Definition at line 178 of file SVFType.h.
180 assert(
svfPtrTy &&
"ptr type not set?");
static SVFType * svfPtrTy
ptr type
◆ getTypeInfo() [1/2]
StInfo* SVF::SVFType::getTypeInfo |
( |
| ) |
|
|
inline |
◆ getTypeInfo() [2/2]
const StInfo* SVF::SVFType::getTypeInfo |
( |
| ) |
const |
|
inline |
◆ isArrayTy()
bool SVF::SVFType::isArrayTy |
( |
| ) |
const |
|
inline |
◆ isPointerTy()
bool SVF::SVFType::isPointerTy |
( |
| ) |
const |
|
inline |
◆ isSingleValueType()
bool SVF::SVFType::isSingleValueType |
( |
| ) |
const |
|
inline |
◆ isStructTy()
bool SVF::SVFType::isStructTy |
( |
| ) |
const |
|
inline |
◆ print()
virtual void SVF::SVFType::print |
( |
std::ostream & |
os | ) |
const |
|
pure virtual |
◆ setTypeInfo()
void SVF::SVFType::setTypeInfo |
( |
StInfo * |
ti | ) |
|
|
inline |
◆ toString()
- Note
- Use
os<<svfType
or svfType.print(os)
when possible to avoid string concatenation.
◆ LLVMModuleSet
◆ SVFIRReader
◆ SVFIRWriter
◆ byteSize
u32_t SVF::SVFType::byteSize |
|
private |
array
LLVM Byte Size
Definition at line 199 of file SVFType.h.
◆ isSingleValTy
bool SVF::SVFType::isSingleValTy |
|
private |
The type represents a single value, not struct or.
Definition at line 198 of file SVFType.h.
◆ kind
◆ svfI8Ty
SVFType * SVF::SVFType::svfI8Ty = nullptr |
|
staticprivate |
◆ svfPtrTy
SVFType * SVF::SVFType::svfPtrTy = nullptr |
|
staticprivate |
◆ typeinfo
StInfo* SVF::SVFType::typeinfo |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/SVF/SVF/svf/include/SVFIR/SVFType.h
- /home/runner/work/SVF/SVF/svf/lib/SVFIR/SVFType.cpp