| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 423 Expander.expandCodeFor(LHS, Ty, findInsertPt(Expander, Guard, {LHS})); in expandCheck() 425 Expander.expandCodeFor(RHS, Ty, findInsertPt(Expander, Guard, {RHS})); in expandCheck() 573 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckIncrementingLoop() argument 595 if (!Expander.isSafeToExpandAt(LatchStart, Guard) || in widenICmpRangeCheckIncrementingLoop() 596 !Expander.isSafeToExpandAt(LatchLimit, Guard)) { in widenICmpRangeCheckIncrementingLoop() 622 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckDecrementingLoop() argument 638 if (!Expander.isSafeToExpandAt(LatchStart, Guard) || in widenICmpRangeCheckDecrementingLoop() 827 BranchInst *BI, SCEVExpander &Expander) { in widenWidenableBranchGuardConditions() argument 835 Expander, BI); in widenWidenableBranchGuardConditions() 1308 Changed |= widenGuardConditions(Guard, Expander); in runOnLoop() [all …]
|
| H A D | LoopIdiomRecognize.cpp | 1118 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStridedStore() local 1119 SCEVExpanderCleaner ExpCleaner(Expander); in processLoopStridedStore() 1132 if (!Expander.isSafeToExpand(Start)) in processLoopStridedStore() 1166 if (!Expander.isSafeToExpand(NumBytesS)) in processLoopStridedStore() 1337 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStoreOfLoopLoad() local 1339 SCEVExpanderCleaner ExpCleaner(Expander); in processLoopStoreOfLoopLoad() 1366 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 1419 Value *LoadBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 2853 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in recognizeShiftUntilZero() local 2854 Expander.setInsertPoint(&*Builder.GetInsertPoint()); in recognizeShiftUntilZero() [all …]
|
| H A D | InductiveRangeCheckElimination.cpp | 1023 SCEVExpander Expander(SE, DL, "irce"); in parseLoopStructure() local 1028 Expander.expandCodeFor(FixedRightSCEV, FixedRightSCEV->getType(), Ins); in parseLoopStructure() 1030 Value *IndVarStartV = Expander.expandCodeFor(IndVarStart, IndVarTy, Ins); in parseLoopStructure() 1422 SCEVExpander Expander(SE, F.getParent()->getDataLayout(), "irce"); in run() local 1454 if (!Expander.isSafeToExpandAt(ExitPreLoopAtSCEV, InsertPt)) { in run() 1462 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run() 1481 if (!Expander.isSafeToExpandAt(ExitMainLoopAtSCEV, InsertPt)) { in run() 1489 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
|
| H A D | LoopRerollPass.cpp | 1470 SCEVExpander Expander(*SE, DL, "reroll"); in replace() local 1475 Expander.expandCodeFor(NewIVSCEV, BackedgeTakenCount->getType(), in replace() 1483 Expander.expandCodeFor(ScaledBECount, BackedgeTakenCount->getType(), in replace() 1508 SCEVExpander Expander(*SE, DL, "reroll"); in replaceIV() local 1509 Value *NewIV = Expander.expandCodeFor(NewIVSCEV, Inst->getType(), in replaceIV()
|
| H A D | LoopBoundSplit.cpp | 407 SCEVExpander Expander( in splitLoopBound() local 411 Expander.expandCodeFor(NewBoundSCEV, NewBoundSCEV->getType(), InsertPt); in splitLoopBound()
|
| H A D | NaryReassociate.cpp | 633 SCEVExpander Expander(*SE, *DL, "nary-reassociate"); in tryReassociateMinOrMax() local 634 Value *NewMinMax = Expander.expandCodeFor(R2Expr, I->getType(), I); in tryReassociateMinOrMax()
|
| /llvm-project-15.0.7/llvm/include/llvm/TableGen/ |
| H A D | SetTheory.h | 85 class Expander { 89 virtual ~Expander() = default; 104 StringMap<std::unique_ptr<Expander>> Expanders; 111 void addExpander(StringRef ClassName, std::unique_ptr<Expander>);
|
| /llvm-project-15.0.7/llvm/utils/TableGen/GlobalISel/ |
| H A D | CodeExpander.h | 49 inline raw_ostream &operator<<(raw_ostream &OS, const CodeExpander &Expander) { 50 Expander.emit(OS);
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.h | 505 SCEVExpander &Expander; 512 SCEVExpanderCleaner(SCEVExpander &Expander) 513 : Expander(Expander), ResultUsed(false) {}
|
| H A D | LoopUtils.h | 509 SCEVExpander &Expander); 513 ArrayRef<PointerDiffInfo> Checks, SCEVExpander &Expander,
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 240 struct FieldExpander : public SetTheory::Expander { 254 void SetTheory::Expander::anchor() {} in anchor() 273 void SetTheory::addExpander(StringRef ClassName, std::unique_ptr<Expander> E) { in addExpander()
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | ScopHelper.cpp | 242 : Expander(SE, DL, Name, /*PreserveLCSSA=*/false), SE(SE), Name(Name), in ScopExpander() 251 return Expander.expandCodeFor(E, Ty, I); in expandCodeFor() 266 SCEVExpander Expander; member 413 ScopExpander Expander(S.getRegion(), SE, DL, Name, VMap, RTCBB); in expandCodeFor() local 414 return Expander.expandCodeFor(E, Ty, IP); in expandCodeFor()
|
| /llvm-project-15.0.7/llvm/lib/XRay/ |
| H A D | Trace.cpp | 336 TraceExpander Expander(Adder, FileHeader.Version); in loadFDRLog() local 339 if (auto E = R->apply(Expander)) in loadFDRLog() 342 if (auto E = Expander.flush()) in loadFDRLog()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LoopUnrollRuntime.cpp | 654 SCEVExpander Expander(*SE, DL, "loop-unroll"); in UnrollRuntimeLoopRemainder() local 656 Expander.isHighCostExpansion(TripCountSC, L, SCEVCheapExpansionBudget, in UnrollRuntimeLoopRemainder() 746 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder() 764 Expander.expandCodeFor(BECountSC, BECountSC->getType(), PreHeaderBR); in UnrollRuntimeLoopRemainder()
|
| H A D | LoopUtils.cpp | 1671 SCEVExpander &Expander, in addDiffRuntimeChecks() argument 1687 Value *Sink = Expander.expandCodeFor(C.SinkStart, Ty, Loc); in addDiffRuntimeChecks() 1688 Value *Src = Expander.expandCodeFor(C.SrcStart, Ty, Loc); in addDiffRuntimeChecks()
|
| H A D | ScalarEvolutionExpander.cpp | 2648 auto InsertedInstructions = Expander.getAllInsertedInstructions(); in cleanup() 2655 Expander.clear(); in cleanup()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | O0-pipeline.ll | 43 ; CHECK-NEXT: X86 DynAlloca Expander
|
| H A D | opt-pipeline.ll | 123 ; CHECK-NEXT: X86 DynAlloca Expander
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopIdiom/ |
| H A D | unsafe.ll | 5 ; in udiv hoisted out of the loop by the SCEV Expander
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 2047 SCEVExpander Expander(*SE, *DL, "hexagon-loop-idiom"); in processCopyingStore() local 2057 Value *StoreBasePtr = Expander.expandCodeFor(StoreEv->getStart(), in processCopyingStore() 2071 Expander.clear(); in processCopyingStore() 2128 LoadBasePtr = Expander.expandCodeFor(LoadEv->getStart(), in processCopyingStore() 2167 Value *NumBytes = Expander.expandCodeFor(NumBytesS, IntPtrTy, ExpPt); in processCopyingStore() 2276 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore()
|
| /llvm-project-15.0.7/llvm/test/Transforms/NaryReassociate/ |
| H A D | nary-req.ll | 70 ; there is "unexpected" reassociation coming from SCEV Expander
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | NeonEmitter.cpp | 1610 class MaskExpander : public SetTheory::Expander { in emitDagShuffle()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CodeGenRegisters.cpp | 605 struct TupleExpander : SetTheory::Expander {
|