| /netbsd-src/external/apache2/llvm/dist/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() 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 D | IndVarSimplify.cpp | 168 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 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 925 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 D | CODE_OWNERS.TXT | 67 D: IndVar Simplify, Scalar Evolution
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 124 function_ref<void(InsertPointTy CodeGenIP, Value *IndVar)>;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | LoopInfo.h | 643 static Optional<Loop::LoopBounds> getBounds(const Loop &L, PHINode &IndVar,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | TargetInstrInfo.h | 757 MachineInstr *IndVar, MachineInstr &Cmp, in reduceLoopCount() argument
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 2005 llvm::Value *IndVar) { in EmitOMPCanonicalLoop() argument 2014 {LoopVarAddress.getPointer(), IndVar}); in EmitOMPCanonicalLoop()
|