Home
last modified time | relevance | path

Searched refs:IndVar (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoopInfo.cpp184 static Value *findFinalIVValue(const Loop &L, const PHINode &IndVar, in findFinalIVValue() argument
192 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue()
195 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue()
202 PHINode &IndVar, in getBounds() argument
205 if (!InductionDescriptor::isInductionPHI(&IndVar, &L, &SE, IndDesc)) in getBounds()
222 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst); in getBounds()
288 if (PHINode *IndVar = getInductionVariable(SE)) in getBounds() local
289 return LoopBounds::getBounds(*this, *IndVar, SE); in getBounds()
307 for (PHINode &IndVar : Header->phis()) { in getInductionVariable()
309 if (!InductionDescriptor::isInductionPHI(&IndVar, this, &SE, IndDesc)) in getInductionVariable()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp168 PHINode *IndVar, SCEVExpander &Rewriter);
973 static Value *genLoopLimit(PHINode *IndVar, BasicBlock *ExitingBB, in genLoopLimit() argument
976 assert(isLoopCounter(IndVar, L, SE)); in genLoopLimit()
977 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in genLoopLimit()
984 if (IndVar->getType()->isPointerTy() && in genLoopLimit()
1003 assert(SE->getSizeOfExpr(IntegerType::getInt64Ty(IndVar->getContext()), in genLoopLimit()
1004 cast<PointerType>(IndVar->getType()) in genLoopLimit()
1010 return Rewriter.expandCodeFor(IVLimit, IndVar->getType(), BI); in genLoopLimit()
1052 IndVar->getType() : ExitCount->getType(); in genLoopLimit()
1066 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace() argument
[all …]
H A DInductiveRangeCheckElimination.cpp217 const SCEVAddRecExpr *IndVar,
1583 ScalarEvolution &SE, const SCEVAddRecExpr *IndVar, in computeSafeIterationSpace() argument
1587 auto *IVType = cast<IntegerType>(IndVar->getType()); in computeSafeIterationSpace()
1611 if (!IndVar->isAffine()) in computeSafeIterationSpace()
1614 const SCEV *A = NoopOrExtend(IndVar->getStart(), RCType, SE, IsLatchSigned); in computeSafeIterationSpace()
1616 NoopOrExtend(IndVar->getStepRecurrence(SE), RCType, SE, IsLatchSigned)); in computeSafeIterationSpace()
1679 const Loop *L = IndVar->getLoop(); in computeSafeIterationSpace()
1931 const SCEVAddRecExpr *IndVar = in run() local
1947 auto Result = IRC.computeSafeIterationSpace(SE, IndVar, in run()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp925 auto LoopBodyGenCB = [&](InsertPointTy CodeGenIP, Value *IndVar) { in createSections() argument
932 SwitchInst *SwitchStmt = Builder.CreateSwitch(IndVar, ForIncBB); in createSections()
1228 Value *IndVar = Builder.CreateAdd(Span, Start); in createCanonicalLoop() local
1229 BodyGenCB(Builder.saveIP(), IndVar); in createCanonicalLoop()
2682 Instruction *IndVar = getIndVar(); in assertOK() local
2683 assert(IndVar && "Canonical induction variable not found?"); in assertOK()
2684 assert(isa<IntegerType>(IndVar->getType()) && in assertOK()
2686 assert(cast<PHINode>(IndVar)->getParent() == Header && in assertOK()
2688 assert(cast<PHINode>(IndVar)->getIncomingBlock(0) == Preheader); in assertOK()
2690 cast<ConstantInt>(cast<PHINode>(IndVar)->getIncomingValue(0))->isZero()); in assertOK()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/
H A DCODE_OWNERS.TXT67 D: IndVar Simplify, Scalar Evolution
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h124 function_ref<void(InsertPointTy CodeGenIP, Value *IndVar)>;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DLoopInfo.h643 static Optional<Loop::LoopBounds> getBounds(const Loop &L, PHINode &IndVar,
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h757 MachineInstr *IndVar, MachineInstr &Cmp, in reduceLoopCount() argument
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2005 llvm::Value *IndVar) { in EmitOMPCanonicalLoop() argument
2014 {LoopVarAddress.getPointer(), IndVar}); in EmitOMPCanonicalLoop()