|
Defines |
#define | PRINT_PEEPHOLE(ID, NUM, I) DEBUG(std::cerr << "Inst P/H " << ID << "[" << NUM << "] " << I) |
#define | PRINT_PEEPHOLE1(ID, I1) do { PRINT_PEEPHOLE(ID, 0, I1); } while (0) |
#define | PRINT_PEEPHOLE2(ID, I1, I2) do { PRINT_PEEPHOLE(ID, 0, I1); PRINT_PEEPHOLE(ID, 1, I2); } while (0) |
#define | PRINT_PEEPHOLE3(ID, I1, I2, I3) |
#define | PRINT_PEEPHOLE4(ID, I1, I2, I3, I4) |
Functions |
FunctionPass * | llvm::createRaisePointerReferencesPass () |
static bool | isReinterpretingCast (const CastInst *CI) |
static bool | HandleCastToPointer (BasicBlock::iterator BI, const PointerType *DestPTy, const TargetData &TD) |
static bool | PeepholeOptimizeAddCast (BasicBlock *BB, BasicBlock::iterator &BI, Value *AddOp1, CastInst *AddOp2, const TargetData &TD) |
Variables |
static cl::opt< std::string > | StartInst ("raise-start-inst", cl::Hidden, cl::value_desc("inst name"), cl::desc("Start raise pass at the instruction with the specified name")) |
static Statistic | NumLoadStorePeepholes ("raise","Number of load/store peepholes") |
static Statistic | NumGEPInstFormed ("raise","Number of other getelementptr's formed") |
static Statistic | NumExprTreesConv ("raise","Number of expression trees converted") |
static Statistic | NumCastOfCast ("raise","Number of cast-of-self removed") |
static Statistic | NumDCEorCP ("raise","Number of insts DCEd or constprop'd") |
static Statistic | NumVarargCallChanges ("raise","Number of vararg call peepholes") |