Searched refs:IncV (Results 1 – 6 of 6) sorted by relevance
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | ScalarEvolutionExpander.cpp | 930 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, in isNormalAddRecExprPHI() argument 932 if (IncV->getNumOperands() == 0 || isa<PHINode>(IncV) || in isNormalAddRecExprPHI() 933 (isa<CastInst>(IncV) && !isa<BitCastInst>(IncV))) in isNormalAddRecExprPHI() 939 for (Use &Op : llvm::drop_begin(IncV->operands())) in isNormalAddRecExprPHI() 945 IncV = dyn_cast<Instruction>(IncV->getOperand(0)); in isNormalAddRecExprPHI() 946 if (!IncV) in isNormalAddRecExprPHI() 949 if (IncV->mayHaveSideEffects()) in isNormalAddRecExprPHI() 952 if (IncV == PN) in isNormalAddRecExprPHI() 955 return isNormalAddRecExprPHI(PN, IncV, L); in isNormalAddRecExprPHI() 967 Instruction *SCEVExpander::getIVIncOperand(Instruction *IncV, in getIVIncOperand() argument [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| D | ScalarEvolutionExpander.h | 249 Instruction *getIVIncOperand(Instruction *IncV, Instruction *InsertPos, 258 bool hoistIVInc(Instruction *IncV, Instruction *InsertPos, 490 bool isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L); 492 bool isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L);
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| 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() 852 Value *IncV = Phi->getIncomingValue(LatchIdx); in AlmostDeadIV() local 855 if (U != Cond && U != IncV) return false; in AlmostDeadIV() 857 for (User *U : IncV->users()) in AlmostDeadIV() 882 Value *IncV = Phi->getIncomingValue(LatchIdx); in isLoopCounter() local 883 return (getLoopPhiForCounter(IncV, L) == Phi && in isLoopCounter() 884 isa<SCEVAddRecExpr>(SE->getSCEV(IncV))); in isLoopCounter()
|
| D | LoopStrengthReduce.cpp | 3138 Instruction *IncV = in CollectChains() local 3140 if (IncV) in CollectChains() 3141 ChainInstruction(&PN, IncV, ChainUsersVec); in CollectChains() 3248 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain() local 3250 SE.getUnknown(IncV)); in GenerateIVChain()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| D | HexagonISelDAGToDAG.cpp | 133 SDValue IncV = CurDAG->getTargetConstant(Inc, dl, MVT::i32); in INITIALIZE_PASS() local 164 IncV, Chain); in INITIALIZE_PASS() 179 Base, IncV); in INITIALIZE_PASS() 529 SDValue IncV = CurDAG->getTargetConstant(Inc, dl, MVT::i32); in SelectIndexedStore() local 538 SDValue Ops[] = { Base, IncV, Value, Chain }; in SelectIndexedStore() 551 Base, IncV); in SelectIndexedStore()
|
| 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()
|