Home
last modified time | relevance | path

Searched refs:isSafeToExpandAt (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp529 !Expander.isSafeToExpandAt(Op, Preheader->getTerminator())) in findInsertPt()
595 if (!Expander.isSafeToExpandAt(LatchStart, Guard) || in widenICmpRangeCheckIncrementingLoop()
596 !Expander.isSafeToExpandAt(LatchLimit, Guard)) { in widenICmpRangeCheckIncrementingLoop()
638 if (!Expander.isSafeToExpandAt(LatchStart, Guard) || in widenICmpRangeCheckDecrementingLoop()
639 !Expander.isSafeToExpandAt(LatchLimit, Guard)) { in widenICmpRangeCheckDecrementingLoop()
1165 !Rewriter.isSafeToExpandAt(MinEC, WidenableBR)) in predicateLoopExits()
1204 !Rewriter.isSafeToExpandAt(ExitCount, WidenableBR)) in predicateLoopExits()
H A DInductiveRangeCheckElimination.cpp1454 if (!Expander.isSafeToExpandAt(ExitPreLoopAtSCEV, InsertPt)) { in run()
1481 if (!Expander.isSafeToExpandAt(ExitMainLoopAtSCEV, InsertPt)) { in run()
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DScalarEvolutionExpanderTest.cpp267 EXPECT_FALSE(Exp.isSafeToExpandAt(AR, Top->getTerminator())); in TEST_F()
268 EXPECT_FALSE(Exp.isSafeToExpandAt(AR, LPh->getTerminator())); in TEST_F()
269 EXPECT_TRUE(Exp.isSafeToExpandAt(AR, L->getTerminator())); in TEST_F()
270 EXPECT_TRUE(Exp.isSafeToExpandAt(AR, Post->getTerminator())); in TEST_F()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DHardwareLoops.cpp410 if (!SCEVE.isSafeToExpandAt(ExitCount, Predecessor->getTerminator())) in InitLoopCount()
416 if (!SCEVE.isSafeToExpandAt(ExitCount, BB->getTerminator())) { in InitLoopCount()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h268 bool isSafeToExpandAt(const SCEV *S, const Instruction *InsertionPoint) const;
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp663 if (!Rewriter.isSafeToExpandAt(S, IP)) { in replaceIVUserWithLoopInvariant()
H A DScalarEvolutionExpander.cpp2621 bool SCEVExpander::isSafeToExpandAt(const SCEV *S, in isSafeToExpandAt() function in SCEVExpander