Searched refs:IndVar (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopInfo.cpp | 184 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() 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() 319 return &IndVar; in getInductionVariable() 325 if (&IndVar == LatchCmpOp0 || &IndVar == LatchCmpOp1) in getInductionVariable() 326 return &IndVar; in getInductionVariable() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | IndVarSimplify.cpp | 976 assert(isLoopCounter(IndVar, L, SE)); in genLoopLimit() 984 if (IndVar->getType()->isPointerTy() && in genLoopLimit() 1052 IndVar->getType() : ExitCount->getType(); in genLoopLimit() 1068 assert(isLoopCounter(IndVar, L, SE)); in linearFunctionTestReplace() 1073 Value *CmpIndVar = IndVar; in linearFunctionTestReplace() 1085 IndVar->getType()->isIntegerTy() || in linearFunctionTestReplace() 1117 IndVar->getType()->isPointerTy() && in linearFunctionTestReplace() 1160 ExitCnt = Builder.CreateZExt(ExitCnt, IndVar->getType(), in linearFunctionTestReplace() 1167 ExitCnt = Builder.CreateSExt(ExitCnt, IndVar->getType(), in linearFunctionTestReplace() 1837 if (!IndVar) in run() [all …]
|
| H A D | InductiveRangeCheckElimination.cpp | 217 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 1241 Value *IndVar = Builder.CreateAdd(Span, Start); in createCanonicalLoop() local 1242 BodyGenCB(Builder.saveIP(), IndVar); in createCanonicalLoop() 2806 Instruction *IndVar = getIndVar(); in assertOK() local 2807 assert(IndVar && "Canonical induction variable not found?"); in assertOK() 2808 assert(isa<IntegerType>(IndVar->getType()) && in assertOK() 2810 assert(cast<PHINode>(IndVar)->getParent() == Header && in assertOK() 2812 assert(cast<PHINode>(IndVar)->getIncomingBlock(0) == Preheader); in assertOK() 2815 assert(cast<PHINode>(IndVar)->getIncomingBlock(1) == Latch); in assertOK() 2817 auto *NextIndVar = cast<PHINode>(IndVar)->getIncomingValue(1); in assertOK() 2826 assert(IndVar->getType() == TripCount->getType() && in assertOK() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 124 function_ref<void(InsertPointTy CodeGenIP, Value *IndVar)>;
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LoopInfo.h | 646 static Optional<Loop::LoopBounds> getBounds(const Loop &L, PHINode &IndVar,
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetInstrInfo.h | 770 MachineInstr *IndVar, MachineInstr &Cmp, in reduceLoopCount() argument
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 2013 llvm::Value *IndVar) { in EmitOMPCanonicalLoop() argument 2022 {LoopVarAddress.getPointer(), IndVar}); in EmitOMPCanonicalLoop()
|