Lines Matching refs:ModifiedDT
428 bool optimizeBlock(BasicBlock &BB, ModifyDT &ModifiedDT);
429 bool optimizeInst(Instruction *I, ModifyDT &ModifiedDT);
434 bool optimizeCallInst(CallInst *CI, ModifyDT &ModifiedDT);
446 bool dupRetToEnableTailCallOpts(BasicBlock *BB, ModifyDT &ModifiedDT);
467 bool splitBranchCondition(Function &F, ModifyDT &ModifiedDT);
473 bool optimizeCmp(CmpInst *Cmp, ModifyDT &ModifiedDT);
474 bool combineToUSubWithOverflow(CmpInst *Cmp, ModifyDT &ModifiedDT);
475 bool combineToUAddWithOverflow(CmpInst *Cmp, ModifyDT &ModifiedDT);
629 ModifyDT ModifiedDT = ModifyDT::NotModifyDT; in _run() local
631 EverMadeChange |= splitBranchCondition(F, ModifiedDT); in _run()
1664 ModifyDT &ModifiedDT) { in combineToUAddWithOverflow() argument
1693 ModifiedDT = ModifyDT::ModifyInstDT; in combineToUAddWithOverflow()
1698 ModifyDT &ModifiedDT) { in combineToUSubWithOverflow() argument
1756 ModifiedDT = ModifyDT::ModifyInstDT; in combineToUSubWithOverflow()
1977 bool CodeGenPrepare::optimizeCmp(CmpInst *Cmp, ModifyDT &ModifiedDT) { in optimizeCmp() argument
1981 if (combineToUAddWithOverflow(Cmp, ModifiedDT)) in optimizeCmp()
1984 if (combineToUSubWithOverflow(Cmp, ModifiedDT)) in optimizeCmp()
2294 const DataLayout *DL, ModifyDT &ModifiedDT, in despeculateCountZeros() argument
2369 ModifiedDT = ModifyDT::ModifyBBDT; in despeculateCountZeros()
2373 bool CodeGenPrepare::optimizeCallInst(CallInst *CI, ModifyDT &ModifiedDT) { in optimizeCallInst() argument
2517 return despeculateCountZeros(II, *LI, TLI, DL, ModifiedDT, FreshBBs, in optimizeCallInst()
2624 ModifyDT &ModifiedDT) { in dupRetToEnableTailCallOpts() argument
2749 ModifiedDT = ModifyDT::ModifyBBDT; in dupRetToEnableTailCallOpts()
8297 bool CodeGenPrepare::optimizeInst(Instruction *I, ModifyDT &ModifiedDT) { in optimizeInst() argument
8360 if (optimizeCmp(Cmp, ModifiedDT)) in optimizeInst()
8417 optimizeInst(NC, ModifiedDT); in optimizeInst()
8463 return optimizeCallInst(cast<CallInst>(I), ModifiedDT); in optimizeInst()
8501 bool CodeGenPrepare::optimizeBlock(BasicBlock &BB, ModifyDT &ModifiedDT) { in optimizeBlock() argument
8507 ModifiedDT = ModifyDT::NotModifyDT; in optimizeBlock()
8509 MadeChange |= optimizeInst(&*CurInstIterator++, ModifiedDT); in optimizeBlock()
8510 if (ModifiedDT != ModifyDT::NotModifyDT) { in optimizeBlock()
8523 } while (ModifiedDT == ModifyDT::ModifyInstDT); in optimizeBlock()
8535 MadeChange |= dupRetToEnableTailCallOpts(&BB, ModifiedDT); in optimizeBlock()
8745 bool CodeGenPrepare::splitBranchCondition(Function &F, ModifyDT &ModifiedDT) { in splitBranchCondition() argument
8915 ModifiedDT = ModifyDT::ModifyBBDT; in splitBranchCondition()