Searched refs:IncV (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 825 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, in isNormalAddRecExprPHI() argument 827 if (IncV->getNumOperands() == 0 || isa<PHINode>(IncV) || in isNormalAddRecExprPHI() 828 (isa<CastInst>(IncV) && !isa<BitCastInst>(IncV))) in isNormalAddRecExprPHI() 834 for (User::op_iterator OI = IncV->op_begin()+1, in isNormalAddRecExprPHI() 835 OE = IncV->op_end(); OI != OE; ++OI) in isNormalAddRecExprPHI() 841 IncV = dyn_cast<Instruction>(IncV->getOperand(0)); in isNormalAddRecExprPHI() 842 if (!IncV) in isNormalAddRecExprPHI() 845 if (IncV->mayHaveSideEffects()) in isNormalAddRecExprPHI() 848 if (IncV != PN) in isNormalAddRecExprPHI() 851 return isNormalAddRecExprPHI(PN, IncV, L); in isNormalAddRecExprPHI() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpander.h | 137 Instruction *getIVIncOperand(Instruction *IncV, Instruction *InsertPos, 141 bool hoistIVInc(Instruction *IncV, Instruction *InsertPos); 296 bool isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L); 298 bool isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L);
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1562 static PHINode *getLoopPhiForCounter(Value *IncV, Loop *L, DominatorTree *DT) { in getLoopPhiForCounter() argument 1563 Instruction *IncI = dyn_cast<Instruction>(IncV); in getLoopPhiForCounter() 1647 Value *IncV = Phi->getIncomingValue(Idx); in needsLFTR() local 1648 return Phi != getLoopPhiForCounter(IncV, L, DT); in needsLFTR() 1697 Value *IncV = Phi->getIncomingValue(LatchIdx); in AlmostDeadIV() local 1700 if (U != Cond && U != IncV) return false; in AlmostDeadIV() 1702 for (User *U : IncV->users()) in AlmostDeadIV() 1759 Value *IncV = Phi->getIncomingValue(LatchIdx); in FindLoopCounter() local 1760 if (getLoopPhiForCounter(IncV, L, DT) != Phi) in FindLoopCounter()
|
D | LoopStrengthReduce.cpp | 2793 Instruction *IncV = in CollectChains() local 2795 if (IncV) in CollectChains() 2796 ChainInstruction(PN, IncV, ChainUsersVec); in CollectChains() 2903 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain() local 2905 SE.getUnknown(IncV)); in GenerateIVChain()
|