Home
last modified time | relevance | path

Searched refs:TargetTransformInfo (Results 1 – 25 of 200) sorted by relevance

12345678

/src/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp203 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL) in TargetTransformInfo() function in TargetTransformInfo
206 TargetTransformInfo::~TargetTransformInfo() = default;
208 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) in TargetTransformInfo() function in TargetTransformInfo
211 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) { in operator =()
216 unsigned TargetTransformInfo::getInliningThresholdMultiplier() const { in getInliningThresholdMultiplier()
221 TargetTransformInfo::getInliningCostBenefitAnalysisSavingsMultiplier() const { in getInliningCostBenefitAnalysisSavingsMultiplier()
226 TargetTransformInfo::getInliningCostBenefitAnalysisProfitableMultiplier() in getInliningCostBenefitAnalysisProfitableMultiplier()
232 TargetTransformInfo::adjustInliningThreshold(const CallBase *CB) const { in adjustInliningThreshold()
236 unsigned TargetTransformInfo::getCallerAllocaCost(const CallBase *CB, in getCallerAllocaCost()
241 int TargetTransformInfo::getInlinerVectorBonusPercent() const { in getInlinerVectorBonusPercent()
[all …]
H A DCostModel.cpp31 static cl::opt<TargetTransformInfo::TargetCostKind> CostKind(
33 cl::init(TargetTransformInfo::TCK_RecipThroughput),
34 cl::values(clEnumValN(TargetTransformInfo::TCK_RecipThroughput,
36 clEnumValN(TargetTransformInfo::TCK_Latency,
38 clEnumValN(TargetTransformInfo::TCK_CodeSize,
40 clEnumValN(TargetTransformInfo::TCK_SizeAndLatency,
/src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DUnrollLoop.h83 const llvm::TargetTransformInfo *TTI,
92 const TargetTransformInfo *TTI, bool PreserveLCSSA,
99 const TargetTransformInfo *TTI,
109 const TargetTransformInfo *TTI,
114 TargetTransformInfo::UnrollingPreferences gatherUnrollingPreferences(
115 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI,
136 UnrollCostEstimator(const Loop *L, const TargetTransformInfo &TTI,
148 getUnrolledLoopSize(const TargetTransformInfo::UnrollingPreferences &UP,
152 bool computeUnrollCount(Loop *L, const TargetTransformInfo &TTI,
159 TargetTransformInfo::UnrollingPreferences &UP,
[all …]
H A DLowerMemIntrinsics.h29 class TargetTransformInfo; variable
38 bool CanOverlap, const TargetTransformInfo &TTI,
46 bool DstIsVolatile, bool CanOverlap, const TargetTransformInfo &TTI,
50 void expandMemCpyAsLoop(MemCpyInst *MemCpy, const TargetTransformInfo &TTI,
55 bool expandMemMoveAsLoop(MemMoveInst *MemMove, const TargetTransformInfo &TTI);
62 const TargetTransformInfo &TTI,
H A DLoopPeel.h30 TargetTransformInfo::PeelingPreferences
32 const TargetTransformInfo &TTI,
38 TargetTransformInfo::PeelingPreferences &PP,
H A DSimplifyIndVar.h32 class TargetTransformInfo; variable
57 const TargetTransformInfo *TTI,
65 LoopInfo *LI, const TargetTransformInfo *TTI,
H A DLoopUtils.h29 class TargetTransformInfo; variable
154 TargetLibraryInfo *, TargetTransformInfo *, Loop *CurLoop,
163 TargetTransformInfo *, Loop *, MemorySSAUpdater &,
222 const TargetLibraryInfo *, TargetTransformInfo *, Loop *,
393 TargetTransformInfo::ReductionShuffle RS,
482 ScalarEvolution *SE, const TargetTransformInfo *TTI,
/src/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp22 TargetTransformInfo::PopcntSupportKind
25 return TargetTransformInfo::PSK_FastHardware; in getPopcntSupport()
40 TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth()
42 case TargetTransformInfo::RGK_Scalar: in getRegisterBitWidth()
44 case TargetTransformInfo::RGK_FixedWidthVector: in getRegisterBitWidth()
46 case TargetTransformInfo::RGK_ScalableVector: in getRegisterBitWidth()
74 (TargetTransformInfo::TCC_Basic + in getArithmeticInstrCost()
76 TargetTransformInfo::TCC_Basic); in getArithmeticInstrCost()
92 return Cost + 25 * TargetTransformInfo::TCC_Expensive; in getVectorInstrCost()
/src/contrib/llvm-project/llvm/lib/Target/VE/
H A DVETargetTransformInfo.h98 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth()
100 case TargetTransformInfo::RGK_Scalar: in getRegisterBitWidth()
102 case TargetTransformInfo::RGK_FixedWidthVector: in getRegisterBitWidth()
105 case TargetTransformInfo::RGK_ScalableVector: in getRegisterBitWidth()
114 TargetTransformInfo::VPLegalization
116 using VPLegalization = TargetTransformInfo::VPLegalization; in getVPLegalizationStrategy()
/src/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DHotColdSplitting.h24 class TargetTransformInfo; variable
40 function_ref<TargetTransformInfo &(Function &)> GTTI, in HotColdSplitting()
54 TargetTransformInfo &TTI);
57 BlockFrequencyInfo *BFI, TargetTransformInfo &TTI,
61 function_ref<TargetTransformInfo &(Function &)> GetTTI;
H A DIROutliner.h56 class TargetTransformInfo; variable
190 InstructionCost getBenefit(TargetTransformInfo &TTI);
201 IROutliner(function_ref<TargetTransformInfo &(Function &)> GTTI, in IROutliner()
329 function_ref<TargetTransformInfo &(Function &)> getTTI;
/src/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchTargetTransformInfo.cpp23 TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth()
26 case TargetTransformInfo::RGK_Scalar: in getRegisterBitWidth()
28 case TargetTransformInfo::RGK_FixedWidthVector: in getRegisterBitWidth()
34 case TargetTransformInfo::RGK_ScalableVector: in getRegisterBitWidth()
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h32 class TargetTransformInfo; variable
263 int getCallsiteCost(const TargetTransformInfo &TTI, const CallBase &Call,
279 TargetTransformInfo &CalleeTTI,
293 TargetTransformInfo &CalleeTTI,
307 CallBase &Call, Function *Callee, TargetTransformInfo &CalleeTTI,
319 CallBase &Call, TargetTransformInfo &CalleeTTI,
328 CallBase &Call, TargetTransformInfo &CalleeTTI,
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp47 const function_ref<TargetTransformInfo &(Function &)> LookupTTI;
56 function_ref<TargetTransformInfo &(Function &)> LookupTTI_, in PreISelIntrinsicLowering()
62 const TargetTransformInfo &TTI);
185 Value *Size, const TargetTransformInfo &TTI) { in shouldExpandMemIntrinsicWithSize()
219 const TargetTransformInfo &TTI = LookupTTI(*ParentFunc); in expandMemIntrinsicUses()
242 const TargetTransformInfo &TTI = LookupTTI(*ParentFunc); in expandMemIntrinsicUses()
251 const TargetTransformInfo &TTI = LookupTTI(*ParentFunc); in expandMemIntrinsicUses()
268 const TargetTransformInfo &TTI = LookupTTI(*ParentFunc); in expandMemIntrinsicUses()
412 auto LookupTTI = [this](Function &F) -> TargetTransformInfo & { in runOnModule()
443 auto LookupTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run()
/src/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DSpeculativeExecution.h69 class TargetTransformInfo; variable
82 bool runImpl(Function &F, TargetTransformInfo *TTI);
92 TargetTransformInfo *TTI = nullptr;
H A DNaryReassociate.h98 class TargetTransformInfo; variable
109 TargetTransformInfo *TTI_);
185 TargetTransformInfo *TTI;
H A DConstantHoisting.h62 class TargetTransformInfo; variable
63 class TargetTransformInfo; variable
131 bool runImpl(Function &F, TargetTransformInfo &TTI, DominatorTree &DT,
151 const TargetTransformInfo *TTI;
/src/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h46 class TargetTransformInfo; variable
66 TargetTransformInfo *TTI = nullptr;
79 bool runImpl(Function &F, ScalarEvolution *SE_, TargetTransformInfo *TTI_,
125 TargetTransformInfo *TTI,
133 TargetTransformInfo *TTI);
/src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp73 TargetTransformInfo::PopcntSupportKind
77 return TargetTransformInfo::PSK_FastHardware; in getPopcntSupport()
118 HexagonTTIImpl::getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth()
120 case TargetTransformInfo::RGK_Scalar: in getRegisterBitWidth()
122 case TargetTransformInfo::RGK_FixedWidthVector: in getRegisterBitWidth()
124 case TargetTransformInfo::RGK_ScalableVector: in getRegisterBitWidth()
184 getRegisterBitWidth(TargetTransformInfo::RGK_FixedWidthVector) in getMemoryOpCost()
389 return TargetTransformInfo::TCC_Free; in getInstructionCost()
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollAndJamPass.cpp144 TargetTransformInfo::UnrollingPreferences &UP) { in getUnrollAndJammedLoopSize()
152 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT, in computeUnrollAndJamCount()
158 TargetTransformInfo::UnrollingPreferences &UP, in computeUnrollAndJamCount()
159 TargetTransformInfo::PeelingPreferences &PP) { in computeUnrollAndJamCount()
280 ScalarEvolution &SE, const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
283 TargetTransformInfo::UnrollingPreferences UP = gatherUnrollingPreferences( in tryToUnrollAndJamLoop()
286 TargetTransformInfo::PeelingPreferences PP = in tryToUnrollAndJamLoop()
426 const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
H A DLoopUnrollPass.cpp189 TargetTransformInfo::UnrollingPreferences llvm::gatherUnrollingPreferences( in gatherUnrollingPreferences()
190 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI, in gatherUnrollingPreferences()
197 TargetTransformInfo::UnrollingPreferences UP; in gatherUnrollingPreferences()
358 const TargetTransformInfo &TTI, unsigned MaxUnrolledLoopSize, in analyzeLoopUnrollCost()
411 TargetTransformInfo::TargetCostKind CostKind = in analyzeLoopUnrollCost()
413 TargetTransformInfo::TCK_CodeSize : in analyzeLoopUnrollCost()
414 TargetTransformInfo::TCK_SizeAndLatency; in analyzeLoopUnrollCost()
503 TargetTransformInfo::TargetCostKind CostKind = in analyzeLoopUnrollCost()
505 TargetTransformInfo::TCK_CodeSize : TargetTransformInfo::TCK_SizeAndLatency; in analyzeLoopUnrollCost()
683 const Loop *L, const TargetTransformInfo &TTI, in UnrollCostEstimator()
[all …]
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h37 using TTI = TargetTransformInfo;
64 using TTI = TargetTransformInfo;
82 return TargetTransformInfo::TCC_Basic; in getFullRateInstrCost()
87 : 2 * TargetTransformInfo::TCC_Basic; in getHalfRateInstrCost()
94 : 4 * TargetTransformInfo::TCC_Basic; in getQuarterRateInstrCost()
121 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind Vector) const;
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp286 TargetTransformInfo &TTI) { in getOutliningBenefit()
294 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in getOutliningBenefit()
361 const int CostForArgMaterialization = 2 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
369 const int CostForRegionOutput = 3 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
384 Penalty += (SuccsOutsideRegion.size() - 1) * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
393 TargetTransformInfo &TTI) { in isSplittingBeneficial()
416 TargetTransformInfo &TTI, OptimizationRemarkEmitter &ORE) { in extractColdRegion()
670 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions()
818 std::function<TargetTransformInfo &(Function &)> GTTI = in run()
819 [&FAM](Function &F) -> TargetTransformInfo & { in run()
/src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h31 using TTI = TargetTransformInfo;
97 TargetTransformInfo::PopcntSupportKind getPopcntSupport(unsigned TyWidth);
111 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const;
292 TargetTransformInfo::VPLegalization
294 using VPLegalization = TargetTransformInfo::VPLegalization; in getVPLegalizationStrategy()
394 bool isLSRCostLess(const TargetTransformInfo::LSRCost &C1,
395 const TargetTransformInfo::LSRCost &C2);
/src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h20 typedef TargetTransformInfo TTI;
64 bool isLSRCostLess(const TargetTransformInfo::LSRCost &C1,
65 const TargetTransformInfo::LSRCost &C2);
72 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const;

12345678