#include <SVFStatements.h>
|
| enum | OpCode : unsigned { FNeg = 12
} |
| | OpCode for UnaryOPStmt, enum value is same to llvm::UnaryOperator. More...
|
| enum | PEDGEK {
Addr
, Copy
, Store
, Load
,
Call
, Ret
, Gep
, Phi
,
Select
, Cmp
, BinaryOp
, UnaryOp
,
Branch
, ThreadFork
, ThreadJoin
} |
| typedef GenericNode< SVFVar, SVFStmt >::GEdgeSetTy | SVFStmtSetTy |
| typedef Map< EdgeID, SVFStmtSetTy > | PAGEdgeToSetMapTy |
| typedef PAGEdgeToSetMapTy | KindToSVFStmtMapTy |
| typedef SVFStmtSetTy | PAGEdgeSetTy |
| typedef SVFVar | NodeType |
| | Node type.
|
| typedef u64_t | GEdgeFlag |
| typedef s64_t | GEdgeKind |
| typedef struct SVF::GenericEdge::equalGEdge | equalGEdge |
| | Add the hash function for std::set (we also can overload operator< to implement this).
|
Unary statement
Definition at line 1190 of file SVFStatements.h.
◆ OpCode
◆ UnaryOPStmt() [1/2]
| SVF::UnaryOPStmt::UnaryOPStmt |
( |
const UnaryOPStmt & | | ) |
|
|
private |
◆ UnaryOPStmt() [2/2]
constructor
Definition at line 487 of file SVFStatements.cpp.
489{
490}
SVFStmt(GEdgeFlag k)
Private constructor for reading SVFIR from file without side-effect.
◆ classof() [1/3]
◆ classof() [2/3]
| bool SVF::UnaryOPStmt::classof |
( |
const SVFStmt * | edge | ) |
|
|
inlinestatic |
◆ classof() [3/3]
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 1213 of file SVFStatements.h.
1214 {
1215 return true;
1216 }
◆ getDstID()
| NodeID SVF::UnaryOPStmt::getDstID |
( |
| ) |
|
|
private |
◆ getDstNode()
| SVFVar * SVF::UnaryOPStmt::getDstNode |
( |
| ) |
|
|
private |
◆ getOpcode()
| u32_t SVF::UnaryOPStmt::getOpcode |
( |
| ) |
const |
|
inline |
◆ getOpVar()
| const ValVar * UnaryOPStmt::getOpVar |
( |
| ) |
const |
Definition at line 448 of file SVFStatements.cpp.
449{
451}
NodeType * getSrcNode() const
std::enable_if_t<!is_simple_type< Y >::value, typename cast_retty< X, const Y >::ret_type > cast(const Y &Val)
◆ getOpVarID()
| NodeID UnaryOPStmt::getOpVarID |
( |
| ) |
const |
Definition at line 439 of file SVFStatements.cpp.
440{
442}
NodeID getId() const
Get ID.
const ValVar * getOpVar() const
◆ getRes()
| const ValVar * UnaryOPStmt::getRes |
( |
| ) |
const |
◆ getResID()
| NodeID UnaryOPStmt::getResID |
( |
| ) |
const |
◆ getSrcID()
| NodeID SVF::UnaryOPStmt::getSrcID |
( |
| ) |
|
|
private |
place holder, use getOpVarID(pos) instead
◆ getSrcNode()
| SVFVar * SVF::UnaryOPStmt::getSrcNode |
( |
| ) |
|
|
private |
◆ operator=()
| void SVF::UnaryOPStmt::operator= |
( |
const UnaryOPStmt & | | ) |
|
|
private |
◆ toString()
| const std::string UnaryOPStmt::toString |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from SVF::SVFStmt.
Definition at line 168 of file SVFStatements.cpp.
169{
170 std::string str;
171 std::stringstream rawstr(str);
174 {
175 rawstr << "\n";
177 }
178 return rawstr.str();
179}
static const Option< bool > ShowSVFIRValue
const SVFVar * getValue() const
virtual const std::string toString() const
Get string representation.
NodeID getOpVarID() const
◆ GraphDBClient
| friend class GraphDBClient |
|
friend |
◆ opcode
| u32_t SVF::UnaryOPStmt::opcode |
|
private |
The documentation for this class was generated from the following files: