Sample profile inference pass.
Declared in <llvm/Transforms/Utils/SampleProfileInference.h>
template<typename FT>
class SampleProfileInference;
| Name | Description |
|---|---|
BasicBlockT | Basic block type obtained by stripping the pointer from NodeRef. |
BlockEdgeMap | Map from each basic block to its successors in the CFG. |
BlockWeightMap | Map from basic blocks to their weights. |
Edge | Directed edge between two basic blocks. |
EdgeWeightMap | Map from edges to their weights. |
FunctionT | Function type provided as the class template argument. |
NodeRef | Graph node reference type for FT. |
| Name | Description |
|---|---|
SampleProfileInference [constructor] | Constructors |
apply | Apply the profile inference algorithm for a given function. |