/external/llvm/lib/Analysis/ |
CostModel.cpp | 38 CostModelAnalysis() : FunctionPass(ID), F(0), TTI(0) { 57 const TargetTransformInfo *TTI; 79 TTI = getAnalysisIfAvailable<TargetTransformInfo>(); 109 if (!TTI) 115 return TTI->getAddressComputationCost(ValTy); 121 return TTI->getCFInstrCost(I->getOpcode()); 145 return TTI->getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, 151 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); 156 return TTI->getCmpSelInstrCost(I->getOpcode(), ValTy); 161 return TTI->getMemoryOpCost(I->getOpcode(), ValTy [all...] |
CodeMetrics.cpp | 26 const TargetTransformInfo &TTI) { 49 if (TTI.isLoweredToCall(F)) 75 NumInsts += TTI.getUserCost(&*II);
|
ScalarEvolutionExpander.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
CodeMetrics.h | 88 void analyzeBasicBlock(const BasicBlock *BB, const TargetTransformInfo &TTI);
|
InlineCost.h | 103 const TargetTransformInfo *TTI;
|
ScalarEvolutionExpander.h | 134 const TargetTransformInfo *TTI = NULL);
|
/external/llvm/lib/Transforms/Scalar/ |
LoopUnrollPass.cpp | 120 const TargetTransformInfo &TTI) { 124 Metrics.analyzeBasicBlock(*I, TTI); 141 const TargetTransformInfo &TTI = getAnalysis<TargetTransformInfo>(); 192 notDuplicatable, TTI);
|
SimplifyCFGPass.cpp | 302 static bool iterativelySimplifyCFG(Function &F, const TargetTransformInfo &TTI, 312 if (SimplifyCFG(BBIt++, TTI, TD)) { 326 const TargetTransformInfo &TTI = getAnalysis<TargetTransformInfo>(); 330 EverChanged |= iterativelySimplifyCFG(F, TTI, TD); 344 EverChanged = iterativelySimplifyCFG(F, TTI, TD);
|
LoopStrengthReduce.cpp | 780 static bool isLegal2RegAMUse(const TargetTransformInfo &TTI, const LSRUse &LU, 783 static unsigned getScalingFactorCost(const TargetTransformInfo &TTI, 824 void RateFormula(const TargetTransformInfo &TTI, 916 void Cost::RateFormula(const TargetTransformInfo &TTI, [all...] |
LoopIdiomRecognize.cpp | 138 const TargetTransformInfo *TTI; 143 TD = 0; DT = 0; SE = 0; TLI = 0; TTI = 0; 200 return TTI ? TTI : (TTI = &getAnalysis<TargetTransformInfo>()); 313 const TargetTransformInfo *TTI = LIR.getTargetTransformInfo(); 314 if (TTI->getPopcntSupport(32) != TargetTransformInfo::PSK_FastHardware) [all...] |
LoopRotation.cpp | 64 const TargetTransformInfo *TTI; 82 TTI = &getAnalysis<TargetTransformInfo>(); 302 Metrics.analyzeBasicBlock(OrigHeader, *TTI);
|
TailRecursionElimination.cpp | 85 const TargetTransformInfo *TTI; 178 TTI = &getAnalysis<TargetTransformInfo>(); 431 !TTI->isLoweredToCall(CI->getCalledFunction())) {
|
LoopUnswitch.cpp | 105 bool countLoop(const Loop *L, const TargetTransformInfo &TTI); 226 bool LUAnalysisCache::countLoop(const Loop *L, const TargetTransformInfo &TTI) { 249 Metrics.analyzeBasicBlock(*I, TTI); [all...] |
/external/llvm/lib/Analysis/IPA/ |
InlineCost.cpp | 49 const TargetTransformInfo &TTI; 137 CallAnalyzer(const DataLayout *TD, const TargetTransformInfo &TTI, 139 : TD(TD), TTI(TTI), F(Callee), Threshold(Threshold), Cost(0), 425 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I); 455 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I); 472 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I); 745 if (TTI.isLoweredToCall(F)) { 778 CallAnalyzer CA(TD, TTI, *F, InlineConstants::IndirectCallThreshold); 791 if (TargetTransformInfo::TCC_Free == TTI.getUserCost(&I) [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
BBVectorize.cpp | 205 TTI = IgnoreTargetInfo ? 0 : &P->getAnalysis<TargetTransformInfo>(); 218 const TargetTransformInfo *TTI; 397 DEBUG(if (TTI) dbgs() << "BBV: using target information\n"); 405 (TTI || v <= Config.VectorBits) && 436 TTI = IgnoreTargetInfo ? 0 : &getAnalysis<TargetTransformInfo>(); 529 // Returns the cost of the provided instruction using TTI. 540 return TTI->getCFInstrCost(Opcode); 561 return TTI->getArithmeticInstrCost(Opcode, T1); 565 return TTI->getCmpSelInstrCost(Opcode, T1, T2); 579 return TTI->getCastInstrCost(Opcode, T1, T2) [all...] |
LoopVectorize.cpp | 641 const TargetTransformInfo &TTI, 643 : TheLoop(L), SE(SE), LI(LI), Legal(Legal), TTI(TTI), DL(DL), TLI(TLI) {} 713 const TargetTransformInfo &TTI; [all...] |
SLPVectorizer.cpp | 228 TargetTransformInfo *Tti, AliasAnalysis *Aa, LoopInfo *Li, 230 F(Func), SE(Se), DL(Dl), TTI(Tti), AA(Aa), LI(Li), DT(Dt), 404 TargetTransformInfo *TTI; 806 return TTI->getShuffleCost(TargetTransformInfo::SK_Broadcast, VecTy, 0); 839 int ScalarCost = VL.size() * TTI->getCastInstrCost(VL0->getOpcode(), 843 int VecCost = TTI->getCastInstrCost(VL0->getOpcode(), VecTy, SrcVecTy); 874 TTI->getCmpSelInstrCost(Opcode, ScalarTy, Builder.getInt1Ty()); 875 VecCost = TTI->getCmpSelInstrCost(Opcode, VecTy, MaskTy); 878 TTI->getArithmeticInstrCost(Opcode, ScalarTy) [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyCFG.cpp | 91 const TargetTransformInfo &TTI; 111 SimplifyCFGOpt(const TargetTransformInfo &TTI, const DataLayout *TD) 112 : TTI(TTI), TD(TD) {} [all...] |
/external/llvm/include/llvm/CodeGen/ |
SelectionDAGISel.h | 46 const TargetTransformInfo *TTI;
|
SelectionDAG.h | 133 const TargetTransformInfo *TTI; 225 void init(MachineFunction &mf, const TargetTransformInfo *TTI); 238 const TargetTransformInfo *getTargetTransformInfo() const { return TTI; } [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 139 bool SimplifyCFG(BasicBlock *BB, const TargetTransformInfo &TTI,
|
/external/llvm/lib/IR/ |
PassManager.cpp | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGISel.cpp | 364 TTI = getAnalysisIfAvailable<TargetTransformInfo>(); 376 CurDAG->init(*MF, TTI); [all...] |
SelectionDAG.cpp | 872 : TM(tm), TSI(*tm.getSelectionDAGInfo()), TTI(0), OptLevel(OL), 879 void SelectionDAG::init(MachineFunction &mf, const TargetTransformInfo *tti) { 881 TTI = tti; [all...] |