LLVM API Documentation

Defines | Functions | Variables
EarlyIfConversion.cpp File Reference
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SparseSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/MachineTraceMetrics.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
Include dependency graph for EarlyIfConversion.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "early-ifcvt"

Functions

 STATISTIC (NumDiamondsSeen,"Number of diamonds")
 STATISTIC (NumDiamondsConv,"Number of diamonds converted")
 STATISTIC (NumTrianglesSeen,"Number of triangles")
 STATISTIC (NumTrianglesConv,"Number of triangles converted")
 INITIALIZE_PASS_BEGIN (EarlyIfConverter,"early-ifcvt","Early If Converter", false, false) INITIALIZE_PASS_END(EarlyIfConverter
static unsigned adjCycles (unsigned Cyc, int Delta)

Variables

static cl::opt< unsignedBlockInstrLimit ("early-ifcvt-limit", cl::init(30), cl::Hidden, cl::desc("Maximum number of instructions per speculated block."))
static cl::opt< boolStress ("stress-early-ifcvt", cl::Hidden, cl::desc("Turn all knobs to 11"))
early ifcvt
early Early If Converter
early Early If false

Define Documentation

#define DEBUG_TYPE   "early-ifcvt"

Definition at line 42 of file EarlyIfConversion.cpp.


Function Documentation

static unsigned adjCycles ( unsigned  Cyc,
int  Delta 
) [static]

Definition at line 667 of file EarlyIfConversion.cpp.

INITIALIZE_PASS_BEGIN ( EarlyIfConverter  ,
"early-ifcvt ,
"Early If Converter ,
false  ,
false   
)
STATISTIC ( NumDiamondsSeen  ,
"Number of diamonds"   
)
STATISTIC ( NumDiamondsConv  ,
"Number of diamonds converted"   
)
STATISTIC ( NumTrianglesSeen  ,
"Number of triangles"   
)
STATISTIC ( NumTrianglesConv  ,
"Number of triangles converted"   
)

Variable Documentation

cl::opt<unsigned> BlockInstrLimit("early-ifcvt-limit", cl::init(30), cl::Hidden, cl::desc("Maximum number of instructions per speculated block.")) [static]
early Early If Converter

Definition at line 616 of file EarlyIfConversion.cpp.

early Early If false

Definition at line 616 of file EarlyIfConversion.cpp.

early ifcvt

Definition at line 616 of file EarlyIfConversion.cpp.

cl::opt<bool> Stress("stress-early-ifcvt", cl::Hidden, cl::desc("Turn all knobs to 11")) [static]