15 #ifndef LLVM_TRANSFORMS_UTILS_CODEEXTRACTOR_H 16 #define LLVM_TRANSFORMS_UTILS_CODEEXTRACTOR_H 27 class BlockFrequencyInfo;
28 class BranchProbabilityInfo;
55 const bool AggregateArgs;
81 bool AllowVarArgs =
false,
bool AllowAlloca =
false);
143 void splitReturnBlocks();
151 void moveCodeToFunction(
Function *newFunction);
153 void calculateNewCallTerminatorWeights(
158 void emitCallAndSwitchStatement(
Function *newFunction,
166 #endif // LLVM_TRANSFORMS_UTILS_CODEEXTRACTOR_H
GCNRegPressure max(const GCNRegPressure &P1, const GCNRegPressure &P2)
Compute iterated dominance frontiers using a linear time algorithm.
A Module instance is used to store all the information related to an LLVM module. ...
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...
Analysis providing branch probability information.
Represents a single loop in the control flow graph.
bool empty() const
Determine if the SetVector is empty or not.
A vector that has set insertion semantics.