Searched refs:IncV (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 818 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, in isNormalAddRecExprPHI() argument 820 if (IncV->getNumOperands() == 0 || isa<PHINode>(IncV) || in isNormalAddRecExprPHI() 821 (isa<CastInst>(IncV) && !isa<BitCastInst>(IncV))) in isNormalAddRecExprPHI() 827 for (User::op_iterator OI = IncV->op_begin()+1, in isNormalAddRecExprPHI() 828 OE = IncV->op_end(); OI != OE; ++OI) in isNormalAddRecExprPHI() 834 IncV = dyn_cast<Instruction>(IncV->getOperand(0)); in isNormalAddRecExprPHI() 835 if (!IncV) in isNormalAddRecExprPHI() 838 if (IncV->mayHaveSideEffects()) in isNormalAddRecExprPHI() 841 if (IncV != PN) in isNormalAddRecExprPHI() 844 return isNormalAddRecExprPHI(PN, IncV, L); in isNormalAddRecExprPHI() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpander.h | 132 Instruction *getIVIncOperand(Instruction *IncV, Instruction *InsertPos, 136 bool hoistIVInc(Instruction *IncV, Instruction *InsertPos); 264 bool isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L); 266 bool isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L);
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1312 static PHINode *getLoopPhiForCounter(Value *IncV, Loop *L, DominatorTree *DT) { in getLoopPhiForCounter() argument 1313 Instruction *IncI = dyn_cast<Instruction>(IncV); in getLoopPhiForCounter() 1397 Value *IncV = Phi->getIncomingValue(Idx); in needsLFTR() local 1398 return Phi != getLoopPhiForCounter(IncV, L, DT); in needsLFTR() 1447 Value *IncV = Phi->getIncomingValue(LatchIdx); in AlmostDeadIV() local 1450 if (U != Cond && U != IncV) return false; in AlmostDeadIV() 1452 for (User *U : IncV->users()) in AlmostDeadIV() 1509 Value *IncV = Phi->getIncomingValue(LatchIdx); in FindLoopCounter() local 1510 if (getLoopPhiForCounter(IncV, L, DT) != Phi) in FindLoopCounter()
|
D | LoopStrengthReduce.cpp | 2814 Instruction *IncV = in CollectChains() local 2816 if (IncV) in CollectChains() 2817 ChainInstruction(PN, IncV, ChainUsersVec); in CollectChains() 2927 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain() local 2929 SE.getUnknown(IncV)); in GenerateIVChain()
|