Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp136 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL) in TargetTransformInfo() function in TargetTransformInfo
139 TargetTransformInfo::~TargetTransformInfo() {} in ~TargetTransformInfo()
141 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) in TargetTransformInfo() function in TargetTransformInfo
144 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) { in operator =()
149 int TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, in getOperationCost()
156 int TargetTransformInfo::getCallCost(FunctionType *FTy, int NumArgs, in getCallCost()
163 int TargetTransformInfo::getCallCost(const Function *F, in getCallCost()
171 unsigned TargetTransformInfo::getInliningThresholdMultiplier() const { in getInliningThresholdMultiplier()
175 int TargetTransformInfo::getInlinerVectorBonusPercent() const { in getInlinerVectorBonusPercent()
179 int TargetTransformInfo::getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost()
[all …]
DCostModel.cpp30 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,
58 return TTI->getInstructionCost(I, TargetTransformInfo::TCK_RecipThroughput); in getInstructionCost()
69 const TargetTransformInfo *TTI;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp22 TargetTransformInfo::PopcntSupportKind
25 return TargetTransformInfo::PSK_FastHardware; in getPopcntSupport()
66 (TargetTransformInfo::TCC_Basic + in getArithmeticInstrCost()
68 TargetTransformInfo::TCC_Basic); in getArithmeticInstrCost()
81 return Cost + 25 * TargetTransformInfo::TCC_Expensive; in getVectorInstrCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DUnrollLoop.h95 TargetTransformInfo::UnrollingPreferences &UP,
113 bool computeUnrollCount(Loop *L, const TargetTransformInfo &TTI,
119 TargetTransformInfo::UnrollingPreferences &UP,
130 TargetTransformInfo::UnrollingPreferences gatherUnrollingPreferences(
131 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI,
141 const TargetTransformInfo &TTI,
DLowerMemIntrinsics.h24 class TargetTransformInfo; variable
33 const TargetTransformInfo &TTI);
41 const TargetTransformInfo &TTI);
45 void expandMemCpyAsLoop(MemCpyInst *MemCpy, const TargetTransformInfo &TTI);
DLoopUtils.h51 class TargetTransformInfo; variable
122 TargetLibraryInfo *, TargetTransformInfo *, Loop *,
322 const TargetTransformInfo *TTI,
324 TargetTransformInfo::ReductionFlags Flags =
325 TargetTransformInfo::ReductionFlags(),
332 Value *createTargetReduction(IRBuilder<> &B, const TargetTransformInfo *TTI,
DLoopRotationUtils.h25 class TargetTransformInfo; variable
33 bool LoopRotation(Loop *L, LoopInfo *LI, const TargetTransformInfo *TTI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DHotColdSplitting.h22 class TargetTransformInfo; variable
37 function_ref<TargetTransformInfo &(Function &)> GTTI, in HotColdSplitting()
50 TargetTransformInfo &TTI,
55 function_ref<TargetTransformInfo &(Function &)> GetTTI;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp196 TargetTransformInfo::PopcntSupportKind
510 if (Opd2Info == TargetTransformInfo::OK_UniformConstantValue && in getArithmeticInstrCost()
511 Opd2PropInfo == TargetTransformInfo::OP_PowerOf2) { in getArithmeticInstrCost()
517 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
518 TargetTransformInfo::OP_None); in getArithmeticInstrCost()
520 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
521 TargetTransformInfo::OP_None); in getArithmeticInstrCost()
523 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
524 TargetTransformInfo::OP_None); in getArithmeticInstrCost()
526 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.h43 using TTI = TargetTransformInfo;
68 using TTI = TargetTransformInfo;
109 return TargetTransformInfo::TCC_Basic; in getFullRateInstrCost()
113 return 2 * TargetTransformInfo::TCC_Basic; in getHalfRateInstrCost()
119 return 3 * TargetTransformInfo::TCC_Basic; in getQuarterRateInstrCost()
235 using TTI = TargetTransformInfo;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DHotColdSplitting.cpp226 TargetTransformInfo &TTI) { in getOutliningBenefit()
234 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in getOutliningBenefit()
253 const int CostForArgMaterialization = TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
259 const int CostForRegionOutput = 3 * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
294 Penalty += (SuccsOutsideRegion.size() - 1) * TargetTransformInfo::TCC_Basic; in getOutliningPenalty()
302 DominatorTree &DT, BlockFrequencyInfo *BFI, TargetTransformInfo &TTI, in extractColdRegion()
565 TargetTransformInfo &TTI = GetTTI(F); in outlineColdRegions()
682 auto GTTI = [this](Function &F) -> TargetTransformInfo & { in runOnModule()
715 std::function<TargetTransformInfo &(Function &)> GTTI = in run()
716 [&FAM](Function &F) -> TargetTransformInfo & { in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Vectorize/
DSLPVectorizer.h47 class TargetTransformInfo; variable
67 TargetTransformInfo *TTI = nullptr;
80 bool runImpl(Function &F, ScalarEvolution *SE_, TargetTransformInfo *TTI_,
119 TargetTransformInfo *TTI);
DLoopVectorize.h78 class TargetTransformInfo; variable
135 TargetTransformInfo *TTI;
150 TargetTransformInfo &TTI_, DominatorTree &DT_,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h111 class TargetTransformInfo {
118 template <typename T> TargetTransformInfo(T Impl);
125 explicit TargetTransformInfo(const DataLayout &DL);
128 TargetTransformInfo(TargetTransformInfo &&Arg);
129 TargetTransformInfo &operator=(TargetTransformInfo &&RHS);
133 ~TargetTransformInfo();
567 bool isLSRCostLess(TargetTransformInfo::LSRCost &C1,
568 TargetTransformInfo::LSRCost &C2) const;
1174 class TargetTransformInfo::Concept {
1228 virtual bool isLSRCostLess(TargetTransformInfo::LSRCost &C1,
[all …]
DInlineCost.h29 class TargetTransformInfo; variable
216 CallBase &Call, const InlineParams &Params, TargetTransformInfo &CalleeTTI,
228 TargetTransformInfo &CalleeTTI,
DCodeMetrics.h27 class TargetTransformInfo; variable
79 void analyzeBasicBlock(const BasicBlock *BB, const TargetTransformInfo &TTI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.h29 typedef TargetTransformInfo TTI;
110 TargetTransformInfo::CacheLevel Level) const;
112 TargetTransformInfo::CacheLevel Level) const;
185 bool isLSRCostLess(TargetTransformInfo::LSRCost &C1,
186 TargetTransformInfo::LSRCost &C2);
DX86TargetTransformInfo.cpp59 TargetTransformInfo::PopcntSupportKind
69 TargetTransformInfo::CacheLevel Level) const { in getCacheSize()
71 case TargetTransformInfo::CacheLevel::L1D: in getCacheSize()
82 case TargetTransformInfo::CacheLevel::L2D: in getCacheSize()
99 TargetTransformInfo::CacheLevel Level) const { in getCacheAssociativity()
110 case TargetTransformInfo::CacheLevel::L1D: in getCacheAssociativity()
112 case TargetTransformInfo::CacheLevel::L2D: in getCacheAssociativity()
250 (Op2Info == TargetTransformInfo::OK_UniformConstantValue || in getArithmeticInstrCost()
251 Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) && in getArithmeticInstrCost()
252 Opd2PropInfo == TargetTransformInfo::OP_PowerOf2) { in getArithmeticInstrCost()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollAndJamPass.cpp147 TargetTransformInfo::UnrollingPreferences &UP) { in getUnrollAndJammedLoopSize()
155 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT, in computeUnrollAndJamCount()
160 unsigned InnerLoopSize, TargetTransformInfo::UnrollingPreferences &UP) { in computeUnrollAndJamCount()
279 ScalarEvolution &SE, const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
297 TargetTransformInfo::UnrollingPreferences UP = in tryToUnrollAndJamLoop()
432 const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
481 const TargetTransformInfo &TTI = in runOnFunction()
527 TargetTransformInfo &TTI = AM.getResult<TargetIRAnalysis>(F); in run()
DPartiallyInlineLibCalls.cpp33 const TargetTransformInfo *TTI) { in optimizeSQRT()
91 const TargetTransformInfo *TTI) { in runPartiallyInlineLibCalls()
166 const TargetTransformInfo *TTI = in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DNaryReassociate.h98 class TargetTransformInfo; variable
109 TargetTransformInfo *TTI_);
172 TargetTransformInfo *TTI;
DRewriteStatepointsForGC.h26 class TargetTransformInfo; variable
32 bool runOnFunction(Function &F, DominatorTree &, TargetTransformInfo &,
DSpeculativeExecution.h77 bool runImpl(Function &F, TargetTransformInfo *TTI);
87 TargetTransformInfo *TTI = nullptr;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h80 using TTI = TargetTransformInfo;
296 return TargetTransformInfo::TCC_Free; in getExtCost()
301 return TargetTransformInfo::TCC_Free; in getExtCost()
303 return TargetTransformInfo::TCC_Basic; in getExtCost()
315 return TargetTransformInfo::TCC_Basic; in getIntrinsicCost()
316 return TargetTransformInfo::TCC_Expensive; in getIntrinsicCost()
321 return TargetTransformInfo::TCC_Basic; in getIntrinsicCost()
322 return TargetTransformInfo::TCC_Expensive; in getIntrinsicCost()
410 return TargetTransformInfo::TCC_Basic; in getFPOpCost()
411 return TargetTransformInfo::TCC_Expensive; in getFPOpCost()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.h20 typedef TargetTransformInfo TTI;
52 bool isLSRCostLess(TargetTransformInfo::LSRCost &C1,
53 TargetTransformInfo::LSRCost &C2);

123456