clang API Documentation
#include <CodeGenFunction.h>
Public Member Functions | |
JumpDest () | |
JumpDest (llvm::BasicBlock *Block, EHScopeStack::stable_iterator Depth, unsigned Index) | |
bool | isValid () const |
llvm::BasicBlock * | getBlock () const |
EHScopeStack::stable_iterator | getScopeDepth () const |
unsigned | getDestIndex () const |
void | setScopeDepth (EHScopeStack::stable_iterator depth) |
A jump destination is an abstract label, branching to which may require a jump out through normal cleanups.
Definition at line 119 of file CodeGenFunction.h.
clang::CodeGen::CodeGenFunction::JumpDest::JumpDest | ( | ) | [inline] |
Definition at line 120 of file CodeGenFunction.h.
clang::CodeGen::CodeGenFunction::JumpDest::JumpDest | ( | llvm::BasicBlock * | Block, |
EHScopeStack::stable_iterator | Depth, | ||
unsigned | Index | ||
) | [inline] |
Definition at line 121 of file CodeGenFunction.h.
llvm::BasicBlock* clang::CodeGen::CodeGenFunction::JumpDest::getBlock | ( | ) | const [inline] |
Definition at line 127 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitBranchThroughCleanup(), clang::CodeGen::CodeGenFunction::EmitCaseStmt(), clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), clang::CodeGen::CodeGenFunction::EmitDoStmt(), clang::CodeGen::CodeGenFunction::EmitForStmt(), clang::CodeGen::CodeGenFunction::EmitLabel(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), clang::CodeGen::CodeGenFunction::EmitReturnBlock(), clang::CodeGen::CodeGenFunction::EmitSwitchStmt(), clang::CodeGen::CGObjCRuntime::EmitTryCatchStmt(), clang::CodeGen::CodeGenFunction::EmitWhileStmt(), clang::CodeGen::CodeGenFunction::FinishFunction(), and clang::CodeGen::CodeGenFunction::GetAddrOfLabel().
unsigned clang::CodeGen::CodeGenFunction::JumpDest::getDestIndex | ( | ) | const [inline] |
Definition at line 129 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitBranchThroughCleanup().
EHScopeStack::stable_iterator clang::CodeGen::CodeGenFunction::JumpDest::getScopeDepth | ( | ) | const [inline] |
Definition at line 128 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitBranchThroughCleanup(), clang::CodeGen::CodeGenFunction::EmitLabel(), and clang::CodeGen::CodeGenFunction::isObviouslyBranchWithoutCleanups().
bool clang::CodeGen::CodeGenFunction::JumpDest::isValid | ( | ) | const [inline] |
Definition at line 126 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitLabel(), clang::CodeGen::CGObjCRuntime::EmitTryCatchStmt(), and clang::CodeGen::CodeGenFunction::getJumpDestForLabel().
void clang::CodeGen::CodeGenFunction::JumpDest::setScopeDepth | ( | EHScopeStack::stable_iterator | depth | ) | [inline] |
Definition at line 132 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitLabel().