Searched refs:IncI (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1313 Instruction *IncI = dyn_cast<Instruction>(IncV); in getLoopPhiForCounter() local 1314 if (!IncI) in getLoopPhiForCounter() 1317 switch (IncI->getOpcode()) { in getLoopPhiForCounter() 1323 if (IncI->getNumOperands() == 2) in getLoopPhiForCounter() 1329 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter() 1331 if (isLoopInvariant(IncI->getOperand(1), L, DT)) in getLoopPhiForCounter() 1335 if (IncI->getOpcode() == Instruction::GetElementPtr) in getLoopPhiForCounter() 1339 Phi = dyn_cast<PHINode>(IncI->getOperand(1)); in getLoopPhiForCounter() 1341 if (isLoopInvariant(IncI->getOperand(0), L, DT)) in getLoopPhiForCounter()
|
D | LoopStrengthReduce.cpp | 2907 for (IVChain::const_iterator IncI = Chain.begin(), in GenerateIVChain() local 2908 IncE = Chain.end(); IncI != IncE; ++IncI) { in GenerateIVChain() 2910 Instruction *InsertPt = IncI->UserInst; in GenerateIVChain() 2917 if (!IncI->IncExpr->isZero()) { in GenerateIVChain() 2920 const SCEV *IncExpr = SE.getNoopOrSignExtend(IncI->IncExpr, IntTy); in GenerateIVChain() 2933 if (!canFoldIVIncExpr(LeftOverExpr, IncI->UserInst, IncI->IVOperand, in GenerateIVChain() 2940 Type *OperTy = IncI->IVOperand->getType(); in GenerateIVChain() 2947 IncI->UserInst->replaceUsesOfWith(IncI->IVOperand, IVOper); in GenerateIVChain() 2948 DeadInsts.push_back(IncI->IVOperand); in GenerateIVChain()
|