Home
last modified time | relevance | path

Searched refs:RightSCEV (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp172 const SCEV *RightSCEV = SE.getSCEV(RightVal); in countToEliminateCompares() local
176 if (SE.isKnownPredicate(Pred, LeftSCEV, RightSCEV) || in countToEliminateCompares()
178 RightSCEV)) in countToEliminateCompares()
184 if (isa<SCEVAddRecExpr>(RightSCEV)) { in countToEliminateCompares()
185 std::swap(LeftSCEV, RightSCEV); in countToEliminateCompares()
216 if (!SE.isKnownPredicate(Pred, IterVal, RightSCEV)) in countToEliminateCompares()
221 SE.isKnownPredicate(Pred, IterVal, RightSCEV)) { in countToEliminateCompares()
230 RightSCEV)) in countToEliminateCompares()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp888 const SCEV *RightSCEV = SE.getSCEV(RightValue); in parseLoopStructure() local
892 if (isa<SCEVAddRecExpr>(RightSCEV)) { in parseLoopStructure()
893 std::swap(LeftSCEV, RightSCEV); in parseLoopStructure()
969 isKnownNonNegativeInLoop(RightSCEV, &L, SE)) in parseLoopStructure()
980 CannotBeMinInLoop(RightSCEV, &L, SE, /*Signed*/false)) { in parseLoopStructure()
982 RightSCEV = SE.getMinusSCEV(RightSCEV, in parseLoopStructure()
983 SE.getOne(RightSCEV->getType())); in parseLoopStructure()
985 } else if (CannotBeMinInLoop(RightSCEV, &L, SE, /*Signed*/true)) { in parseLoopStructure()
987 RightSCEV = SE.getMinusSCEV(RightSCEV, in parseLoopStructure()
988 SE.getOne(RightSCEV->getType())); in parseLoopStructure()
[all …]
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp674 const SCEV *RightSCEV = SE.getSCEV(RightValue); in parseLoopStructure() local
678 if (isa<SCEVAddRecExpr>(RightSCEV)) { in parseLoopStructure()
679 std::swap(LeftSCEV, RightSCEV); in parseLoopStructure()
759 if (CanBeSMax(SE, RightSCEV)) { in parseLoopStructure()
781 if (CanBeSMin(SE, RightSCEV)) { in parseLoopStructure()