/external/llvm/lib/Target/Hexagon/ |
HexagonTargetTransformInfo.h | 1 //===-- HexagonTargetTransformInfo.cpp - Hexagon specific TTI pass --------===// 11 /// more precise answers to certain TTI queries, while letting the target 12 /// independent and default TTI implementations handle the rest. 29 typedef TargetTransformInfo TTI; 50 /// \name Scalar TTI Implementations 53 TTI::PopcntSupportKind getPopcntSupport(unsigned IntTyWidthInBit) const; 56 void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP); 60 /// \name Vector TTI Implementations
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXTargetTransformInfo.h | 1 //===-- NVPTXTargetTransformInfo.h - NVPTX specific TTI ---------*- C++ -*-===// 12 /// provide more precise answers to certain TTI queries, while letting the 13 /// target independent and default TTI implementations handle the rest. 30 typedef TargetTransformInfo TTI; 57 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 58 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 59 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCTargetTransformInfo.h | 1 //===-- PPCTargetTransformInfo.h - PPC specific TTI -------------*- C++ -*-===// 12 /// provide more precise answers to certain TTI queries, while letting the 13 /// target independent and default TTI implementations handle the rest. 30 typedef TargetTransformInfo TTI; 51 /// \name Scalar TTI Implementations 61 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth); 62 void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP); 66 /// \name Vector TTI Implementations 76 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue [all...] |
PPCLoopDataPrefetch.cpp | 89 const TargetTransformInfo *TTI; 111 TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F); 146 Metrics.analyzeBasicBlock(*I, *TTI, EphValues);
|
/external/llvm/lib/Target/SystemZ/ |
SystemZTargetTransformInfo.h | 1 //===-- SystemZTargetTransformInfo.h - SystemZ-specific TTI ---------------===// 21 typedef TargetTransformInfo TTI; 42 /// \name Scalar TTI Implementations 51 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth); 55 /// \name Vector TTI Implementations
|
/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyTargetTransformInfo.h | 1 //==- WebAssemblyTargetTransformInfo.h - WebAssembly-specific TTI -*- C++ -*-=// 15 /// certain TTI queries, while letting the target independent and default TTI 31 typedef TargetTransformInfo TTI; 52 /// \name Scalar TTI Implementations 55 // TODO: Implement more Scalar TTI for WebAssembly 57 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) const; 61 /// \name Vector TTI Implementations 64 // TODO: Implement Vector TTI for WebAssembly
|
/external/llvm/lib/Target/X86/ |
X86TargetTransformInfo.h | 1 //===-- X86TargetTransformInfo.h - X86 specific TTI -------------*- C++ -*-===// 12 /// provide more precise answers to certain TTI queries, while letting the 13 /// target independent and default TTI implementations handle the rest. 30 typedef TargetTransformInfo TTI; 53 /// \name Scalar TTI Implementations 55 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth); 59 /// \name Vector TTI Implementations 67 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 68 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreTargetTransformInfo.h | 1 //===-- XCoreTargetTransformInfo.h - XCore specific TTI ---------*- C++ -*-===// 12 /// provide more precise answers to certain TTI queries, while letting the 13 /// target independent and default TTI implementations handle the rest. 30 typedef TargetTransformInfo TTI;
|
/external/llvm/lib/Target/AArch64/ |
AArch64TargetTransformInfo.h | 1 //===-- AArch64TargetTransformInfo.h - AArch64 specific TTI -----*- C++ -*-===// 12 /// provide more precise answers to certain TTI queries, while letting the 13 /// target independent and default TTI implementations handle the rest. 31 typedef TargetTransformInfo TTI; 62 /// \name Scalar TTI Implementations 71 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth); 75 /// \name Vector TTI Implementations 106 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 107 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUTargetTransformInfo.h | 1 //===-- AMDGPUTargetTransformInfo.h - AMDGPU specific TTI -------*- C++ -*-===// 12 /// provide more precise answers to certain TTI queries, while letting the 13 /// target independent and default TTI implementations handle the rest. 30 typedef TargetTransformInfo TTI; 53 void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP); 55 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) { 57 return ST->hasBCNT(TyWidth) ? TTI::PSK_FastHardware : TTI::PSK_Software;
|
/external/llvm/lib/Target/ARM/ |
ARMTargetTransformInfo.h | 1 //===-- ARMTargetTransformInfo.h - ARM specific TTI -------------*- C++ -*-===// 12 /// provide more precise answers to certain TTI queries, while letting the 13 /// target independent and default TTI implementations handle the rest. 30 typedef TargetTransformInfo TTI; 57 /// \name Scalar TTI Implementations 65 /// \name Vector TTI Implementations 97 int getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, int Index, Type *SubTp); 111 TTI::OperandValueKind Op1Info = TTI::OK_AnyValue, 112 TTI::OperandValueKind Op2Info = TTI::OK_AnyValue [all...] |
/external/llvm/lib/Transforms/Scalar/ |
PartiallyInlineLibCalls.cpp | 65 const TargetTransformInfo *TTI = 88 if (TTI->haveFastSqrt(Call->getType()) &&
|
SpeculativeExecution.cpp | 99 const TargetTransformInfo *TTI = nullptr; 118 TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F); 172 const TargetTransformInfo &TTI) { 187 return TTI.getUserCost(I); 209 const unsigned Cost = ComputeSpeculationCost(&I, *TTI);
|
SimplifyCFGPass.cpp | 129 static bool iterativelySimplifyCFG(Function &F, const TargetTransformInfo &TTI, 139 if (SimplifyCFG(&*BBIt++, TTI, BonusInstThreshold, AC)) { 149 static bool simplifyFunctionCFG(Function &F, const TargetTransformInfo &TTI, 153 EverChanged |= iterativelySimplifyCFG(F, TTI, AC, BonusInstThreshold); 167 EverChanged = iterativelySimplifyCFG(F, TTI, AC, BonusInstThreshold); 182 auto &TTI = AM->getResult<TargetIRAnalysis>(F); 185 if (!simplifyFunctionCFG(F, TTI, &AC, BonusInstThreshold)) 212 const TargetTransformInfo &TTI = 214 return simplifyFunctionCFG(F, TTI, AC, BonusInstThreshold);
|
LoopRotation.cpp | 125 const TargetTransformInfo *TTI, AssumptionCache *AC, 162 Metrics.analyzeBasicBlock(OrigHeader, *TTI, EphValues); 533 const TargetTransformInfo *TTI, 546 while (rotateLoop(L, MaxHeaderSize, LI, TTI, AC, DT, SE, SimplifiedLatch)) { 598 const auto *TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F); 605 return iterativelyRotateLoop(L, MaxHeaderSize, LI, TTI, AC, DT, SE);
|
NaryReassociate.cpp | 181 TargetTransformInfo *TTI; 218 TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F); 302 // FIXME: extract this method into TTI->getGEPCost. 304 const TargetTransformInfo *TTI, 338 return TTI->isLegalAddressingMode(GEP->getType()->getElementType(), BaseGV, 344 if (isGEPFoldable(GEP, TTI, DL))
|
ConstantHoisting.cpp | 109 const TargetTransformInfo *TTI; 123 ConstantHoisting() : FunctionPass(ID), TTI(nullptr), DT(nullptr), 142 TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(Fn); 152 TTI = nullptr; 283 Cost = TTI->getIntImmCost(IntrInst->getIntrinsicID(), Idx, 286 Cost = TTI->getIntImmCost(Inst->getOpcode(), Idx, ConstInt->getValue(), 426 TTI->isLegalAddImmediate(Diff.getSExtValue()))
|
StraightLineStrengthReduce.cpp | 128 : FunctionPass(ID), DL(nullptr), DT(nullptr), TTI(nullptr) { 152 bool isFoldable(const Candidate &C, TargetTransformInfo *TTI, 202 TargetTransformInfo *TTI; 237 // TODO: use TTI->getGEPCost. 239 const TargetTransformInfo *TTI, 273 return TTI->isLegalAddressingMode(GEP->getType()->getElementType(), BaseGV, 279 TargetTransformInfo *TTI) { 280 return TTI->isLegalAddressingMode(Base->getType(), nullptr, 0, true, 285 TargetTransformInfo *TTI, 288 return isAddFoldable(C.Base, C.Index, C.Stride, TTI); [all...] |
TailRecursionElimination.cpp | 90 const TargetTransformInfo *TTI; 393 TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F); 604 !TTI->isLoweredToCall(CI->getCalledFunction())) { [all...] |
/external/llvm/lib/Analysis/ |
DivergenceAnalysis.cpp | 87 DivergencePropagator(Function &F, TargetTransformInfo &TTI, DominatorTree &DT, 89 : F(F), TTI(TTI), DT(DT), PDT(PDT), DV(DV) {} 108 TargetTransformInfo &TTI; 119 if (TTI.isSourceOfDivergence(&I)) { 125 if (TTI.isSourceOfDivergence(&Arg)) { 281 TargetTransformInfo &TTI = TTIWP->getTTI(F); 284 if (!TTI.hasBranchDivergence()) 288 DivergencePropagator DP(F, TTI,
|
CostModel.cpp | 45 CostModelAnalysis() : FunctionPass(ID), F(nullptr), TTI(nullptr) { 64 const TargetTransformInfo *TTI; 87 TTI = TTIWP ? &TTIWP->getTTI(F) : nullptr; 379 if (!TTI) 384 return TTI->getUserCost(I); 389 return TTI->getCFInstrCost(I->getOpcode()); 413 return TTI->getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, 419 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); 424 return TTI->getCmpSelInstrCost(I->getOpcode(), ValTy); 429 return TTI->getMemoryOpCost(I->getOpcode(), ValTy [all...] |
/external/llvm/lib/CodeGen/ |
DwarfEHPrepare.cpp | 158 const TargetTransformInfo &TTI = 172 SimplifyCFG(BB, TTI, 1);
|
/external/llvm/include/llvm/Analysis/ |
TargetTransformInfo.h | 62 /// \brief Construct a TTI object using a type implementing the \c Concept 65 /// This is used by targets to construct a TTI wrapping their target-specific 69 /// \brief Construct a baseline TTI object using a minimal implementation of 72 /// The TTI implementation will reflect the information in the DataLayout 536 /// \brief The abstract base class used to type erase specific TTI [all...] |
TargetTransformInfoImpl.h | 33 typedef TargetTransformInfo TTI; 51 return TTI::TCC_Basic; 60 return TTI::TCC_Free; 63 return TTI::TCC_Basic; 71 return TTI::TCC_Expensive; 79 return TTI::TCC_Free; 82 return TTI::TCC_Basic; 90 return TTI::TCC_Free; 93 return TTI::TCC_Basic; 99 return TTI::TCC_Free [all...] |
/external/llvm/include/llvm/CodeGen/ |
BasicTTIImpl.h | 10 /// This file provides a helper that implements much of the TTI interface in 30 /// \brief Base class which can be used to help build a TTI implementation. 32 /// This class provides as much implementation of the TTI interface as is 43 typedef TargetTransformInfo TTI; 106 /// \name Scalar TTI Implementations 196 // implemented in HW. Target specific TTI can override this. 219 void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP) { 276 /// \name Vector TTI Implementations 287 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue [all...] |