Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DLoopInfo.cpp192 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue()
195 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue()
202 Loop::LoopBounds::getBounds(const Loop &L, PHINode &IndVar, in getBounds() argument
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()
313 Value *StepInst = IndVar.getIncomingValueForBlock(Latch); in getInductionVariable()
320 return &IndVar; in getInductionVariable()
326 if (&IndVar == LatchCmpOp0 || &IndVar == LatchCmpOp1) in getInductionVariable()
327 return &IndVar; in getInductionVariable()
[all …]
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp981 assert(isLoopCounter(IndVar, L, SE)); in genLoopLimit()
990 if (IndVar->getType()->isPointerTy() && in genLoopLimit()
1050 IndVar->getType() : ExitCount->getType(); in genLoopLimit()
1066 assert(isLoopCounter(IndVar, L, SE)); in linearFunctionTestReplace()
1071 Value *CmpIndVar = IndVar; in linearFunctionTestReplace()
1083 IndVar->getType()->isIntegerTy() || in linearFunctionTestReplace()
1115 IndVar->getType()->isPointerTy() && in linearFunctionTestReplace()
1158 ExitCnt = Builder.CreateZExt(ExitCnt, IndVar->getType(), in linearFunctionTestReplace()
1165 ExitCnt = Builder.CreateSExt(ExitCnt, IndVar->getType(), in linearFunctionTestReplace()
2124 if (!IndVar) in run()
[all …]
H A DInductiveRangeCheckElimination.cpp214 const SCEVAddRecExpr *IndVar,
1585 const SCEVAddRecExpr *IndVar, in computeSafeIterationSpace() argument
1589 auto *IVType = dyn_cast<IntegerType>(IndVar->getType()); in computeSafeIterationSpace()
1616 if (!IndVar->isAffine()) in computeSafeIterationSpace()
1619 const SCEV *A = NoopOrExtend(IndVar->getStart(), RCType, SE, IsLatchSigned); in computeSafeIterationSpace()
1621 NoopOrExtend(IndVar->getStepRecurrence(SE), RCType, SE, IsLatchSigned)); in computeSafeIterationSpace()
1684 const Loop *L = IndVar->getLoop(); in computeSafeIterationSpace()
1940 const SCEVAddRecExpr *IndVar = in run() local
1956 auto Result = IRC.computeSafeIterationSpace(SE, IndVar, in run()
/openbsd/gnu/llvm/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2094 Value *IndVar = Builder.CreateAdd(Span, Start); in createCanonicalLoop() local
2095 BodyGenCB(Builder.saveIP(), IndVar); in createCanonicalLoop()
5266 Instruction *IndVar = getIndVar(); in assertOK() local
5267 assert(IndVar && "Canonical induction variable not found?"); in assertOK()
5268 assert(isa<IntegerType>(IndVar->getType()) && in assertOK()
5270 assert(cast<PHINode>(IndVar)->getParent() == Header && in assertOK()
5272 assert(cast<PHINode>(IndVar)->getIncomingBlock(0) == Preheader); in assertOK()
5275 assert(cast<PHINode>(IndVar)->getIncomingBlock(1) == Latch); in assertOK()
5277 auto *NextIndVar = cast<PHINode>(IndVar)->getIncomingValue(1); in assertOK()
5286 assert(IndVar->getType() == TripCount->getType() && in assertOK()
[all …]
/openbsd/gnu/llvm/llvm/
H A DCODE_OWNERS.TXT194 D: IndVar Simplify, Scalar Evolution
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DLoopInfo.h669 getBounds(const Loop &L, PHINode &IndVar, ScalarEvolution &SE);
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h797 MachineInstr *IndVar, MachineInstr &Cmp, in reduceLoopCount() argument
/openbsd/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h279 function_ref<void(InsertPointTy CodeGenIP, Value *IndVar)>;
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2055 llvm::Value *IndVar) { in EmitOMPCanonicalLoop() argument
2064 {LoopVarAddress.getPointer(), IndVar}); in EmitOMPCanonicalLoop()