Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp127 PHINode *IndVar, SCEVExpander &Rewriter);
1514 PHINode *IndVar, in LinearFunctionTestReplace() argument
1522 BackedgeTakenCount->getType() : IndVar->getType(); in LinearFunctionTestReplace()
1553 CmpIndVar = IndVar->getIncomingValueForBlock(L->getExitingBlock()); in LinearFunctionTestReplace()
1557 CmpIndVar = IndVar; in LinearFunctionTestReplace()
1564 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(IndVar)); in LinearFunctionTestReplace()
1596 assert(isPtrIV == IndVar->getType()->isPointerTy() && in LinearFunctionTestReplace()
1599 Value *IVStart = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in LinearFunctionTestReplace()
1836 PHINode *IndVar = 0; in runOnLoop() local
1852 IndVar = Rewriter.getOrInsertCanonicalInductionVariable(L, LargestType); in runOnLoop()
[all …]
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp111 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 …]
DInductiveRangeCheckElimination.cpp188 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/test/Transforms/IndVarSimplify/
D2011-10-27-lftrnull.ll2 ; rdar://10359193: assert "IndVar type must match IVInit type"
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h117 MachineInstr *IndVar, MachineInstr *Cmp,
DHexagonInstrInfo.cpp684 MachineInstr *IndVar, MachineInstr *Cmp, in reduceLoopCount() argument
690 assert((!IndVar) && isEndLoopN(Cmp->getOpcode()) in reduceLoopCount()
/external/llvm/
DCODE_OWNERS.TXT39 D: IndVar Simplify, Scalar Evolution
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h562 MachineInstr *IndVar, MachineInstr *Cmp, in reduceLoopCount() argument
/external/llvm/lib/CodeGen/
DMachinePipeliner.cpp2958 MachineInstr *IndVar = Pass.LI.LoopInductionVar; in addBranches() local
2980 LC = TII->reduceLoopCount(*Prolog, IndVar, Cmp, Cond, PrevInsts, j, in addBranches()