LLVM: lib/Transforms/Vectorize/SandboxVectorizer/Passes/RegionsFromBBs.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
13
15
19
22
24 Regions.push_back(std::make_unique(F.getContext(), A.getTTI()));
25 auto &RgnPtr = Regions.back();
27 RgnPtr->add(&I);
28 }
29
30 for (auto &RgnPtr : Regions)
31 RPM.runOnRegion(*RgnPtr, A);
32 return false;
33}
34
35}
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
void push_back(const T &Elt)
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
StringRef - Represent a constant reference to a string, i.e.
FunctionPass(StringRef Name)
Name can't contain any spaces or start with '-'.
A sandboxir::User with operands, opcode and linked with previous/next instructions in an instruction ...
bool runOnFunction(Function &F, const Analyses &A) final
\Returns true if it modifies F.
Definition RegionsFromBBs.cpp:20
RegionsFromBBs(StringRef Pipeline)
Definition RegionsFromBBs.cpp:16
BasicBlock(llvm::BasicBlock *BB, Context &SBCtx)