|
clang
5.0.0
|
An if-then-else expression. More...
#include "clang/Analysis/Analyses/ThreadSafetyTIL.h"
Public Member Functions | |
| IfThenElse (SExpr *C, SExpr *T, SExpr *E) | |
| IfThenElse (const IfThenElse &I, SExpr *C, SExpr *T, SExpr *E) | |
| SExpr * | condition () |
| const SExpr * | condition () const |
| SExpr * | thenExpr () |
| const SExpr * | thenExpr () const |
| SExpr * | elseExpr () |
| const SExpr * | elseExpr () const |
| template<class V > | |
| V::R_SExpr | traverse (V &Vs, typename V::R_Ctx Ctx) |
| template<class C > | |
| C::CType | compare (const IfThenElse *E, C &Cmp) const |
Public Member Functions inherited from clang::threadSafety::til::SExpr | |
| 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 | |
Protected Member Functions inherited from clang::threadSafety::til::SExpr | |
| SExpr (TIL_Opcode Op) | |
| SExpr (const SExpr &E) | |
Protected Attributes inherited from clang::threadSafety::til::SExpr | |
| const unsigned char | Opcode |
| unsigned char | Reserved |
| unsigned short | Flags |
| unsigned | SExprID |
| BasicBlock * | Block |
An if-then-else expression.
This is a pseduo-term; it will be lowered to a branch in a CFG.
Definition at line 1814 of file ThreadSafetyTIL.h.
Definition at line 1818 of file ThreadSafetyTIL.h.
|
inline |
Definition at line 1821 of file ThreadSafetyTIL.h.
Definition at line 1816 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::opcode().
|
inline |
Definition at line 1843 of file ThreadSafetyTIL.h.
References condition(), elseExpr(), and thenExpr().
|
inline |
Definition at line 1825 of file ThreadSafetyTIL.h.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printIfThenElse().
|
inline |
Definition at line 1826 of file ThreadSafetyTIL.h.
|
inline |
Definition at line 1831 of file ThreadSafetyTIL.h.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printIfThenElse().
|
inline |
Definition at line 1832 of file ThreadSafetyTIL.h.
|
inline |
Definition at line 1828 of file ThreadSafetyTIL.h.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printIfThenElse().
|
inline |
Definition at line 1829 of file ThreadSafetyTIL.h.
|
inline |
Definition at line 1835 of file ThreadSafetyTIL.h.
1.8.6