Go to the source code of this file.
|
| STATISTIC (GuardsEliminated, "Number of eliminated guards") |
|
| STATISTIC (CondBranchEliminated, "Number of eliminated conditional branches") |
|
| STATISTIC (FreezeAdded, "Number of freeze instruction introduced") |
|
static bool | isSupportedGuardInstruction (const Instruction *Insn) |
|
static Instruction * | getFreezeInsertPt (Value *V, const DominatorTree &DT) |
|
| INITIALIZE_PASS_BEGIN (GuardWideningLegacyPass, "guard-widening", "Widen guards", false, false) INITIALIZE_PASS_END(GuardWideningLegacyPass |
|
guard Widen false | INITIALIZE_PASS_BEGIN (LoopGuardWideningLegacyPass, "loop-guard-widening", "Widen guards (within a single loop, as a loop pass)", false, false) INITIALIZE_PASS_END(LoopGuardWideningLegacyPass |
|
guard Widen false loop guard Widen | guards (within a single loop, as a loop pass)" |
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "guard-widening" |
◆ getFreezeInsertPt()
◆ guards()
guard Widen false loop guard Widen guards |
( |
within a single |
loop, |
|
|
as a loop |
pass |
|
) |
| |
◆ INITIALIZE_PASS_BEGIN() [1/2]
INITIALIZE_PASS_BEGIN |
( |
GuardWideningLegacyPass |
, |
|
|
"guard-widening" |
, |
|
|
"Widen guards" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
◆ INITIALIZE_PASS_BEGIN() [2/2]
guard Widen false INITIALIZE_PASS_BEGIN |
( |
LoopGuardWideningLegacyPass |
, |
|
|
"loop-guard-widening" |
, |
|
|
"Widen guards (within a single loop, as a loop pass)" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
◆ isSupportedGuardInstruction()
◆ STATISTIC() [1/3]
STATISTIC |
( |
CondBranchEliminated |
, |
|
|
"Number of eliminated conditional branches" |
|
|
) |
| |
◆ STATISTIC() [2/3]
STATISTIC |
( |
FreezeAdded |
, |
|
|
"Number of freeze instruction introduced" |
|
|
) |
| |
◆ STATISTIC() [3/3]
STATISTIC |
( |
GuardsEliminated |
, |
|
|
"Number of eliminated guards" |
|
|
) |
| |
◆ false
◆ guards
◆ WidenBranchGuards
◆ widening
guard Widen false loop guard widening |