enum class BlockExecWeight
Description
Set of dedicated "absolute" execution weights for a block. These weights are meaningful relative to each other and their derivatives only.
Declared at: llvm/lib/Analysis/BranchProbabilityInfo.cpp:197
Enumerators
| Name | Value | Comment |
|---|---|---|
| ZERO | 0 | Special weight used for cases with exact zero probability. |
| LOWEST_NON_ZERO | 1 | Minimal possible non zero weight. |
| UNREACHABLE | 0 | Weight to an 'unreachable' block. |
| NORETURN | 1 | Weight to a block containing non returning call. |
| UNWIND | 1 | Weight to 'unwind' block of an invoke instruction. |
| COLD | 65535 | Weight to a 'cold' block. Cold blocks are the ones containing calls marked with attribute 'cold'. |
| DEFAULT | 1048575 | Default weight is used in cases when there is no dedicated execution weight set. It is not propagated through the domination line either. |