/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 182 static Value *findFinalIVValue(const Loop &L, const PHINode &IndVar, in findFinalIVValue() argument 190 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue() 193 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue() 200 PHINode &IndVar, in getBounds() argument 203 if (!InductionDescriptor::isInductionPHI(&IndVar, &L, &SE, IndDesc)) in getBounds() 220 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst); in getBounds() 286 if (PHINode *IndVar = getInductionVariable(SE)) in getBounds() local 287 return LoopBounds::getBounds(*this, *IndVar, SE); in getBounds() 305 for (PHINode &IndVar : Header->phis()) { in getInductionVariable() 307 if (!InductionDescriptor::isInductionPHI(&IndVar, this, &SE, IndDesc)) in getInductionVariable() [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 183 static Value *findFinalIVValue(const Loop &L, const PHINode &IndVar, in findFinalIVValue() argument 191 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue() 194 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue() 201 PHINode &IndVar, in getBounds() argument 204 if (!InductionDescriptor::isInductionPHI(&IndVar, &L, &SE, IndDesc)) in getBounds() 221 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst); in getBounds() 287 if (PHINode *IndVar = getInductionVariable(SE)) in getBounds() local 288 return LoopBounds::getBounds(*this, *IndVar, SE); in getBounds() 306 for (PHINode &IndVar : Header->phis()) { in getInductionVariable() 308 if (!InductionDescriptor::isInductionPHI(&IndVar, this, &SE, IndDesc)) in getInductionVariable() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 168 PHINode *IndVar, SCEVExpander &Rewriter); 972 static Value *genLoopLimit(PHINode *IndVar, BasicBlock *ExitingBB, in genLoopLimit() argument 975 assert(isLoopCounter(IndVar, L, SE)); in genLoopLimit() 976 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in genLoopLimit() 983 if (IndVar->getType()->isPointerTy() && in genLoopLimit() 1002 assert(SE->getSizeOfExpr(IntegerType::getInt64Ty(IndVar->getContext()), in genLoopLimit() 1003 cast<PointerType>(IndVar->getType()) in genLoopLimit() 1009 return Rewriter.expandCodeFor(IVLimit, IndVar->getType(), BI); in genLoopLimit() 1051 IndVar->getType() : ExitCount->getType(); in genLoopLimit() 1065 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace() argument [all …]
|
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() 1925 const SCEVAddRecExpr *IndVar = in run() local 1941 auto Result = IRC.computeSafeIterationSpace(SE, IndVar, in run()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 165 PHINode *IndVar, SCEVExpander &Rewriter); 2332 static Value *genLoopLimit(PHINode *IndVar, BasicBlock *ExitingBB, in genLoopLimit() argument 2335 assert(isLoopCounter(IndVar, L, SE)); in genLoopLimit() 2336 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in genLoopLimit() 2343 if (IndVar->getType()->isPointerTy() && in genLoopLimit() 2362 assert(SE->getSizeOfExpr(IntegerType::getInt64Ty(IndVar->getContext()), in genLoopLimit() 2363 cast<PointerType>(IndVar->getType()) in genLoopLimit() 2369 return Rewriter.expandCodeFor(IVLimit, IndVar->getType(), BI); in genLoopLimit() 2411 IndVar->getType() : ExitCount->getType(); in genLoopLimit() 2425 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace() argument [all …]
|
D | InductiveRangeCheckElimination.cpp | 216 const SCEVAddRecExpr *IndVar, 1568 ScalarEvolution &SE, const SCEVAddRecExpr *IndVar, in computeSafeIterationSpace() argument 1572 auto *IVType = cast<IntegerType>(IndVar->getType()); in computeSafeIterationSpace() 1596 if (!IndVar->isAffine()) in computeSafeIterationSpace() 1599 const SCEV *A = NoopOrExtend(IndVar->getStart(), RCType, SE, IsLatchSigned); in computeSafeIterationSpace() 1601 NoopOrExtend(IndVar->getStepRecurrence(SE), RCType, SE, IsLatchSigned)); in computeSafeIterationSpace() 1664 const Loop *L = IndVar->getLoop(); in computeSafeIterationSpace() 1831 const SCEVAddRecExpr *IndVar = in run() local 1847 auto Result = IRC.computeSafeIterationSpace(SE, IndVar, in run()
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 111 PHINode *IndVar, SCEVExpander &Rewriter); 1826 static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L, in genLoopLimit() argument 1828 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in genLoopLimit() 1836 if (IndVar->getType()->isPointerTy() && !IVCount->getType()->isPointerTy()) { in genLoopLimit() 1852 Value *GEPBase = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in genLoopLimit() 1856 assert(SE->getSizeOfExpr(IntegerType::getInt64Ty(IndVar->getContext()), in genLoopLimit() 1900 IndVar->getType() : IVCount->getType(); in genLoopLimit() 1913 PHINode *IndVar, in linearFunctionTestReplace() argument 1918 Value *CmpIndVar = IndVar; in linearFunctionTestReplace() 1933 CmpIndVar = IndVar->getIncomingValueForBlock(L->getExitingBlock()); in linearFunctionTestReplace() [all …]
|
D | InductiveRangeCheckElimination.cpp | 188 const SCEVAddRecExpr *IndVar) const; 1280 ScalarEvolution &SE, const SCEVAddRecExpr *IndVar) const { in computeSafeIterationSpace() 1309 if (!IndVar->isAffine()) in computeSafeIterationSpace() 1312 const SCEV *A = IndVar->getStart(); in computeSafeIterationSpace() 1313 const SCEVConstant *B = dyn_cast<SCEVConstant>(IndVar->getStepRecurrence(SE)); in computeSafeIterationSpace() 1337 unsigned BitWidth = cast<IntegerType>(IndVar->getType())->getBitWidth(); in computeSafeIterationSpace() 1418 const SCEVAddRecExpr *IndVar = in runOnLoop() local 1428 auto Result = IRC.computeSafeIterationSpace(SE, IndVar); in runOnLoop()
|
/external/llvm-project/llvm/lib/Frontend/OpenMP/ |
D | OMPIRBuilder.cpp | 996 Value *IndVar = Builder.CreateAdd(Span, Start); in createCanonicalLoop() local 997 BodyGenCB(Builder.saveIP(), IndVar); in createCanonicalLoop() 1585 Instruction *IndVar = getIndVar(); in assertOK() local 1586 assert(IndVar && "Canonical induction variable not found?"); in assertOK() 1587 assert(isa<IntegerType>(IndVar->getType()) && in assertOK() 1589 assert(cast<PHINode>(IndVar)->getParent() == Header && in assertOK() 1594 assert(IndVar->getType() == TripCount->getType() && in assertOK() 1600 assert(CmpI->getOperand(0) == IndVar && in assertOK()
|
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/ |
D | rewrite-loop-exit-values-phi.ll | 4 ; that was not deleted, and the IndVar pass would return an incorrect modified
|
D | 2011-10-27-lftrnull.ll | 3 ; rdar://10359193: assert "IndVar type must match IVInit type"
|
/external/llvm/test/Transforms/IndVarSimplify/ |
D | 2011-10-27-lftrnull.ll | 2 ; rdar://10359193: assert "IndVar type must match IVInit type"
|
/external/llvm-project/llvm/unittests/Frontend/ |
D | OpenMPIRBuilderTest.cpp | 980 Instruction *IndVar = Loop->getIndVar(); in TEST_F() local 981 EXPECT_TRUE(isa<PHINode>(IndVar)); in TEST_F() 982 EXPECT_EQ(IndVar->getType(), TripCount->getType()); in TEST_F() 983 EXPECT_EQ(IndVar->getParent(), Loop->getHeader()); in TEST_F() 990 EXPECT_EQ(CmpInst->getOperand(0), IndVar); in TEST_F()
|
/external/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
D | OMPIRBuilder.h | 110 function_ref<void(InsertPointTy CodeGenIP, Value *IndVar)>;
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.h | 117 MachineInstr *IndVar, MachineInstr *Cmp,
|
D | HexagonInstrInfo.cpp | 684 MachineInstr *IndVar, MachineInstr *Cmp, in reduceLoopCount() argument 690 assert((!IndVar) && isEndLoopN(Cmp->getOpcode()) in reduceLoopCount()
|
/external/llvm/ |
D | CODE_OWNERS.TXT | 39 D: IndVar Simplify, Scalar Evolution
|
/external/llvm-project/llvm/ |
D | CODE_OWNERS.TXT | 67 D: IndVar Simplify, Scalar Evolution
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 562 MachineInstr *IndVar, MachineInstr *Cmp, in reduceLoopCount() argument
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 622 static Optional<Loop::LoopBounds> getBounds(const Loop &L, PHINode &IndVar,
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 642 static Optional<Loop::LoopBounds> getBounds(const Loop &L, PHINode &IndVar,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetInstrInfo.h | 743 MachineInstr *IndVar, MachineInstr &Cmp, in reduceLoopCount() argument
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | TargetInstrInfo.h | 750 MachineInstr *IndVar, MachineInstr &Cmp, in reduceLoopCount() argument
|
/external/llvm/lib/CodeGen/ |
D | MachinePipeliner.cpp | 2958 MachineInstr *IndVar = Pass.LI.LoopInductionVar; in addBranches() local 2980 LC = TII->reduceLoopCount(*Prolog, IndVar, Cmp, Cond, PrevInsts, j, in addBranches()
|