class EscapeEnumerator
Declaration
class EscapeEnumerator { /* full declaration omitted */ };
Description
EscapeEnumerator - This is a little algorithm to find all escape points from a function so that "finally"-style code can be inserted. In addition to finding the existing return and unwind instructions, it also (if necessary) transforms any call instructions into invokes and sends them to a landing pad.
Declared at: llvm/include/llvm/Transforms/Utils/EscapeEnumerator.h:27
Method Overview
- public EscapeEnumerator(llvm::Function & F, const char * N = "cleanup", bool HandleExceptions = true)
- public IRBuilder<> * Next()
Methods
¶EscapeEnumerator(llvm::Function& F,
const char* N = "cleanup",
bool HandleExceptions = true)
EscapeEnumerator(llvm::Function& F,
const char* N = "cleanup",
bool HandleExceptions = true)
Declared at: llvm/include/llvm/Transforms/Utils/EscapeEnumerator.h:37
Parameters
- llvm::Function& F
- const char* N = "cleanup"
- bool HandleExceptions = true
¶IRBuilder<>* Next()
IRBuilder<>* Next()
Declared at: llvm/include/llvm/Transforms/Utils/EscapeEnumerator.h:43