Home
last modified time | relevance | path

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

123456789

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp185 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL) in TargetTransformInfo() function in TargetTransformInfo
188 TargetTransformInfo::~TargetTransformInfo() = default;
190 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) in TargetTransformInfo() function in TargetTransformInfo
193 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) { in operator =()
198 unsigned TargetTransformInfo::getInliningThresholdMultiplier() const { in getInliningThresholdMultiplier()
203 TargetTransformInfo::adjustInliningThreshold(const CallBase *CB) const { in adjustInliningThreshold()
207 int TargetTransformInfo::getInlinerVectorBonusPercent() const { in getInlinerVectorBonusPercent()
212 TargetTransformInfo::getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost()
218 unsigned TargetTransformInfo::getEstimatedNumberOfCaseClusters( in getEstimatedNumberOfCaseClusters()
225 TargetTransformInfo::getInstructionCost(const User *U, in getInstructionCost()
[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,
68 const TargetTransformInfo *TTI = nullptr;
/openbsd-src/gnu/llvm/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,
109 TargetTransformInfo::UnrollingPreferences &UP,
110 TargetTransformInfo::PeelingPreferences &PP,
116 const TargetTransformInfo *TTI);
120 TargetTransformInfo::UnrollingPreferences gatherUnrollingPreferences(
121 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI,
130 bool &NotDuplicatable, bool &Convergent, const TargetTransformInfo &TTI,
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,
61 const TargetTransformInfo &TTI,
H A DLoopPeel.h30 TargetTransformInfo::PeelingPreferences
32 const TargetTransformInfo &TTI,
38 TargetTransformInfo::PeelingPreferences &PP,
H A DLoopUtils.h27 class TargetTransformInfo; variable
149 TargetLibraryInfo *, TargetTransformInfo *, Loop *CurLoop,
158 TargetTransformInfo *, Loop *, MemorySSAUpdater &,
212 const TargetLibraryInfo *, TargetTransformInfo *, Loop *,
385 const TargetTransformInfo *TTI, Value *Src,
392 const TargetTransformInfo *TTI,
401 Value *createTargetReduction(IRBuilderBase &B, const TargetTransformInfo *TTI,
451 ScalarEvolution *SE, const TargetTransformInfo *TTI,
H A DSimplifyIndVar.h30 class TargetTransformInfo; variable
51 LoopInfo *LI, const TargetTransformInfo *TTI,
58 LoopInfo *LI, const TargetTransformInfo *TTI,
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/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_,
129 TargetTransformInfo *TTI,
137 TargetTransformInfo *TTI);
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DInlineCost.h32 class TargetTransformInfo; variable
277 TargetTransformInfo &CalleeTTI,
291 TargetTransformInfo &CalleeTTI,
305 CallBase &Call, Function *Callee, TargetTransformInfo &CalleeTTI,
317 CallBase &Call, TargetTransformInfo &CalleeTTI,
326 CallBase &Call, TargetTransformInfo &CalleeTTI,
H A DLegacyDivergenceAnalysis.h30 class TargetTransformInfo; variable
57 const TargetTransformInfo &TTI,
60 void run(Function &F, TargetTransformInfo &TTI, DominatorTree &DT,
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h37 using TTI = TargetTransformInfo;
62 using TTI = TargetTransformInfo;
79 return TargetTransformInfo::TCC_Basic; in getFullRateInstrCost()
84 : 2 * TargetTransformInfo::TCC_Basic; in getHalfRateInstrCost()
91 : 4 * TargetTransformInfo::TCC_Basic; in getQuarterRateInstrCost()
119 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind Vector) const;
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp50 function_ref<TargetTransformInfo &(Function &)> GetTTI, bool LazyBFI) { in runCGProfilePass()
53 auto UpdateCounts = [&](TargetTransformInfo &TTI, Function *F, in runCGProfilePass()
75 TargetTransformInfo &TTI = GetTTI(F); in runCGProfilePass()
111 auto GetTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h31 using TTI = TargetTransformInfo;
74 TargetTransformInfo::PopcntSupportKind getPopcntSupport(unsigned TyWidth);
86 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const;
243 TargetTransformInfo::VPLegalization
245 using VPLegalization = TargetTransformInfo::VPLegalization; in getVPLegalizationStrategy()
340 bool isLSRCostLess(const TargetTransformInfo::LSRCost &C1,
341 const TargetTransformInfo::LSRCost &C2);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp183 TargetTransformInfo::UnrollingPreferences llvm::gatherUnrollingPreferences( in gatherUnrollingPreferences()
184 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI, in gatherUnrollingPreferences()
191 TargetTransformInfo::UnrollingPreferences UP; in gatherUnrollingPreferences()
349 const TargetTransformInfo &TTI, unsigned MaxUnrolledLoopSize, in analyzeLoopUnrollCost()
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()
[all …]
H A DLoopUnrollAndJamPass.cpp148 TargetTransformInfo::UnrollingPreferences &UP) { in getUnrollAndJammedLoopSize()
156 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT, in computeUnrollAndJamCount()
161 unsigned InnerLoopSize, TargetTransformInfo::UnrollingPreferences &UP, in computeUnrollAndJamCount()
162 TargetTransformInfo::PeelingPreferences &PP) { in computeUnrollAndJamCount()
282 ScalarEvolution &SE, const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
285 TargetTransformInfo::UnrollingPreferences UP = gatherUnrollingPreferences( in tryToUnrollAndJamLoop()
288 TargetTransformInfo::PeelingPreferences PP = in tryToUnrollAndJamLoop()
437 const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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;

123456789