Raw optimization profile for a function, including CFG and layout data.
Declared in <llvm/CodeGen/BasicBlockSectionsProfileReader.h>
struct FunctionOptimizationProfile;
Holds CFG data (block and edge counts) and layout directives such as clustering and cloning paths.
| Name | Description |
|---|---|
BBHashes | Hash for each original basic block, keyed by base BB ID. |
CFG | CFG profile data (block and edge frequencies). |
ClonePaths | Paths to clone within the function. |
ClusterInfo | Basic block cluster information specified by unique BB IDs. |
EdgeCounts | Edge counts for each edge. |
NodeCounts | Node counts for each basic block. |
PrefetchHints | Code prefetch hints for injection sites. |
PrefetchTargets | Code prefetch targets identified by callsite ID. |