| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 179 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL) in TargetTransformInfo() function in TargetTransformInfo 182 TargetTransformInfo::~TargetTransformInfo() {} in ~TargetTransformInfo() 184 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) in TargetTransformInfo() function in TargetTransformInfo 187 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) { in operator =() 219 TargetTransformInfo::getUserCost(const User *U, in getUserCost() 490 TargetTransformInfo::MemCmpExpansionOptions 516 TargetTransformInfo::PopcntSupportKind 585 TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth() 654 TargetTransformInfo::OperandValueKind 1030 TargetTransformInfo::VPLegalization [all …]
|
| H A D | CostModel.cpp | 30 static cl::opt<TargetTransformInfo::TargetCostKind> CostKind( 32 cl::init(TargetTransformInfo::TCK_RecipThroughput), 33 cl::values(clEnumValN(TargetTransformInfo::TCK_RecipThroughput, 35 clEnumValN(TargetTransformInfo::TCK_Latency, 37 clEnumValN(TargetTransformInfo::TCK_CodeSize, 39 clEnumValN(TargetTransformInfo::TCK_SizeAndLatency, 61 return TTI->getInstructionCost(I, TargetTransformInfo::TCK_RecipThroughput); in getInstructionCost() 72 const TargetTransformInfo *TTI;
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | UnrollLoop.h | 79 const llvm::TargetTransformInfo *TTI, 87 const TargetTransformInfo *TTI, bool PreserveLCSSA, 94 const TargetTransformInfo *TTI, 101 bool computeUnrollCount(Loop *L, const TargetTransformInfo &TTI, 107 TargetTransformInfo::UnrollingPreferences &UP, 108 TargetTransformInfo::PeelingPreferences &PP, 114 const TargetTransformInfo *TTI); 118 TargetTransformInfo::UnrollingPreferences gatherUnrollingPreferences( 119 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI, 127 const TargetTransformInfo &TTI,
|
| H A D | LowerMemIntrinsics.h | 24 class TargetTransformInfo; variable 34 const TargetTransformInfo &TTI); 42 const TargetTransformInfo &TTI); 45 void expandMemCpyAsLoop(MemCpyInst *MemCpy, const TargetTransformInfo &TTI);
|
| H A D | LoopPeel.h | 26 TargetTransformInfo::PeelingPreferences 28 const TargetTransformInfo &TTI, 34 TargetTransformInfo::PeelingPreferences &PP,
|
| H A D | SimplifyIndVar.h | 31 class TargetTransformInfo; variable 52 LoopInfo *LI, const TargetTransformInfo *TTI, 59 LoopInfo *LI, const TargetTransformInfo *TTI,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyTargetTransformInfo.cpp | 22 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VETargetTransformInfo.h | 53 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth() 55 case TargetTransformInfo::RGK_Scalar: in getRegisterBitWidth() 57 case TargetTransformInfo::RGK_FixedWidthVector: in getRegisterBitWidth() 60 case TargetTransformInfo::RGK_ScalableVector: in getRegisterBitWidth() 69 TargetTransformInfo::VPLegalization 71 using VPLegalization = TargetTransformInfo::VPLegalization; in getVPLegalizationStrategy()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.h | 29 using TTI = TargetTransformInfo; 54 TargetTransformInfo::PopcntSupportKind getPopcntSupport(unsigned TyWidth); 60 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth() 62 case TargetTransformInfo::RGK_Scalar: in getRegisterBitWidth() 64 case TargetTransformInfo::RGK_FixedWidthVector: in getRegisterBitWidth() 67 case TargetTransformInfo::RGK_ScalableVector: in getRegisterBitWidth() 145 TargetTransformInfo::VPLegalization 147 using VPLegalization = TargetTransformInfo::VPLegalization; in getVPLegalizationStrategy()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | HotColdSplitting.h | 22 class TargetTransformInfo; variable 37 function_ref<TargetTransformInfo &(Function &)> GTTI, in HotColdSplitting() 50 TargetTransformInfo &TTI, 55 function_ref<TargetTransformInfo &(Function &)> GetTTI;
|
| H A D | IROutliner.h | 57 class TargetTransformInfo; variable 154 InstructionCost getBenefit(TargetTransformInfo &TTI); 165 IROutliner(function_ref<TargetTransformInfo &(Function &)> GTTI, in IROutliner() 276 function_ref<TargetTransformInfo &(Function &)> getTTI;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.h | 40 using TTI = TargetTransformInfo; 64 using TTI = TargetTransformInfo; 82 return TargetTransformInfo::TCC_Basic; in getFullRateInstrCost() 88 : 2 * TargetTransformInfo::TCC_Basic; 96 : 4 * TargetTransformInfo::TCC_Basic; 124 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind Vector) const; 227 using TTI = TargetTransformInfo; 247 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind Vector) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InlineCost.h | 30 class TargetTransformInfo; variable 252 TargetTransformInfo &CalleeTTI, 266 TargetTransformInfo &CalleeTTI, 280 CallBase &Call, Function *Callee, TargetTransformInfo &CalleeTTI, 292 CallBase &Call, TargetTransformInfo &CalleeTTI, 301 CallBase &Call, TargetTransformInfo &CalleeTTI,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | CGProfile.cpp | 51 function_ref<TargetTransformInfo &(Function &)> GetTTI, bool LazyBFI) { in runCGProfilePass() 54 auto UpdateCounts = [&](TargetTransformInfo &TTI, Function *F, in runCGProfilePass() 74 TargetTransformInfo &TTI = GetTTI(F); in runCGProfilePass() 121 auto GetTTI = [this](Function &F) -> TargetTransformInfo & { in runOnModule() 146 auto GetTTI = [&FAM](Function &F) -> TargetTransformInfo & { in run()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | SLPVectorizer.h | 47 class TargetTransformInfo; variable 65 TargetTransformInfo *TTI = nullptr; 78 bool runImpl(Function &F, ScalarEvolution *SE_, TargetTransformInfo *TTI_, 115 TargetTransformInfo *TTI);
|
| H A D | LoopVectorize.h | 78 class TargetTransformInfo; variable 144 TargetTransformInfo *TTI; 160 TargetTransformInfo &TTI_, DominatorTree &DT_,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 58 TargetTransformInfo::PopcntSupportKind 62 return TargetTransformInfo::PSK_FastHardware; in getPopcntSupport() 102 HexagonTTIImpl::getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth() 104 case TargetTransformInfo::RGK_Scalar: in getRegisterBitWidth() 106 case TargetTransformInfo::RGK_FixedWidthVector: in getRegisterBitWidth() 108 case TargetTransformInfo::RGK_ScalableVector: in getRegisterBitWidth() 178 getRegisterBitWidth(TargetTransformInfo::RGK_FixedWidthVector) in getMemoryOpCost() 366 return TargetTransformInfo::TCC_Free; in getUserCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | HotColdSplitting.cpp | 242 TargetTransformInfo &TTI) { in getOutliningBenefit() 250 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in getOutliningBenefit() 317 const int CostForArgMaterialization = 2 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty() 325 const int CostForRegionOutput = 3 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty() 340 Penalty += (SuccsOutsideRegion.size() - 1) * TargetTransformInfo::TCC_Basic; in getOutliningPenalty() 348 DominatorTree &DT, BlockFrequencyInfo *BFI, TargetTransformInfo &TTI, in extractColdRegion() 618 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions() 733 auto GTTI = [this](Function &F) -> TargetTransformInfo & { in runOnModule() 766 std::function<TargetTransformInfo &(Function &)> GTTI = in run() 767 [&FAM](Function &F) -> TargetTransformInfo & { in run()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 29 typedef TargetTransformInfo TTI; 110 TargetTransformInfo::CacheLevel Level) const override; 112 TargetTransformInfo::CacheLevel Level) const override; 119 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const; 224 bool isLSRCostLess(TargetTransformInfo::LSRCost &C1, 225 TargetTransformInfo::LSRCost &C2);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.h | 20 typedef TargetTransformInfo TTI; 60 bool isLSRCostLess(TargetTransformInfo::LSRCost &C1, 61 TargetTransformInfo::LSRCost &C2); 68 TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | RewriteStatepointsForGC.h | 26 class TargetTransformInfo; variable 32 bool runOnFunction(Function &F, DominatorTree &, TargetTransformInfo &,
|
| H A D | NaryReassociate.h | 98 class TargetTransformInfo; variable 109 TargetTransformInfo *TTI_); 185 TargetTransformInfo *TTI;
|
| H A D | SpeculativeExecution.h | 77 bool runImpl(Function &F, TargetTransformInfo *TTI); 87 TargetTransformInfo *TTI = nullptr;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollPass.cpp | 186 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI, in gatherUnrollingPreferences() 191 TargetTransformInfo::UnrollingPreferences UP; in gatherUnrollingPreferences() 392 TargetTransformInfo::TargetCostKind CostKind = in analyzeLoopUnrollCost() 394 TargetTransformInfo::TCK_CodeSize : in analyzeLoopUnrollCost() 395 TargetTransformInfo::TCK_SizeAndLatency; in analyzeLoopUnrollCost() 476 TargetTransformInfo::TargetCostKind CostKind = in analyzeLoopUnrollCost() 478 TargetTransformInfo::TCK_CodeSize : TargetTransformInfo::TCK_SizeAndLatency; in analyzeLoopUnrollCost() 658 const TargetTransformInfo &TTI, in ApproximateLoopSize() 769 TargetTransformInfo::UnrollingPreferences &UP, in computeUnrollCount() 1051 const TargetTransformInfo &TTI, AssumptionCache &AC, in tryToUnrollLoop() [all …]
|
| H A D | LoopUnrollAndJamPass.cpp | 151 TargetTransformInfo::UnrollingPreferences &UP) { in getUnrollAndJammedLoopSize() 159 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT, in computeUnrollAndJamCount() 164 unsigned InnerLoopSize, TargetTransformInfo::UnrollingPreferences &UP, in computeUnrollAndJamCount() 165 TargetTransformInfo::PeelingPreferences &PP) { in computeUnrollAndJamCount() 285 ScalarEvolution &SE, const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop() 288 TargetTransformInfo::UnrollingPreferences UP = in tryToUnrollAndJamLoop() 291 TargetTransformInfo::PeelingPreferences PP = in tryToUnrollAndJamLoop() 431 const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
|