LLVM: lib/CodeGen/EarlyIfConversion.cpp File Reference (original) (raw)
Go to the source code of this file.
| Functions |
|
|
STATISTIC (NumDiamondsSeen, "Number of diamonds") |
|
STATISTIC (NumDiamondsConv, "Number of diamonds converted") |
|
STATISTIC (NumTrianglesSeen, "Number of triangles") |
|
STATISTIC (NumTrianglesConv, "Number of triangles converted") |
| static bool |
hasSameValue (const MachineRegisterInfo &MRI, const TargetInstrInfo *TII, Register TReg, Register FReg) |
|
INITIALIZE_PASS_BEGIN (EarlyIfConverterLegacy, DEBUG_TYPE, "Early If Converter", false, false) INITIALIZE_PASS_END(EarlyIfConverterLegacy |
| static unsigned |
adjCycles (unsigned Cyc, int Delta) |
|
INITIALIZE_PASS_BEGIN (EarlyIfPredicator, DEBUG_TYPE, "Early If Predicator", false, false) INITIALIZE_PASS_END(EarlyIfPredicator |
◆ DEBUG_TYPE [1/2]
#define DEBUG_TYPE "early-ifcvt"
◆ DEBUG_TYPE [2/2]
#define DEBUG_TYPE "early-if-predicator"
◆ adjCycles()
◆ hasSameValue()
◆ INITIALIZE_PASS_BEGIN() [1/2]
| INITIALIZE_PASS_BEGIN |
( |
EarlyIfConverterLegacy |
, |
| DEBUG_TYPE |
, |
|
|
| "Early If Converter" |
, |
|
|
| false |
, |
|
|
| false |
) |
|
|
◆ INITIALIZE_PASS_BEGIN() [2/2]
| INITIALIZE_PASS_BEGIN |
( |
EarlyIfPredicator |
, |
| DEBUG_TYPE |
, |
|
|
| "Early If Predicator" |
, |
|
|
| false |
, |
|
|
| false |
) |
|
|
◆ STATISTIC() [1/4]
| STATISTIC |
( |
NumDiamondsConv |
, |
| "Number of diamonds converted" |
) |
|
|
◆ STATISTIC() [2/4]
| STATISTIC |
( |
NumDiamondsSeen |
, |
| "Number of diamonds" |
) |
|
|
◆ STATISTIC() [3/4]
| STATISTIC |
( |
NumTrianglesConv |
, |
| "Number of triangles converted" |
) |
|
|
◆ STATISTIC() [4/4]
| STATISTIC |
( |
NumTrianglesSeen |
, |
| "Number of triangles" |
) |
|
|
◆ BlockInstrLimit
◆ Converter
◆ DEBUG_TYPE
◆ false
◆ Predicator
◆ Stress
| cl::opt< bool > Stress("stress-early-ifcvt", cl::Hidden, cl::desc("Turn all knobs to 11")) ( "stress-early-ifcvt" , cl::Hidden , cl::desc("Turn all knobs to 11") ) |
static |