Home
last modified time | relevance | path

Searched refs:RealIV (Results 1 – 1 of 1) sorted by relevance

/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp327 bool findScaleFromMul(Instruction *RealIV, uint64_t &Scale,
550 bool LoopReroll::findScaleFromMul(Instruction *RealIV, uint64_t &Scale, in findScaleFromMul() argument
559 if (RealIV->getNumUses() != 2) in findScaleFromMul()
561 const SCEVAddRecExpr *RealIVSCEV = cast<SCEVAddRecExpr>(SE->getSCEV(RealIV)); in findScaleFromMul()
562 Instruction *User1 = cast<Instruction>(*RealIV->use_begin()), in findScaleFromMul()
563 *User2 = cast<Instruction>(*llvm::next(RealIV->use_begin())); in findScaleFromMul()
794 Instruction *RealIV = IV; in reroll() local
795 if (Inc == 1 && !findScaleFromMul(RealIV, Scale, IV, LoopIncs)) in reroll()
808 *RealIV << "\n"); in reroll()
865 if (cast<Instruction>(J1) == RealIV) in reroll()
[all …]