Home
last modified time | relevance | path

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

12345678

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp202 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL) in TargetTransformInfo() function in TargetTransformInfo
205 TargetTransformInfo::~TargetTransformInfo() = default;
207 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) in TargetTransformInfo() function in TargetTransformInfo
210 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) { in operator =()
244 InstructionCost TargetTransformInfo::getGEPCost( in getGEPCost()
474 bool TargetTransformInfo::isLegalAltInstr( in isLegalAltInstr()
598 TargetTransformInfo::MemCmpExpansionOptions
634 TargetTransformInfo::PopcntSupportKind
713 TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth()
806 TargetTransformInfo::OperandValueInfo
[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,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DUnrollLoop.h80 const llvm::TargetTransformInfo *TTI,
88 const TargetTransformInfo *TTI, bool PreserveLCSSA,
95 const TargetTransformInfo *TTI,
105 const TargetTransformInfo *TTI);
109 TargetTransformInfo::UnrollingPreferences gatherUnrollingPreferences(
110 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI,
130 UnrollCostEstimator(const Loop *L, const TargetTransformInfo &TTI,
142 getUnrolledLoopSize(const TargetTransformInfo::UnrollingPreferences &UP,
146 bool computeUnrollCount(Loop *L, const TargetTransformInfo &TTI,
153 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.h30 class TargetTransformInfo; variable
51 LoopInfo *LI, const TargetTransformInfo *TTI,
58 LoopInfo *LI, const TargetTransformInfo *TTI,
H A DLoopRotationUtils.h25 class TargetTransformInfo; variable
33 bool LoopRotation(Loop *L, LoopInfo *LI, const TargetTransformInfo *TTI,
/freebsd-14.2/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()
/freebsd-14.2/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()
36 case TargetTransformInfo::RGK_ScalableVector: in getRegisterBitWidth()
/freebsd-14.2/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()
/freebsd-14.2/contrib/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,
327 CallBase &Call, TargetTransformInfo &CalleeTTI,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DHotColdSplitting.h23 class TargetTransformInfo; variable
38 function_ref<TargetTransformInfo &(Function &)> GTTI, in HotColdSplitting()
56 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;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DSpeculativeExecution.h68 class TargetTransformInfo; variable
80 bool runImpl(Function &F, TargetTransformInfo *TTI);
90 TargetTransformInfo *TTI = nullptr;
H A DRewriteStatepointsForGC.h26 class TargetTransformInfo; variable
32 bool runOnFunction(Function &F, DominatorTree &, TargetTransformInfo &,
H A DNaryReassociate.h98 class TargetTransformInfo; variable
109 TargetTransformInfo *TTI_);
185 TargetTransformInfo *TTI;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h45 class TargetTransformInfo; variable
65 TargetTransformInfo *TTI = nullptr;
78 bool runImpl(Function &F, ScalarEvolution *SE_, TargetTransformInfo *TTI_,
124 TargetTransformInfo *TTI,
132 TargetTransformInfo *TTI);
/freebsd-14.2/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()
236 const TargetTransformInfo &TTI = LookupTTI(*ParentFunc); in expandMemIntrinsicUses()
253 const TargetTransformInfo &TTI = LookupTTI(*ParentFunc); in expandMemIntrinsicUses()
382 auto LookupTTI = [this](Function &F) -> TargetTransformInfo & { in runOnModule()
413 auto LookupTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run()
/freebsd-14.2/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()
424 const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
H A DLoopUnrollPass.cpp191 TargetTransformInfo::UnrollingPreferences UP; in gatherUnrollingPreferences()
405 TargetTransformInfo::TargetCostKind CostKind = in analyzeLoopUnrollCost()
407 TargetTransformInfo::TCK_CodeSize : in analyzeLoopUnrollCost()
408 TargetTransformInfo::TCK_SizeAndLatency; in analyzeLoopUnrollCost()
489 TargetTransformInfo::TargetCostKind CostKind = in analyzeLoopUnrollCost()
491 TargetTransformInfo::TCK_CodeSize : TargetTransformInfo::TCK_SizeAndLatency; in analyzeLoopUnrollCost()
669 const Loop *L, const TargetTransformInfo &TTI, in UnrollCostEstimator()
691 const TargetTransformInfo::UnrollingPreferences &UP, in getUnrolledLoopSize()
794 const TargetTransformInfo::UnrollingPreferences &UP) { in shouldFullUnroll()
882 TargetTransformInfo::UnrollingPreferences &UP, in computeUnrollCount()
[all …]
/freebsd-14.2/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;
/freebsd-14.2/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()
198 getRegisterBitWidth(TargetTransformInfo::RGK_FixedWidthVector) in getMemoryOpCost()
402 return TargetTransformInfo::TCC_Free; in getInstructionCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h31 using TTI = TargetTransformInfo;
78 TargetTransformInfo::PopcntSupportKind getPopcntSupport(unsigned TyWidth);
92 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const;
259 TargetTransformInfo::VPLegalization
261 using VPLegalization = TargetTransformInfo::VPLegalization; in getVPLegalizationStrategy()
361 bool isLSRCostLess(const TargetTransformInfo::LSRCost &C1,
362 const TargetTransformInfo::LSRCost &C2);
/freebsd-14.2/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;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp271 TargetTransformInfo &TTI) { in getOutliningBenefit()
279 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in getOutliningBenefit()
346 const int CostForArgMaterialization = 2 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
354 const int CostForRegionOutput = 3 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
369 Penalty += (SuccsOutsideRegion.size() - 1) * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
377 DominatorTree &DT, BlockFrequencyInfo *BFI, TargetTransformInfo &TTI, in extractColdRegion()
650 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions()
771 std::function<TargetTransformInfo &(Function &)> GTTI = in run()
772 [&FAM](Function &F) -> TargetTransformInfo & { in run()

12345678