#include <SVFStatements.h>
|
typedef std::vector< SVFVar * > | OPVars |
|
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 NodeTy | 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)
|
|
Definition at line 732 of file SVFStatements.h.
◆ OPVars
◆ MultiOpndStmt() [1/4]
SVF::MultiOpndStmt::MultiOpndStmt |
( |
| ) |
|
|
private |
◆ MultiOpndStmt() [2/4]
◆ MultiOpndStmt() [3/4]
Constructor, only used by subclasses but not external users.
Definition at line 345 of file SVFStatements.cpp.
347{
348}
llvm::IRBuilder IRBuilder
◆ MultiOpndStmt() [4/4]
SVF::MultiOpndStmt::MultiOpndStmt |
( |
GEdgeFlag |
k | ) |
|
|
inlineprotected |
Constructs empty MultiOpndStmt (for SVFIRReader/serialization)
Definition at line 754 of file SVFStatements.h.
SVFStmt(GEdgeFlag k)
Private constructor for reading SVFIR from file without side-effect.
◆ classof() [1/3]
Definition at line 768 of file SVFStatements.h.
769 {
770 return node->getEdgeKind() ==
Phi || node->getEdgeKind() ==
Select ||
771 node->getEdgeKind() ==
BinaryOp || node->getEdgeKind() ==
Cmp;
772 }
◆ classof() [2/3]
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 759 of file SVFStatements.h.
760 {
761 return true;
762 }
◆ classof() [3/3]
Definition at line 763 of file SVFStatements.h.
764 {
765 return node->getEdgeKind() ==
Phi || node->getEdgeKind() ==
Select ||
766 node->getEdgeKind() ==
BinaryOp || node->getEdgeKind() ==
Cmp;
767 }
◆ getDstID()
NodeID SVF::MultiOpndStmt::getDstID |
( |
| ) |
|
|
private |
◆ getDstNode()
SVFVar * SVF::MultiOpndStmt::getDstNode |
( |
| ) |
|
|
private |
◆ getOpndVars()
const OPVars & SVF::MultiOpndStmt::getOpndVars |
( |
| ) |
const |
|
inline |
◆ getOpVar()
Operand SVFVars.
Operands and result at a BinaryNode e.g., p = q + r, p
is resVar and r
is OpVar
Definition at line 778 of file SVFStatements.h.
◆ getOpVarID()
Definition at line 284 of file SVFStatements.cpp.
285{
287}
const SVFVar * getOpVar(u32_t pos) const
Operand SVFVars.
NodeID getId() const
Get ID.
◆ getOpVarNum()
u32_t SVF::MultiOpndStmt::getOpVarNum |
( |
| ) |
const |
|
inline |
◆ getRes()
◆ getResID()
NodeID MultiOpndStmt::getResID |
( |
| ) |
const |
Definition at line 289 of file SVFStatements.cpp.
290{
292}
const SVFVar * getRes() const
Result SVFVar.
◆ getSrcID()
NodeID SVF::MultiOpndStmt::getSrcID |
( |
| ) |
|
|
private |
not allowed, use getOpVarID(idx) instead
◆ getSrcNode()
SVFVar * SVF::MultiOpndStmt::getSrcNode |
( |
| ) |
|
|
private |
not allowed, use getOpVar(idx) instead
◆ operator=()
◆ opVarBegin()
OPVars::const_iterator SVF::MultiOpndStmt::opVarBegin |
( |
| ) |
const |
|
inline |
◆ opVerEnd()
OPVars::const_iterator SVF::MultiOpndStmt::opVerEnd |
( |
| ) |
const |
|
inline |
◆ SVFIRReader
◆ SVFIRWriter
◆ opVars
OPVars SVF::MultiOpndStmt::opVars |
|
protected |
The documentation for this class was generated from the following files: