Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h316 LLVM_ABI Value *expandCodeFor(const SCEV *SH, Type *Ty,
318 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I) {
319 return expandCodeFor(SH, Ty, I->getIterator());
326 LLVM_ABI Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp406 Expander.expandCodeFor(FixedRightSCEV, FixedRightSCEV->getType(), Ins); in parseLoopStructure()
408 Value *IndVarStartV = Expander.expandCodeFor(IndVarStart, IndVarTy, Ins); in parseLoopStructure()
776 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run()
803 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
H A DLoopUtils.cpp1719 Value *ExitVal = Rewriter.expandCodeFor( in rewriteLoopExitValues()
1927 Start = Exp.expandCodeFor(Low, PtrArithTy, Loc); in expandBounds()
1928 End = Exp.expandCodeFor(High, PtrArithTy, Loc); in expandBounds()
1935 Stride ? Exp.expandCodeFor(Stride, Stride->getType(), Loc) : nullptr; in expandBounds()
2040 Expander.expandCodeFor(SE.getMinusSCEV(SinkStart, SrcStart), Ty, Loc); in addDiffRuntimeChecks()
H A DLoopUnrollRuntime.cpp770 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder()
788 Expander.expandCodeFor(BECountSC, BECountSC->getType(), PreHeaderBR); in UnrollRuntimeLoopRemainder()
H A DSimplifyIndVar.cpp236 Rewriter.expandCodeFor(InvariantLHS, IVOperand->getType(), PHTerm); in makeIVComparisonInvariant()
238 Rewriter.expandCodeFor(InvariantRHS, IVOperand->getType(), PHTerm); in makeIVComparisonInvariant()
661 auto *Invariant = Rewriter.expandCodeFor(S, I->getType(), IP); in replaceIVUserWithLoopInvariant()
2088 Value *ExpandInst = Rewriter.expandCodeFor(AddRec, WideType, InsertPt); in createWideIV()
H A DScalarEvolutionExpander.cpp1436 Value *SCEVExpander::expandCodeFor(const SCEV *SH, Type *Ty, in expandCodeFor() function in SCEVExpander
1439 Value *V = expandCodeFor(SH, Ty); in expandCodeFor()
1443 Value *SCEVExpander::expandCodeFor(const SCEV *SH, Type *Ty) { in expandCodeFor() function in SCEVExpander
H A DLoopPeel.cpp1126 Expander.expandCodeFor(BTC, BTC->getType(), PreHeaderBR); in peelLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp391 Expander.expandCodeFor(LHS, Ty, findInsertPt(Expander, Guard, {LHS})); in expandCheck()
393 Expander.expandCodeFor(RHS, Ty, findInsertPt(Expander, Guard, {RHS})); in expandCheck()
1151 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits()
1153 MinECV = Rewriter.expandCodeFor(MinEC); in predicateLoopExits()
H A DLoopIdiomRecognize.cpp1056 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore()
1093 Value *TripCount = Expander.expandCodeFor(TripCountS, IntIdxTy, in processLoopStridedStore()
1120 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStridedStore()
1318 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad()
1371 Value *LoadBasePtr = Expander.expandCodeFor(LdStart, Builder.getPtrTy(LdAS), in processLoopStoreOfLoopLoad()
1428 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
1771 Value *MaterialzedBase = Expander.expandCodeFor( in recognizeAndInsertStrLen()
1802 Value *MaterializedPHI = Expander.expandCodeFor(NewEv, NewEv->getType(), in recognizeAndInsertStrLen()
3313 Value *ExtraOffset = Expander.expandCodeFor(ExtraOffsetExpr); in recognizeShiftUntilZero()
H A DIndVarSimplify.cpp932 return Rewriter.expandCodeFor(IVLimit, ARBase->getType(), in genLoopLimit()
1229 auto *LHSV = Rewriter.expandCodeFor(LIP.LHS); in createInvariantCond()
1230 auto *RHSV = Rewriter.expandCodeFor(LIP.RHS); in createInvariantCond()
1849 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits()
1851 ExactBTCV = Rewriter.expandCodeFor(ExactBTC); in predicateLoopExits()
H A DLoopTermFold.cpp270 Value *TermValue = Expander.expandCodeFor(TermValueS, ToHelpFold->getType(), in RunTermFold()
H A DLoopDataPrefetch.cpp402 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, P.InsertPt); in runOnLoop()
H A DLoopBoundSplit.cpp410 Expander.expandCodeFor(NewBoundSCEV, NewBoundSCEV->getType(), InsertPt); in splitLoopBound()
H A DLoopStrengthReduce.cpp3442 Value *IncV = Rewriter.expandCodeFor(Remainder, IntTy, InsertPt); in GenerateIVChain()
3445 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
3457 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain()
3460 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
5693 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, nullptr))); in Expand()
5709 SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr))); in Expand()
5716 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, nullptr); in Expand()
5726 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), nullptr); in Expand()
5730 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr)); in Expand()
5742 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), IntTy); in Expand()
[all …]
H A DLoopLoadElimination.cpp443 Value *InitialPtr = SEE.expandCodeFor(PtrSCEV->getStart(), Ptr->getType(), in propagateStoredValueToLoadUsers()
H A DNaryReassociate.cpp644 Value *NewMinMax = Expander.expandCodeFor(R2Expr, I->getType(), I); in tryReassociateMinOrMax()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp441 Value *Start = Expander.expandCodeFor(StartSCEV, StartSCEV->getType(), Ins); in TryConvertActiveLaneMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2038 Value *StoreBasePtr = Expander.expandCodeFor(StoreEv->getStart(), in processCopyingStore()
2109 LoadBasePtr = Expander.expandCodeFor(LoadEv->getStart(), in processCopyingStore()
2148 Value *NumBytes = Expander.expandCodeFor(NumBytesS, IntPtrTy, ExpPt); in processCopyingStore()
2257 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp600 Value *OffsetValue = SCEVE.expandCodeFor( in rewriteLoadStoresForCommoningChains()
704 Value *BasePtrStart = SCEVE.expandCodeFor(BasePtrStartSCEV, I8PtrTy, in rewriteForBase()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp484 Value *Count = SCEVE.expandCodeFor(ExitCount, CountType, in InitLoopCount()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp3809 Value *Res = Exp.expandCodeFor(Expr, Expr->getType(), in execute()
H A DSLPVectorizer.cpp5703 return Expander.expandCodeFor(Stride, Stride->getType(), Inst); in calculateRtStride()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc20346 {"_ZN4llvm12SCEVExpander13expandCodeForEPKNS_4SCEVEPKNS_4TypeE", "llvm::SCEVExpander::expandCodeFor
20353 …deForEPKNS_4SCEVEPKNS_4TypeEPNS_11InstructionE", "llvm::SCEVExpander::expandCodeFor(llvm::SCEV con…