LLVM: lib/SandboxIR/PassManager.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
10
12
14 bool Change = false;
16 Change |= Pass->runOnFunction(F, A);
17
18 }
19
20 return Change;
24 bool Change = false;
26 Change |= Pass->runOnRegion(R, A);
28 }
30 return Change;
31}
32
33}
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
Function const char * Passes
Pass interface - Implemented by all 'passes'.
SmallVector< std::unique_ptr< FunctionPass > > Passes
The base class of a Sandbox IR Pass.
bool runOnRegion(Region &R, const Analyses &A) final
\Returns true if it modifies R.
Definition PassManager.cpp:23
The main job of the Region is to point to new instructions generated by vectorization passes.