Home
last modified time | relevance | path

Searched refs:Expander (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp423 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 DLoopIdiomRecognize.cpp1118 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 DInductiveRangeCheckElimination.cpp1023 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 DLoopRerollPass.cpp1470 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 DLoopBoundSplit.cpp407 SCEVExpander Expander( in splitLoopBound() local
411 Expander.expandCodeFor(NewBoundSCEV, NewBoundSCEV->getType(), InsertPt); in splitLoopBound()
H A DNaryReassociate.cpp633 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 DSetTheory.h85 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 DCodeExpander.h49 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 DScalarEvolutionExpander.h505 SCEVExpander &Expander;
512 SCEVExpanderCleaner(SCEVExpander &Expander)
513 : Expander(Expander), ResultUsed(false) {}
H A DLoopUtils.h509 SCEVExpander &Expander);
513 ArrayRef<PointerDiffInfo> Checks, SCEVExpander &Expander,
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DSetTheory.cpp240 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 DScopHelper.cpp242 : 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 DTrace.cpp336 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 DLoopUnrollRuntime.cpp654 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 DLoopUtils.cpp1671 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 DScalarEvolutionExpander.cpp2648 auto InsertedInstructions = Expander.getAllInsertedInstructions(); in cleanup()
2655 Expander.clear(); in cleanup()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A DO0-pipeline.ll43 ; CHECK-NEXT: X86 DynAlloca Expander
H A Dopt-pipeline.ll123 ; CHECK-NEXT: X86 DynAlloca Expander
/llvm-project-15.0.7/llvm/test/Transforms/LoopIdiom/
H A Dunsafe.ll5 ; in udiv hoisted out of the loop by the SCEV Expander
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2047 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 Dnary-req.ll70 ; there is "unexpected" reassociation coming from SCEV Expander
/llvm-project-15.0.7/clang/utils/TableGen/
H A DNeonEmitter.cpp1610 class MaskExpander : public SetTheory::Expander { in emitDagShuffle()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp605 struct TupleExpander : SetTheory::Expander {