14 #ifndef LLVM_TRANSFORMS_UTILS_CODEEXTRACTOR_H 15 #define LLVM_TRANSFORMS_UTILS_CODEEXTRACTOR_H 28 class BlockFrequencyInfo;
29 class BranchProbabilityInfo;
30 class AssumptionCache;
57 void findSideEffectInfoForBlock(
BasicBlock &BB);
90 const bool AggregateArgs;
123 bool AllowVarArgs =
false,
bool AllowAlloca =
false,
124 std::string Suffix =
"");
134 std::string Suffix =
"");
154 bool isEligible()
const;
198 struct LifetimeMarkerInfo {
199 bool SinkLifeStart =
false;
200 bool HoistLifeEnd =
false;
209 void severSplitPHINodesOfEntry(
BasicBlock *&Header);
211 void splitReturnBlocks();
219 void moveCodeToFunction(
Function *newFunction);
221 void calculateNewCallTerminatorWeights(
233 #endif // LLVM_TRANSFORMS_UTILS_CODEEXTRACTOR_H
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
Implements a dense probed hash-table based set.
This class represents a function call, abstracting a target machine's calling convention.
A cache of @llvm.assume calls within a function.
A templated base class for SmallPtrSet which provides the typesafe interface that is common across al...
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
Concrete subclass of DominatorTreeBase that is used to compute a normal dominator tree...
BlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate IR basic block frequen...
LLVM Basic Block Representation.
The instances of the Type class are immutable: once they are created, they are never changed...
Align max(MaybeAlign Lhs, Align Rhs)
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small...
Analysis providing branch probability information.
Represents a single loop in the control flow graph.
A vector that has set insertion semantics.
an instruction to allocate memory on the stack