clang
6.0.0
|
Phi Node, for code in SSA form. More...
#include "clang/Analysis/Analyses/ThreadSafetyTIL.h"
Public Types | |
enum | Status { PH_MultiVal = 0, PH_SingleVal, PH_Incomplete } |
typedef SimpleArray< SExpr * > | ValArray |
Public Member Functions | |
Phi () | |
Phi (MemRegionRef A, unsigned Nvals) | |
Phi (const Phi &P, ValArray &&Vs) | |
const ValArray & | values () const |
ValArray & | values () |
Status | status () const |
void | setStatus (Status s) |
const clang::ValueDecl * | clangDecl () const |
Return the clang declaration of the variable for this Phi node, if any. More... | |
void | setClangDecl (const clang::ValueDecl *Cvd) |
Set the clang variable associated with this Phi node. More... | |
template<class V > | |
V::R_SExpr | traverse (V &Vs, typename V::R_Ctx Ctx) |
template<class C > | |
C::CType | compare (const Phi *E, C &Cmp) const |
![]() | |
TIL_Opcode | opcode () const |
void * | operator new (size_t S, MemRegionRef &R) |
void | operator delete (void *)=delete |
SExpr objects cannot be deleted. More... | |
unsigned | id () const |
Returns the instruction ID for this expression. More... | |
BasicBlock * | block () const |
Returns the block, if this is an instruction in a basic block, otherwise returns null. More... | |
void | setID (BasicBlock *B, unsigned id) |
Set the basic block and instruction ID for this expression. More... | |
Static Public Member Functions | |
static bool | classof (const SExpr *E) |
Additional Inherited Members | |
![]() | |
SExpr (TIL_Opcode Op) | |
SExpr (const SExpr &E) | |
![]() | |
const unsigned char | Opcode |
unsigned char | Reserved |
unsigned short | Flags |
unsigned | SExprID |
BasicBlock * | Block |
Phi Node, for code in SSA form.
Each Phi node has an array of possible values that it can take, depending on where control flow comes from.
Definition at line 1298 of file ThreadSafetyTIL.h.
Definition at line 1300 of file ThreadSafetyTIL.h.
Enumerator | |
---|---|
PH_MultiVal | |
PH_SingleVal | |
PH_Incomplete |
Definition at line 1305 of file ThreadSafetyTIL.h.
|
inline |
Definition at line 1313 of file ThreadSafetyTIL.h.
|
inline |
Definition at line 1315 of file ThreadSafetyTIL.h.
Definition at line 1317 of file ThreadSafetyTIL.h.
|
inline |
Return the clang declaration of the variable for this Phi node, if any.
Definition at line 1327 of file ThreadSafetyTIL.h.
Definition at line 1311 of file ThreadSafetyTIL.h.
|
inline |
Definition at line 1344 of file ThreadSafetyTIL.h.
|
inline |
Set the clang variable associated with this Phi node.
Definition at line 1330 of file ThreadSafetyTIL.h.
|
inline |
Definition at line 1324 of file ThreadSafetyTIL.h.
Referenced by clang::threadSafety::til::simplifyIncompleteArg().
|
inline |
Definition at line 1323 of file ThreadSafetyTIL.h.
Referenced by clang::threadSafety::til::simplifyIncompleteArg().
|
inline |
Definition at line 1333 of file ThreadSafetyTIL.h.
|
inline |
Definition at line 1320 of file ThreadSafetyTIL.h.
Referenced by clang::threadSafety::til::simplifyIncompleteArg().
|
inline |
Definition at line 1321 of file ThreadSafetyTIL.h.