Home
last modified time | relevance | path

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

12345678910>>...16

/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp37 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL) in TargetTransformInfo() function in TargetTransformInfo
40 TargetTransformInfo::~TargetTransformInfo() {} in ~TargetTransformInfo()
42 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) in TargetTransformInfo() function in TargetTransformInfo
45 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) { in operator =()
50 int TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, in getOperationCost()
57 int TargetTransformInfo::getCallCost(FunctionType *FTy, int NumArgs) const { in getCallCost()
63 int TargetTransformInfo::getCallCost(const Function *F, in getCallCost()
70 unsigned TargetTransformInfo::getInliningThresholdMultiplier() const { in getInliningThresholdMultiplier()
74 int TargetTransformInfo::getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost()
79 int TargetTransformInfo::getIntrinsicCost( in getIntrinsicCost()
[all …]
DCostModel.cpp64 const TargetTransformInfo *TTI;
124 static TargetTransformInfo::OperandValueKind getOperandInfo(Value *V) { in getOperandInfo()
125 TargetTransformInfo::OperandValueKind OpInfo = in getOperandInfo()
126 TargetTransformInfo::OK_AnyValue; in getOperandInfo()
130 OpInfo = TargetTransformInfo::OK_NonUniformConstantValue; in getOperandInfo()
132 OpInfo = TargetTransformInfo::OK_UniformConstantValue; in getOperandInfo()
409 TargetTransformInfo::OperandValueKind Op1VK = in getInstructionCost()
411 TargetTransformInfo::OperandValueKind Op2VK = in getInstructionCost()
492 return TTI->getShuffleCost(TargetTransformInfo::SK_Reverse, VecTypOp0, in getInstructionCost()
495 return TTI->getShuffleCost(TargetTransformInfo::SK_Alternate, in getInstructionCost()
/external/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;
/external/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp233 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL) in TargetTransformInfo() function in TargetTransformInfo
236 TargetTransformInfo::~TargetTransformInfo() {} in ~TargetTransformInfo()
238 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) in TargetTransformInfo() function in TargetTransformInfo
241 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) { in operator =()
246 unsigned TargetTransformInfo::getInliningThresholdMultiplier() const { in getInliningThresholdMultiplier()
250 int TargetTransformInfo::getInlinerVectorBonusPercent() const { in getInlinerVectorBonusPercent()
254 int TargetTransformInfo::getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost()
260 unsigned TargetTransformInfo::getEstimatedNumberOfCaseClusters( in getEstimatedNumberOfCaseClusters()
266 int TargetTransformInfo::getUserCost(const User *U, in getUserCost()
275 bool TargetTransformInfo::hasBranchDivergence() const { in hasBranchDivergence()
[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,
39 clEnumValN(TargetTransformInfo::TCK_SizeAndLatency,
61 return TTI->getInstructionCost(I, TargetTransformInfo::TCK_RecipThroughput); in getInstructionCost()
72 const TargetTransformInfo *TTI;
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DUnrollLoop.h84 const llvm::TargetTransformInfo *TTI,
92 const TargetTransformInfo *TTI, bool PreserveLCSSA,
99 const TargetTransformInfo *TTI,
106 bool computeUnrollCount(Loop *L, const TargetTransformInfo &TTI,
112 TargetTransformInfo::UnrollingPreferences &UP,
113 TargetTransformInfo::PeelingPreferences &PP,
119 const TargetTransformInfo *TTI);
123 TargetTransformInfo::UnrollingPreferences gatherUnrollingPreferences(
124 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI,
132 const TargetTransformInfo &TTI,
DLowerMemIntrinsics.h24 class TargetTransformInfo; variable
34 const TargetTransformInfo &TTI);
42 const TargetTransformInfo &TTI);
45 void expandMemCpyAsLoop(MemCpyInst *MemCpy, const TargetTransformInfo &TTI);
DLoopPeel.h26 TargetTransformInfo::PeelingPreferences
28 const TargetTransformInfo &TTI,
34 TargetTransformInfo::PeelingPreferences &PP,
DSimplifyIndVar.h31 class TargetTransformInfo; variable
52 LoopInfo *LI, const TargetTransformInfo *TTI,
59 LoopInfo *LI, const TargetTransformInfo *TTI,
/external/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()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp23 TargetTransformInfo::PopcntSupportKind
26 return TargetTransformInfo::PSK_FastHardware; in getPopcntSupport()
65 (TargetTransformInfo::TCC_Basic + in getArithmeticInstrCost()
67 TargetTransformInfo::TCC_Basic); in getArithmeticInstrCost()
80 return Cost + 25 * TargetTransformInfo::TCC_Expensive; in getVectorInstrCost()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLowerMemIntrinsics.h24 class TargetTransformInfo; variable
33 const TargetTransformInfo &TTI);
41 const TargetTransformInfo &TTI);
45 void expandMemCpyAsLoop(MemCpyInst *MemCpy, const TargetTransformInfo &TTI);
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,
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,
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp22 TargetTransformInfo::PopcntSupportKind
25 return TargetTransformInfo::PSK_FastHardware; in getPopcntSupport()
68 (TargetTransformInfo::TCC_Basic + in getArithmeticInstrCost()
70 TargetTransformInfo::TCC_Basic); in getArithmeticInstrCost()
83 return Cost + 25 * TargetTransformInfo::TCC_Expensive; in getVectorInstrCost()
/external/llvm-project/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;
/external/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;
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dtarget_machine_features.h83 llvm::TargetTransformInfo* tti = GetTargetTransformInfoFor(function); in vector_register_byte_size()
94 llvm::TargetTransformInfo* tti = GetTargetTransformInfoFor(function); in vector_register_count()
102 llvm::TargetTransformInfo* GetTargetTransformInfoFor(
112 mutable absl::flat_hash_map<const llvm::Function*, llvm::TargetTransformInfo>
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.h30 typedef TargetTransformInfo TTI;
41 return TargetTransformInfo::TCC_Basic; in getFullRateInstrCost()
45 return 2 * TargetTransformInfo::TCC_Basic; in getHalfRateInstrCost()
51 return 3 * TargetTransformInfo::TCC_Basic; in getQuarterRateInstrCost()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp51 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()
/external/llvm-project/llvm/include/llvm/Analysis/
DInlineCost.h29 class TargetTransformInfo; variable
227 TargetTransformInfo &CalleeTTI,
241 TargetTransformInfo &CalleeTTI,
255 CallBase &Call, Function *Callee, TargetTransformInfo &CalleeTTI,
267 CallBase &Call, TargetTransformInfo &CalleeTTI,
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnrollAndJamPass.cpp149 TargetTransformInfo::UnrollingPreferences &UP) { in getUnrollAndJammedLoopSize()
157 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT, in computeUnrollAndJamCount()
162 unsigned InnerLoopSize, TargetTransformInfo::UnrollingPreferences &UP, in computeUnrollAndJamCount()
163 TargetTransformInfo::PeelingPreferences &PP) { in computeUnrollAndJamCount()
283 ScalarEvolution &SE, const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
286 TargetTransformInfo::UnrollingPreferences UP = in tryToUnrollAndJamLoop()
289 TargetTransformInfo::PeelingPreferences PP = in tryToUnrollAndJamLoop()
429 const TargetTransformInfo &TTI, in tryToUnrollAndJamLoop()
479 const TargetTransformInfo &TTI = in runOnFunction()
525 TargetTransformInfo &TTI = AM.getResult<TargetIRAnalysis>(F); in run()
/external/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);
/external/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;

12345678910>>...16