Home | History | Annotate | Download | only in Scalar

Lines Matching refs:CodeGenPrepare

1 //===- CodeGenPrepare.cpp - Prepare a function for code generation --------===//
16 #define DEBUG_TYPE "codegenprepare"
64 cl::desc("Disable branch optimizations in CodeGenPrepare"));
67 class CodeGenPrepare : public FunctionPass {
90 explicit CodeGenPrepare(const TargetLowering *tli = 0)
116 char CodeGenPrepare::ID = 0;
117 INITIALIZE_PASS(CodeGenPrepare, "codegenprepare",
121 return new CodeGenPrepare(TLI);
124 bool CodeGenPrepare::runOnFunction(Function &F) {
168 bool CodeGenPrepare::EliminateMostlyEmptyBlocks(Function &F) {
210 bool CodeGenPrepare::CanMergeBlocks(const BasicBlock *BB,
279 void CodeGenPrepare::EliminateMostlyEmptyBlock(BasicBlock *BB) {
507 bool CodeGenPrepare::OptimizeCallInst(CallInst *CI) {
610 bool CodeGenPrepare::DupRetToEnableTailCallOpts(ReturnInst *RI) {
726 bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
938 bool CodeGenPrepare::OptimizeInlineAsmInst(CallInst *CS) {
965 bool CodeGenPrepare::MoveExtToFormExtLoad(Instruction *I) {
1001 bool CodeGenPrepare::OptimizeExtUses(Instruction *I) {
1076 bool CodeGenPrepare::OptimizeInst(Instruction *I) {
1152 bool CodeGenPrepare::OptimizeBlock(BasicBlock &BB) {