Home
last modified time | relevance | path

Searched refs:IndexAddRec (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp370 const auto *IndexAddRec = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(Index)); in extractRangeChecksFromCond() local
372 IndexAddRec && (IndexAddRec->getLoop() == L) && IndexAddRec->isAffine(); in extractRangeChecksFromCond()
379 IRC.Offset = IndexAddRec->getStart(); in extractRangeChecksFromCond()
380 IRC.Scale = IndexAddRec->getStepRecurrence(SE); in extractRangeChecksFromCond()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp398 const auto *IndexAddRec = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(Index)); in extractRangeChecksFromCond() local
400 IndexAddRec && (IndexAddRec->getLoop() == L) && IndexAddRec->isAffine(); in extractRangeChecksFromCond()
415 unsigned BitWidth = cast<IntegerType>(IndexAddRec->getType())->getBitWidth(); in extractRangeChecksFromCond()
422 IRC.Begin = IndexAddRec->getStart(); in extractRangeChecksFromCond()
423 IRC.Step = IndexAddRec->getStepRecurrence(SE); in extractRangeChecksFromCond()