Thresholds and options for the profile inference algorithm.
Synopsis
Declared in <llvm/Transforms/Utils/SampleProfileInference.h>
struct ProfiParams;
Description
Default values are tuned for several large‐scale applications, and can be modified via corresponding command‐line flags.
Data Members
Name |
Description |
The cost of decreasing a block's count by one. |
|
The cost of decreasing the entry block's count by one. |
|
The cost of increasing the entry block's count by one. |
|
The cost of increasing a block's count by one. |
|
The cost of increasing an unknown block's count by one. |
|
The cost of increasing a count of zero‐weight block by one. |
|
The cost of decreasing a jump's count by one. |
|
The cost of decreasing a fall‐through jump's count by one. |
|
The cost of increasing a fall‐through jump's count by one. |
|
The cost of increasing a jump's count by one. |
|
The cost of increasing an unknown fall‐through jump's count by one. |
|
The cost of increasing an unknown jump's count by one. |
|
The cost of taking an unlikely block/jump. |
|
Evenly distribute flow when there are multiple equally likely options. |
|
Join isolated components having positive flow. |
|
Evenly re‐distribute flow among unknown subgraphs. |
Non-Member Functions
Name |
Description |
Apply the profile inference algorithm to |
Created with MrDocs