Searched refs:isSafeToExpandAt (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 529 !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 D | InductiveRangeCheckElimination.cpp | 1454 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 D | ScalarEvolutionExpanderTest.cpp | 267 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 D | HardwareLoops.cpp | 410 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 D | ScalarEvolutionExpander.h | 268 bool isSafeToExpandAt(const SCEV *S, const Instruction *InsertionPoint) const;
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyIndVar.cpp | 663 if (!Rewriter.isSafeToExpandAt(S, IP)) { in replaceIVUserWithLoopInvariant()
|
| H A D | ScalarEvolutionExpander.cpp | 2621 bool SCEVExpander::isSafeToExpandAt(const SCEV *S, in isSafeToExpandAt() function in SCEVExpander
|