clang API Documentation
#include <ThreadSafetyTIL.h>
Public Member Functions | |
Goto (BasicBlock *B, unsigned I) | |
Goto (const Goto &G, BasicBlock *B, unsigned I) | |
const BasicBlock * | targetBlock () const |
BasicBlock * | targetBlock () |
unsigned | index () const |
Returns the index into the. | |
ArrayRef< BasicBlock * > | successors () |
Return the list of basic blocks that this terminator can branch to. | |
template<class V > | |
V::R_SExpr | traverse (V &Vs, typename V::R_Ctx Ctx) |
template<class C > | |
C::CType | compare (const Goto *E, C &Cmp) const |
Static Public Member Functions | |
static bool | classof (const SExpr *E) |
Jump to another basic block. A goto instruction is essentially a tail-recursive call into another block. In addition to the block pointer, it specifies an index into the phi nodes of that block. The index can be used to retrieve the "arguments" of the call.
Definition at line 1382 of file ThreadSafetyTIL.h.
clang::threadSafety::til::Goto::Goto | ( | BasicBlock * | B, |
unsigned | I | ||
) | [inline] |
Definition at line 1386 of file ThreadSafetyTIL.h.
clang::threadSafety::til::Goto::Goto | ( | const Goto & | G, |
BasicBlock * | B, | ||
unsigned | I | ||
) | [inline] |
Definition at line 1388 of file ThreadSafetyTIL.h.
static bool clang::threadSafety::til::Goto::classof | ( | const SExpr * | E | ) | [inline, static] |
Reimplemented from clang::threadSafety::til::Terminator.
Definition at line 1384 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::opcode().
C::CType clang::threadSafety::til::Goto::compare | ( | const Goto * | E, |
C & | Cmp | ||
) | const [inline] |
Definition at line 1409 of file ThreadSafetyTIL.h.
unsigned clang::threadSafety::til::Goto::index | ( | ) | const [inline] |
Returns the index into the.
Definition at line 1395 of file ThreadSafetyTIL.h.
Referenced by clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printGoto().
ArrayRef<BasicBlock*> clang::threadSafety::til::Goto::successors | ( | ) | [inline] |
Return the list of basic blocks that this terminator can branch to.
Reimplemented from clang::threadSafety::til::Terminator.
Definition at line 1398 of file ThreadSafetyTIL.h.
const BasicBlock* clang::threadSafety::til::Goto::targetBlock | ( | ) | const [inline] |
Definition at line 1391 of file ThreadSafetyTIL.h.
Referenced by clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printGoto().
BasicBlock* clang::threadSafety::til::Goto::targetBlock | ( | ) | [inline] |
Definition at line 1392 of file ThreadSafetyTIL.h.
V::R_SExpr clang::threadSafety::til::Goto::traverse | ( | V & | Vs, |
typename V::R_Ctx | Ctx | ||
) | [inline] |
Definition at line 1403 of file ThreadSafetyTIL.h.