Home
last modified time | relevance | path

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

123456789

/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp1 //===- llvm/Analysis/TargetTransformInfo.cpp ------------------------------===//
9 #include "llvm/Analysis/TargetTransformInfo.h"
202 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL)
205 TargetTransformInfo::~TargetTransformInfo() = default;
207 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg)
210 TargetTransformInfo in TargetTransformInfo()
203 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL) TargetTransformInfo() function in TargetTransformInfo
208 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) TargetTransformInfo() function in TargetTransformInfo
[all...]
H A DCostModel.cpp20 #include "llvm/Analysis/TargetTransformInfo.h"
29 static cl::opt<TargetTransformInfo::TargetCostKind> CostKind(
31 cl::init(TargetTransformInfo::TCK_RecipThroughput),
32 cl::values(clEnumValN(TargetTransformInfo::TCK_RecipThroughput,
34 clEnumValN(TargetTransformInfo::TCK_Latency,
36 clEnumValN(TargetTransformInfo::TCK_CodeSize,
38 clEnumValN(TargetTransformInfo::TCK_SizeAndLatency,
/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DUnrollLoop.h20 #include "llvm/Analysis/TargetTransformInfo.h"
85 const llvm::TargetTransformInfo *TTI,
94 const TargetTransformInfo *TTI, bool PreserveLCSSA,
102 const TargetTransformInfo *TTI,
112 const TargetTransformInfo *TTI,
117 TargetTransformInfo::UnrollingPreferences gatherUnrollingPreferences(
118 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI,
139 UnrollCostEstimator(const Loop *L, const TargetTransformInfo &TTI,
151 getUnrolledLoopSize(const TargetTransformInfo::UnrollingPreferences &UP,
155 bool computeUnrollCount(Loop *L, const TargetTransformInfo
[all...]
H A DLowerMemIntrinsics.h30 class TargetTransformInfo;
39 bool CanOverlap, const TargetTransformInfo &TTI,
47 bool DstIsVolatile, bool CanOverlap, const TargetTransformInfo &TTI,
51 void expandMemCpyAsLoop(MemCpyInst *MemCpy, const TargetTransformInfo &TTI,
56 bool expandMemMoveAsLoop(MemMoveInst *MemMove, const TargetTransformInfo &TTI);
66 const TargetTransformInfo &TTI,
29 class TargetTransformInfo; global() variable
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,
/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp10 /// This file defines the WebAssembly-specific TargetTransformInfo
20 TargetTransformInfo::PopcntSupportKind
23 return TargetTransformInfo::PSK_FastHardware; in getPopcntSupport()
38 TargetTransformInfo::RegisterKind K) const {
40 case TargetTransformInfo::RGK_Scalar: in getRegisterBitWidth()
42 case TargetTransformInfo::RGK_FixedWidthVector: in getRegisterBitWidth()
44 case TargetTransformInfo::RGK_ScalableVector: in getRegisterBitWidth()
72 (TargetTransformInfo::TCC_Basic + in getArithmeticInstrCost()
74 TargetTransformInfo::TCC_Basic); in getArithmeticInstrCost()
90 return Cost + 25 * TargetTransformInfo in getVectorInstrCost()
[all...]
/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()
/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;
/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h32 class TargetTransformInfo; variable
262 int getCallsiteCost(const TargetTransformInfo &TTI, const CallBase &Call,
278 TargetTransformInfo &CalleeTTI,
292 TargetTransformInfo &CalleeTTI,
306 CallBase &Call, Function *Callee, TargetTransformInfo &CalleeTTI,
318 CallBase &Call, TargetTransformInfo &CalleeTTI,
328 CallBase &Call, TargetTransformInfo &CalleeTTI,
/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchTargetTransformInfo.cpp9 /// This file implements a TargetTransformInfo analysis pass specific to the
23 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()
86 TargetTransformInfo::PopcntSupportKind in getRegisterClassName()
/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp18 #include "llvm/Analysis/TargetTransformInfo.h"
52 const function_ref<TargetTransformInfo &(Function &)> LookupTTI;
62 function_ref<TargetTransformInfo &(Function &)> LookupTTI_,
69 const TargetTransformInfo &TTI); in lowerLoadRelative()
213 Value *Size, const TargetTransformInfo &TTI) { in expandMemIntrinsicUses()
249 const TargetTransformInfo &TTI = LookupTTI(*ParentFunc); in expandMemIntrinsicUses()
272 const TargetTransformInfo &TTI = LookupTTI(*ParentFunc); in expandMemIntrinsicUses()
281 const TargetTransformInfo &TTI = LookupTTI(*ParentFunc); in lowerIntrinsics()
298 const TargetTransformInfo &TTI = LookupTTI(*ParentFunc); in lowerIntrinsics()
371 const TargetTransformInfo
[all...]
/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 DConstantHoisting.h62 class TargetTransformInfo; variable
63 class TargetTransformInfo; variable
131 bool runImpl(Function &F, TargetTransformInfo &TTI, DominatorTree &DT,
151 const TargetTransformInfo *TTI;
H A DNaryReassociate.h98 class TargetTransformInfo; variable
109 TargetTransformInfo *TTI_);
185 TargetTransformInfo *TTI;
/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_,
/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp34 #include "llvm/Analysis/TargetTransformInfo.h"
189 TargetTransformInfo::UnrollingPreferences llvm::gatherUnrollingPreferences( in gatherUnrollingPreferences()
190 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI, in gatherUnrollingPreferences()
197 TargetTransformInfo::UnrollingPreferences UP; in gatherUnrollingPreferences()
360 const TargetTransformInfo &TTI, unsigned MaxUnrolledLoopSize, in analyzeLoopUnrollCost()
413 TargetTransformInfo::TargetCostKind CostKind = in analyzeLoopUnrollCost()
415 TargetTransformInfo::TCK_CodeSize : in analyzeLoopUnrollCost()
416 TargetTransformInfo::TCK_SizeAndLatency; in analyzeLoopUnrollCost()
505 TargetTransformInfo::TargetCostKind CostKind = in analyzeLoopUnrollCost()
507 TargetTransformInfo in analyzeLoopUnrollCost()
[all...]
H A DLoopUnrollAndJamPass.cpp27 #include "llvm/Analysis/TargetTransformInfo.h"
143 TargetTransformInfo::UnrollingPreferences &UP) { in getUnrollAndJammedLoopSize()
151 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT, in computeUnrollAndJamCount()
157 TargetTransformInfo::UnrollingPreferences &UP, in computeUnrollAndJamCount()
158 TargetTransformInfo::PeelingPreferences &PP) { in computeUnrollAndJamCount()
279 ScalarEvolution &SE, const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
282 TargetTransformInfo::UnrollingPreferences UP = gatherUnrollingPreferences( in tryToUnrollAndJamLoop()
285 TargetTransformInfo::PeelingPreferences PP = in tryToUnrollAndJamLoop()
425 const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp8 /// This file implements a TargetTransformInfo analysis pass specific to the
17 #include "llvm/Analysis/TargetTransformInfo.h"
73 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 in getInstructionCost()
[all...]
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h10 /// This file a TargetTransformInfo::Concept conforming object specific to the
38 using TTI = TargetTransformInfo;
65 using TTI = TargetTransformInfo;
83 return TargetTransformInfo::TCC_Basic; in getFullRateInstrCost()
88 : 2 * TargetTransformInfo::TCC_Basic; in getHalfRateInstrCost()
95 : 4 * TargetTransformInfo::TCC_Basic; in getQuarterRateInstrCost()
122 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind Vector) const;
/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp37 #include "llvm/Analysis/TargetTransformInfo.h"
285 TargetTransformInfo &TTI) { in getOutliningPenalty()
293 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in getOutliningPenalty()
360 const int CostForArgMaterialization = 2 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
368 const int CostForRegionOutput = 3 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
383 Penalty += (SuccsOutsideRegion.size() - 1) * TargetTransformInfo::TCC_Basic; in isSplittingBeneficial()
392 TargetTransformInfo &TTI) {
415 TargetTransformInfo &TTI, OptimizationRemarkEmitter &ORE) { in extractColdRegion()
669 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions()
817 std::function<TargetTransformInfo
[all...]
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h9 /// This file defines a TargetTransformInfo::Concept conforming object specific
22 #include "llvm/Analysis/TargetTransformInfo.h"
31 using TTI = TargetTransformInfo;
94 TargetTransformInfo::PopcntSupportKind getPopcntSupport(unsigned TyWidth);
108 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const;
311 TargetTransformInfo::VPLegalization in isLegalToVectorizeReduction()
313 using VPLegalization = TargetTransformInfo::VPLegalization; in isLegalToVectorizeReduction()
422 bool isLSRCostLess(const TargetTransformInfo::LSRCost &C1,
423 const TargetTransformInfo::LSRCost &C2);
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h13 #include "llvm/Analysis/TargetTransformInfo.h"
20 typedef TargetTransformInfo TTI;
63 bool isLSRCostLess(const TargetTransformInfo::LSRCost &C1,
64 const TargetTransformInfo::LSRCost &C2);
71 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const;
/llvm-project/polly/include/polly/
H A DMatmulOptimizer.h15 class TargetTransformInfo; variable
70 const llvm::TargetTransformInfo *TTI,

123456789