Searched refs:IncV (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 674 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, in isNormalAddRecExprPHI() argument 676 if (IncV->getNumOperands() == 0 || isa<PHINode>(IncV) || in isNormalAddRecExprPHI() 677 (isa<CastInst>(IncV) && !isa<BitCastInst>(IncV))) in isNormalAddRecExprPHI() 683 for (Use &Op : llvm::drop_begin(IncV->operands())) in isNormalAddRecExprPHI() 689 IncV = dyn_cast<Instruction>(IncV->getOperand(0)); in isNormalAddRecExprPHI() 690 if (!IncV) in isNormalAddRecExprPHI() 693 if (IncV->mayHaveSideEffects()) in isNormalAddRecExprPHI() 696 if (IncV == PN) in isNormalAddRecExprPHI() 699 return isNormalAddRecExprPHI(PN, IncV, L); in isNormalAddRecExprPHI() 711 Instruction *SCEVExpander::getIVIncOperand(Instruction *IncV, in getIVIncOperand() argument [all …]
|
H A D | LoopUtils.cpp | 472 Value *IncV = PN->getIncomingValue(LatchIdx); in isAlmostDeadIV() local 475 if (U != Cond && U != IncV) return false; in isAlmostDeadIV() 477 for (User *U : IncV->users()) in isAlmostDeadIV()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.h | 267 Instruction *getIVIncOperand(Instruction *IncV, Instruction *InsertPos, 276 bool hoistIVInc(Instruction *IncV, Instruction *InsertPos, 514 bool isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L); 516 bool isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | IndVarSimplify.cpp | 664 static PHINode *getLoopPhiForCounter(Value *IncV, Loop *L) { in getLoopPhiForCounter() argument 665 Instruction *IncI = dyn_cast<Instruction>(IncV); in getLoopPhiForCounter() 758 Value *IncV = Phi->getIncomingValue(Idx); in needsLFTR() local 759 return Phi != getLoopPhiForCounter(IncV, L); in needsLFTR() 824 Value *IncV = Phi->getIncomingValue(LatchIdx); in isLoopCounter() local 825 return (getLoopPhiForCounter(IncV, L) == Phi && in isLoopCounter() 826 isa<SCEVAddRecExpr>(SE->getSCEV(IncV))); in isLoopCounter()
|
H A D | LoopStrengthReduce.cpp | 3324 Instruction *IncV = in CollectChains() local 3326 if (IncV) in CollectChains() 3327 ChainInstruction(&PN, IncV, ChainUsersVec); in CollectChains() 3457 Value *IncV = Rewriter.expandCodeFor(Remainder, IntTy, InsertPt); in GenerateIVChain() local 3459 SE.getAddExpr(SE.getUnknown(MapIVOper), SE.getUnknown(IncV)); in GenerateIVChain() 3472 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain() local 3474 SE.getUnknown(IncV)); in GenerateIVChain()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 658 Value *IncV = nullptr; in getCountIV() local 660 IncV = BO->getOperand(1); in getCountIV() 662 IncV = BO->getOperand(0); in getCountIV() 663 if (IncV == nullptr) in getCountIV() 666 if (auto *T = dyn_cast<ConstantInt>(IncV)) in getCountIV()
|
H A D | HexagonISelDAGToDAG.cpp | 138 SDValue IncV = CurDAG->getTargetConstant(Inc, dl, MVT::i32); in INITIALIZE_PASS() local 169 IncV, Chain); in INITIALIZE_PASS() 184 Base, IncV); in INITIALIZE_PASS() 534 SDValue IncV = CurDAG->getTargetConstant(Inc, dl, MVT::i32); in SelectIndexedStore() local 543 SDValue Ops[] = { Base, IncV, Value, Chain }; in SelectIndexedStore() 556 Base, IncV); in SelectIndexedStore()
|