LLVM: include/llvm/Transforms/Utils/EscapeEnumerator.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef LLVM_TRANSFORMS_UTILS_ESCAPEENUMERATOR_H
15#define LLVM_TRANSFORMS_UTILS_ESCAPEENUMERATOR_H
16
19
20namespace llvm {
21
23
24
25
26
27
28
31 const char *CleanupBBName;
32
35 bool Done = false;
36 bool HandleExceptions;
37
39
40public:
42 bool HandleExceptions = true, DomTreeUpdater *DTU = nullptr)
43 : F(F), CleanupBBName(N), StateBB(F.begin()), StateE(F.end()),
44 Builder(F.getContext()), HandleExceptions(HandleExceptions), DTU(DTU) {}
45
47};
48
49}
50
51#endif
EscapeEnumerator(Function &F, const char *N="cleanup", bool HandleExceptions=true, DomTreeUpdater *DTU=nullptr)
Definition EscapeEnumerator.h:41
BasicBlockListType::iterator iterator
This provides a uniform API for creating instructions and inserting them into a basic block: either a...
This is an optimization pass for GlobalISel generic memory operations.