Lines Matching refs:StraightLineStrengthReduce
125 class StraightLineStrengthReduce { class
127 StraightLineStrengthReduce(const DataLayout *DL, DominatorTree *DT, in StraightLineStrengthReduce() function in __anonacd047fe0111::StraightLineStrengthReduce
268 bool StraightLineStrengthReduce::isBasisFor(const Candidate &Basis, in isBasisFor()
297 bool StraightLineStrengthReduce::isFoldable(const Candidate &C, in isFoldable()
318 bool StraightLineStrengthReduce::isSimplestForm(const Candidate &C) { in isSimplestForm()
342 void StraightLineStrengthReduce::allocateCandidatesAndFindBasis( in allocateCandidatesAndFindBasis()
378 void StraightLineStrengthReduce::allocateCandidatesAndFindBasis( in allocateCandidatesAndFindBasis()
393 void StraightLineStrengthReduce::allocateCandidatesAndFindBasisForAdd( in allocateCandidatesAndFindBasisForAdd()
406 void StraightLineStrengthReduce::allocateCandidatesAndFindBasisForAdd( in allocateCandidatesAndFindBasisForAdd()
438 void StraightLineStrengthReduce::allocateCandidatesAndFindBasisForMul( in allocateCandidatesAndFindBasisForMul()
460 void StraightLineStrengthReduce::allocateCandidatesAndFindBasisForMul( in allocateCandidatesAndFindBasisForMul()
476 void StraightLineStrengthReduce::allocateCandidatesAndFindBasisForGEP( in allocateCandidatesAndFindBasisForGEP()
489 void StraightLineStrengthReduce::factorArrayIndex(Value *ArrayIdx, in factorArrayIndex()
524 void StraightLineStrengthReduce::allocateCandidatesAndFindBasisForGEP( in allocateCandidatesAndFindBasisForGEP()
577 Value *StraightLineStrengthReduce::emitBump(const Candidate &Basis, in emitBump()
613 void StraightLineStrengthReduce::rewriteCandidateWithBasis( in rewriteCandidateWithBasis()
680 return StraightLineStrengthReduce(DL, DT, SE, TTI).runOnFunction(F); in runOnFunction()
683 bool StraightLineStrengthReduce::runOnFunction(Function &F) { in runOnFunction()
723 if (!StraightLineStrengthReduce(DL, DT, SE, TTI).runOnFunction(F)) in run()