#include <SVFLLVMValue.h>
Definition at line 53 of file SVFLLVMValue.h.
◆ GNodeK
◆ SVFValKind
◆ SVFLLVMValue() [1/2]
Constructor without name.
Definition at line 78 of file SVFLLVMValue.h.
81 {
82 }
GNodeK kind
used for classof
bool ptrInUncalledFun
true if this pointer is in an uncalled function
bool constDataOrAggData
true if this value is a ConstantData (e.g., numbers, string, floats) or a constantAggregate
const SVFType * type
Type of this SVFValue.
llvm::IRBuilder IRBuilder
◆ SVFLLVMValue() [2/2]
SVF::SVFLLVMValue::SVFLLVMValue |
( |
| ) |
|
|
delete |
◆ ~SVFLLVMValue()
virtual SVF::SVFLLVMValue::~SVFLLVMValue |
( |
| ) |
|
|
virtualdefault |
◆ getKind()
GNodeK SVF::SVFLLVMValue::getKind |
( |
| ) |
const |
|
inline |
◆ getName()
const std::string & SVF::SVFLLVMValue::getName |
( |
| ) |
const |
|
inline |
Definition at line 105 of file SVFLLVMValue.h.
106 {
108 }
std::string name
Short name of value for printing & debugging.
◆ getSourceLoc()
virtual const std::string SVF::SVFLLVMValue::getSourceLoc |
( |
| ) |
const |
|
inlinevirtual |
◆ getType()
◆ isConstDataOrAggData()
bool SVF::SVFLLVMValue::isConstDataOrAggData |
( |
| ) |
const |
|
inline |
◆ ptrInUncalledFunction()
bool SVF::SVFLLVMValue::ptrInUncalledFunction |
( |
| ) |
const |
|
inline |
◆ setConstDataOrAggData()
void SVF::SVFLLVMValue::setConstDataOrAggData |
( |
| ) |
|
|
inlineprotected |
attributes to be set only through Module builders e.g., LLVMModule
Definition at line 86 of file SVFLLVMValue.h.
◆ setName()
void SVF::SVFLLVMValue::setName |
( |
std::string && |
n | ) |
|
|
inline |
◆ setPtrInUncalledFunction()
void SVF::SVFLLVMValue::setPtrInUncalledFunction |
( |
| ) |
|
|
inlineprotected |
◆ setSourceLoc()
virtual void SVF::SVFLLVMValue::setSourceLoc |
( |
const std::string & |
sourceCodeInfo | ) |
|
|
inlinevirtual |
◆ toString()
std::string SVF::SVFLLVMValue::toString |
( |
| ) |
const |
Needs to be implemented by a SVF front end.
Definition at line 746 of file LLVMUtil.cpp.
747{
751 {
752 rawstr <<
"Function: " << fun->getName() <<
" ";
753 }
754 else
755 {
759 else
760 rawstr <<
" No llvmVal found";
761 }
764}
static LLVMModuleSet * getLLVMModuleSet()
const Value * getLLVMValue(const SVFLLVMValue *value) const
virtual const std::string getSourceLoc() const
◆ LLVMModuleSet
◆ operator<<
Overloading operator << for dumping ICFG node ID.
Definition at line 141 of file SVFLLVMValue.h.
142 {
143 return os << value.toString();
144 }
◆ SVFIRReader
◆ SVFIRWriter
◆ constDataOrAggData
bool SVF::SVFLLVMValue::constDataOrAggData |
|
private |
true if this value is a ConstantData (e.g., numbers, string, floats) or a constantAggregate
Definition at line 71 of file SVFLLVMValue.h.
◆ kind
GNodeK SVF::SVFLLVMValue::kind |
|
private |
◆ name
std::string SVF::SVFLLVMValue::name |
|
protected |
Short name of value for printing & debugging.
Definition at line 75 of file SVFLLVMValue.h.
◆ ptrInUncalledFun
bool SVF::SVFLLVMValue::ptrInUncalledFun |
|
private |
true if this pointer is in an uncalled function
Definition at line 70 of file SVFLLVMValue.h.
◆ sourceLoc
std::string SVF::SVFLLVMValue::sourceLoc |
|
protected |
Source code information of this value
Definition at line 76 of file SVFLLVMValue.h.
◆ type
The documentation for this class was generated from the following files: