Home
last modified time | relevance | path

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

123

/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp36 TargetTransformInfo::TargetTransformInfo(const DataLayout *DL) in TargetTransformInfo() function in TargetTransformInfo
39 TargetTransformInfo::~TargetTransformInfo() {} in ~TargetTransformInfo()
41 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) in TargetTransformInfo() function in TargetTransformInfo
44 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) { in operator =()
49 unsigned TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, in getOperationCost()
54 unsigned TargetTransformInfo::getCallCost(FunctionType *FTy, in getCallCost()
60 TargetTransformInfo::getCallCost(const Function *F, in getCallCost()
66 TargetTransformInfo::getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost()
71 unsigned TargetTransformInfo::getUserCost(const User *U) const { in getUserCost()
75 bool TargetTransformInfo::hasBranchDivergence() const { in hasBranchDivergence()
[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()
414 TargetTransformInfo::OperandValueKind Op1VK = in getInstructionCost()
416 TargetTransformInfo::OperandValueKind Op2VK = in getInstructionCost()
497 return TTI->getShuffleCost(TargetTransformInfo::SK_Reverse, VecTypOp0, in getInstructionCost()
500 return TTI->getShuffleCost(TargetTransformInfo::SK_Alternate, in getInstructionCost()
DDivergenceAnalysis.cpp130 DivergencePropagator(Function &F, TargetTransformInfo &TTI, in DivergencePropagator()
152 TargetTransformInfo &TTI;
298 TargetTransformInfo &TTI = TTIWP->getTTI(F); in runOnFunction()
DCMakeLists.txt58 TargetTransformInfo.cpp
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h58 class TargetTransformInfo {
65 template <typename T> TargetTransformInfo(T Impl);
72 explicit TargetTransformInfo(const DataLayout *DL);
75 TargetTransformInfo(TargetTransformInfo &&Arg);
76 TargetTransformInfo &operator=(TargetTransformInfo &&RHS);
80 ~TargetTransformInfo();
518 class TargetTransformInfo::Concept {
601 class TargetTransformInfo::Model final : public TargetTransformInfo::Concept {
775 TargetTransformInfo::TargetTransformInfo(T Impl) in TargetTransformInfo() function
791 typedef TargetTransformInfo Result;
[all …]
DCodeMetrics.h29 class TargetTransformInfo; variable
91 void analyzeBasicBlock(const BasicBlock *BB, const TargetTransformInfo &TTI,
DScalarEvolutionExpander.h25 class TargetTransformInfo; variable
142 const TargetTransformInfo *TTI = nullptr);
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp170 TargetTransformInfo::PopcntSupportKind
297 Opd2Info == TargetTransformInfo::OK_UniformConstantValue && in getArithmeticInstrCost()
298 Opd2PropInfo == TargetTransformInfo::OP_PowerOf2) { in getArithmeticInstrCost()
305 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
306 TargetTransformInfo::OP_None); in getArithmeticInstrCost()
308 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
309 TargetTransformInfo::OP_None); in getArithmeticInstrCost()
311 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
312 TargetTransformInfo::OP_None); in getArithmeticInstrCost()
314 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp156 void getUnrollingPreferences(Loop *L, const TargetTransformInfo &TTI, in getUnrollingPreferences()
157 TargetTransformInfo::UnrollingPreferences &UP) { in getUnrollingPreferences()
179 const TargetTransformInfo::UnrollingPreferences &UP,
187 const TargetTransformInfo::UnrollingPreferences &UP, in selectThresholds()
334 const TargetTransformInfo &TTI;
429 const TargetTransformInfo &TTI) in UnrollAnalyzer()
555 const TargetTransformInfo &TTI) { in approximateNumberOfOptimizedInstructions()
582 const TargetTransformInfo &TTI, in ApproximateLoopSize()
684 unsigned PragmaCount, const TargetTransformInfo::UnrollingPreferences &UP, in selectUnrollCount()
730 const TargetTransformInfo &TTI = in runOnLoop()
[all …]
DSimplifyCFGPass.cpp129 static bool iterativelySimplifyCFG(Function &F, const TargetTransformInfo &TTI, in iterativelySimplifyCFG()
150 static bool simplifyFunctionCFG(Function &F, const TargetTransformInfo &TTI, in simplifyFunctionCFG()
206 const TargetTransformInfo &TTI = in runOnFunction()
DStraightLineStrengthReduce.cpp150 bool isFoldable(const Candidate &C, TargetTransformInfo *TTI,
200 TargetTransformInfo *TTI;
234 const TargetTransformInfo *TTI, in isGEPFoldable()
272 TargetTransformInfo *TTI) { in isAddFoldable()
278 TargetTransformInfo *TTI, in isFoldable()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h43 typedef TargetTransformInfo TTI;
169 return TargetTransformInfo::TCC_Basic; in getIntrinsicCost()
170 return TargetTransformInfo::TCC_Expensive; in getIntrinsicCost()
175 return TargetTransformInfo::TCC_Basic; in getIntrinsicCost()
176 return TargetTransformInfo::TCC_Expensive; in getIntrinsicCost()
202 return TargetTransformInfo::TCC_Basic; in getFPOpCost()
211 return TargetTransformInfo::TCC_Free; in getOperationCost()
212 return TargetTransformInfo::TCC_Basic; in getOperationCost()
216 return TargetTransformInfo::TCC_Free; in getOperationCost()
217 return TargetTransformInfo::TCC_Basic; in getOperationCost()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp34 TargetTransformInfo::PopcntSupportKind
92 Op2Info == TargetTransformInfo::OK_UniformConstantValue && in getArithmeticInstrCost()
93 Opd2PropInfo == TargetTransformInfo::OP_PowerOf2) { in getArithmeticInstrCost()
100 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
101 TargetTransformInfo::OP_None); in getArithmeticInstrCost()
103 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
104 TargetTransformInfo::OP_None); in getArithmeticInstrCost()
106 TargetTransformInfo::OP_None, in getArithmeticInstrCost()
107 TargetTransformInfo::OP_None); in getArithmeticInstrCost()
120 if (Op2Info == TargetTransformInfo::OK_UniformConstantValue && in getArithmeticInstrCost()
[all …]
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp345 BoUpSLP(Function *Func, ScalarEvolution *Se, TargetTransformInfo *Tti, in BoUpSLP()
880 TargetTransformInfo *TTI;
1427 return TTI->getShuffleCost(TargetTransformInfo::SK_Broadcast, VecTy, 0); in getEntryCost()
1507 TargetTransformInfo::OperandValueKind Op1VK = in getEntryCost()
1508 TargetTransformInfo::OK_AnyValue; in getEntryCost()
1509 TargetTransformInfo::OperandValueKind Op2VK = in getEntryCost()
1510 TargetTransformInfo::OK_UniformConstantValue; in getEntryCost()
1511 TargetTransformInfo::OperandValueProperties Op1VP = in getEntryCost()
1512 TargetTransformInfo::OP_None; in getEntryCost()
1513 TargetTransformInfo::OperandValueProperties Op2VP = in getEntryCost()
[all …]
DLoopVectorize.cpp249 const TargetTransformInfo *TTI, unsigned VecWidth, in InnerLoopVectorizer()
410 const TargetTransformInfo *TTI;
461 const TargetTransformInfo *TTI, unsigned UnrollFactor) in InnerLoopUnroller()
565 Function *F, const TargetTransformInfo *TTI, in LoopVectorizationLegality()
866 const TargetTransformInfo *TTI;
918 const TargetTransformInfo &TTI, in LoopVectorizationCostModel()
998 const TargetTransformInfo &TTI;
1264 TargetTransformInfo *TTI;
2642 const TargetTransformInfo &TTI) { in getScalarizationOverhead()
2664 const TargetTransformInfo &TTI, in getVectorCallCost()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h40 class TargetTransformInfo; variable
138 bool SimplifyCFG(BasicBlock *BB, const TargetTransformInfo &TTI,
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp324 return TargetTransformInfo::TCC_Basic; in getFPOpCost()
328 return ST->isFPOnlySP() ? TargetTransformInfo::TCC_Expensive : in getFPOpCost()
329 TargetTransformInfo::TCC_Basic; in getFPOpCost()
333 return TargetTransformInfo::TCC_Expensive; in getFPOpCost()
462 Op2Info == TargetTransformInfo::OK_UniformConstantValue) in getArithmeticInstrCost()
/external/llvm/lib/Target/Mips/
DMipsTargetMachine.cpp242 return TargetTransformInfo(getDataLayout()); in getTargetIRAnalysis()
246 return TargetTransformInfo(BasicTTIImpl(this, F)); in getTargetIRAnalysis()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp49 const TargetTransformInfo &TTI;
146 CallAnalyzer(const TargetTransformInfo &TTI, AssumptionCacheTracker *ACT, in CallAnalyzer()
428 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I); in visitPtrToInt()
459 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I); in visitIntToPtr()
476 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I); in visitCastInst()
877 if (TargetTransformInfo::TCC_Free == TTI.getUserCost(&I)) in visitInstruction()
931 if (TTI.getFPOpCost(I->getType()) == TargetTransformInfo::TCC_Expensive || in analyzeBlock()
/external/llvm/lib/Target/XCore/
DXCoreTargetMachine.cpp89 [this](Function &) { return TargetTransformInfo(XCoreTTIImpl(this)); }); in getTargetIRAnalysis()
DXCoreTargetTransformInfo.h30 typedef TargetTransformInfo TTI;
/external/llvm/lib/Target/SystemZ/
DSystemZTargetMachine.cpp115 return TargetTransformInfo(SystemZTTIImpl(this, F)); in getTargetIRAnalysis()
DSystemZTargetTransformInfo.h21 typedef TargetTransformInfo TTI;
/external/llvm/lib/Target/R600/
DAMDGPUTargetTransformInfo.h30 typedef TargetTransformInfo TTI;
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.h30 typedef TargetTransformInfo TTI;

123