Home
last modified time | relevance | path

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

123456789

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp184 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL) in TargetTransformInfo() function in TargetTransformInfo
187 TargetTransformInfo::~TargetTransformInfo() = default;
189 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) in TargetTransformInfo() function in TargetTransformInfo
192 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) { in operator =()
224 TargetTransformInfo::getUserCost(const User *U, in getUserCost()
417 bool TargetTransformInfo::isLegalAltInstr( in isLegalAltInstr()
536 TargetTransformInfo::MemCmpExpansionOptions
562 TargetTransformInfo::PopcntSupportKind
631 TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth()
711 TargetTransformInfo::OperandValueKind
[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,
65 return TTI->getInstructionCost(I, TargetTransformInfo::TCK_RecipThroughput); in getInstructionCost()
76 const TargetTransformInfo *TTI = nullptr;
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DUnrollLoop.h80 const llvm::TargetTransformInfo *TTI,
88 const TargetTransformInfo *TTI, bool PreserveLCSSA,
95 const TargetTransformInfo *TTI,
102 bool computeUnrollCount(Loop *L, const TargetTransformInfo &TTI,
108 TargetTransformInfo::UnrollingPreferences &UP,
109 TargetTransformInfo::PeelingPreferences &PP,
115 const TargetTransformInfo *TTI);
119 TargetTransformInfo::UnrollingPreferences gatherUnrollingPreferences(
120 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI,
128 bool &NotDuplicatable, bool &Convergent, const TargetTransformInfo &TTI,
H A DLowerMemIntrinsics.h28 class TargetTransformInfo; variable
38 const TargetTransformInfo &TTI,
47 bool CanOverlap, const TargetTransformInfo &TTI,
51 void expandMemCpyAsLoop(MemCpyInst *MemCpy, const TargetTransformInfo &TTI,
62 const TargetTransformInfo &TTI,
H A DLoopPeel.h26 TargetTransformInfo::PeelingPreferences
28 const TargetTransformInfo &TTI,
34 TargetTransformInfo::PeelingPreferences &PP,
H A DSimplifyIndVar.h30 class TargetTransformInfo; variable
51 LoopInfo *LI, const TargetTransformInfo *TTI,
58 LoopInfo *LI, const TargetTransformInfo *TTI,
H A DLoopUtils.h26 class TargetTransformInfo; variable
151 TargetTransformInfo *, Loop *CurLoop, MemorySSAUpdater &,
159 TargetLibraryInfo *, TargetTransformInfo *, Loop *,
386 const TargetTransformInfo *TTI, Value *Src,
393 const TargetTransformInfo *TTI,
402 Value *createTargetReduction(IRBuilderBase &B, const TargetTransformInfo *TTI,
452 ScalarEvolution *SE, const TargetTransformInfo *TTI,
/llvm-project-15.0.7/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()
76 (TargetTransformInfo::TCC_Basic + in getArithmeticInstrCost()
78 TargetTransformInfo::TCC_Basic); in getArithmeticInstrCost()
93 return Cost + 25 * TargetTransformInfo::TCC_Expensive; in getVectorInstrCost()
/llvm-project-15.0.7/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-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DHotColdSplitting.h22 class TargetTransformInfo; variable
37 function_ref<TargetTransformInfo &(Function &)> GTTI, in HotColdSplitting()
50 TargetTransformInfo &TTI,
55 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-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DSpeculativeExecution.h68 class TargetTransformInfo; variable
77 bool runImpl(Function &F, TargetTransformInfo *TTI);
87 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;
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DInlineCost.h32 class TargetTransformInfo; variable
262 TargetTransformInfo &CalleeTTI,
276 TargetTransformInfo &CalleeTTI,
290 CallBase &Call, Function *Callee, TargetTransformInfo &CalleeTTI,
302 CallBase &Call, TargetTransformInfo &CalleeTTI,
311 CallBase &Call, TargetTransformInfo &CalleeTTI,
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h36 using TTI = TargetTransformInfo;
61 using TTI = TargetTransformInfo;
78 return TargetTransformInfo::TCC_Basic; in getFullRateInstrCost()
83 : 2 * TargetTransformInfo::TCC_Basic; in getHalfRateInstrCost()
90 : 4 * TargetTransformInfo::TCC_Basic; in getQuarterRateInstrCost()
116 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind Vector) const;
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp191 TargetTransformInfo::UnrollingPreferences UP; in gatherUnrollingPreferences()
402 TargetTransformInfo::TargetCostKind CostKind = in analyzeLoopUnrollCost()
404 TargetTransformInfo::TCK_CodeSize : in analyzeLoopUnrollCost()
405 TargetTransformInfo::TCK_SizeAndLatency; in analyzeLoopUnrollCost()
486 TargetTransformInfo::TargetCostKind CostKind = in analyzeLoopUnrollCost()
488 TargetTransformInfo::TCK_CodeSize : TargetTransformInfo::TCK_SizeAndLatency; in analyzeLoopUnrollCost()
668 const TargetTransformInfo &TTI, in ApproximateLoopSize()
807 const TargetTransformInfo::UnrollingPreferences &UP) { in shouldFullUnroll()
894 TargetTransformInfo::UnrollingPreferences &UP, in computeUnrollCount()
1123 const TargetTransformInfo &TTI, AssumptionCache &AC, in tryToUnrollLoop()
[all …]
H A DLoopUnrollAndJamPass.cpp150 TargetTransformInfo::UnrollingPreferences &UP) { in getUnrollAndJammedLoopSize()
158 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT, in computeUnrollAndJamCount()
163 unsigned InnerLoopSize, TargetTransformInfo::UnrollingPreferences &UP, in computeUnrollAndJamCount()
164 TargetTransformInfo::PeelingPreferences &PP) { in computeUnrollAndJamCount()
284 ScalarEvolution &SE, const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
287 TargetTransformInfo::UnrollingPreferences UP = in tryToUnrollAndJamLoop()
290 TargetTransformInfo::PeelingPreferences PP = in tryToUnrollAndJamLoop()
439 const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp49 function_ref<TargetTransformInfo &(Function &)> GetTTI, bool LazyBFI) { in runCGProfilePass()
52 auto UpdateCounts = [&](TargetTransformInfo &TTI, Function *F, in runCGProfilePass()
74 TargetTransformInfo &TTI = GetTTI(F); in runCGProfilePass()
110 auto GetTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h45 class TargetTransformInfo; variable
63 TargetTransformInfo *TTI = nullptr;
76 bool runImpl(Function &F, ScalarEvolution *SE_, TargetTransformInfo *TTI_,
115 TargetTransformInfo *TTI);
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp58 TargetTransformInfo::PopcntSupportKind
62 return TargetTransformInfo::PSK_FastHardware; in getPopcntSupport()
103 HexagonTTIImpl::getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth()
105 case TargetTransformInfo::RGK_Scalar: in getRegisterBitWidth()
107 case TargetTransformInfo::RGK_FixedWidthVector: in getRegisterBitWidth()
109 case TargetTransformInfo::RGK_ScalableVector: in getRegisterBitWidth()
179 getRegisterBitWidth(TargetTransformInfo::RGK_FixedWidthVector) in getMemoryOpCost()
368 return TargetTransformInfo::TCC_Free; in getUserCost()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp230 TargetTransformInfo &TTI) { in getOutliningBenefit()
238 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in getOutliningBenefit()
305 const int CostForArgMaterialization = 2 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
313 const int CostForRegionOutput = 3 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
328 Penalty += (SuccsOutsideRegion.size() - 1) * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
336 DominatorTree &DT, BlockFrequencyInfo *BFI, TargetTransformInfo &TTI, in extractColdRegion()
606 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions()
721 auto GTTI = [this](Function &F) -> TargetTransformInfo & { in runOnModule()
754 std::function<TargetTransformInfo &(Function &)> GTTI = in run()
755 [&FAM](Function &F) -> TargetTransformInfo & { in run()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h20 typedef TargetTransformInfo TTI;
62 bool isLSRCostLess(const TargetTransformInfo::LSRCost &C1,
63 const TargetTransformInfo::LSRCost &C2);
70 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const;
/llvm-project-15.0.7/polly/include/polly/
H A DMatmulOptimizer.h15 class TargetTransformInfo; variable
70 const llvm::TargetTransformInfo *TTI,
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h30 using TTI = TargetTransformInfo;
56 TargetTransformInfo::PopcntSupportKind getPopcntSupport(unsigned TyWidth);
67 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const;
186 TargetTransformInfo::VPLegalization
188 using VPLegalization = TargetTransformInfo::VPLegalization; in getVPLegalizationStrategy()

123456789