Searched refs:TTI (Results 1 - 25 of 58) sorted by relevance

123

/freebsd-11.0-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.h1 //===-- 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; typedef in class:llvm::NVPTXTTIImpl
57 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue,
58 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue,
59 TTI::OperandValueProperties Opd1PropInfo = TTI
[all...]
H A DNVPTXTargetTransformInfo.cpp1 //===-- NVPTXTargetTransformInfo.cpp - NVPTX specific TTI -----------------===//
93 unsigned Opcode, Type *Ty, TTI::OperandValueKind Opd1Info,
94 TTI::OperandValueKind Opd2Info, TTI::OperandValueProperties Opd1PropInfo,
95 TTI::OperandValueProperties Opd2PropInfo) {
115 // Delegate other cases to the basic TTI.
122 TTI::UnrollingPreferences &UP) {
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1 //===-- SystemZTargetTransformInfo.cpp - SystemZ-specific TTI -------------===//
12 // more precise answers to certain TTI queries, while letting the target
13 // independent and default TTI implementations handle the rest.
41 return TTI::TCC_Free;
44 return TTI::TCC_Free;
47 return TTI::TCC_Free;
52 return TTI::TCC_Basic;
55 return TTI::TCC_Basic;
58 return TTI::TCC_Basic;
60 return 2 * TTI
[all...]
H A DSystemZTargetTransformInfo.h1 //===-- SystemZTargetTransformInfo.h - SystemZ-specific TTI ---------------===//
21 typedef TargetTransformInfo TTI; typedef in class:llvm::SystemZTTIImpl
42 /// \name Scalar TTI Implementations
51 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth);
55 /// \name Vector TTI Implementations
/freebsd-11.0-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h1 //===-- 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; typedef in class:llvm::PPCTTIImpl
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
[all...]
H A DPPCTargetTransformInfo.cpp1 //===-- PPCTargetTransformInfo.cpp - PPC specific TTI ---------------------===//
34 return TTI::PSK_FastHardware;
35 return TTI::PSK_Software;
49 return TTI::TCC_Free;
53 return TTI::TCC_Basic;
58 return TTI::TCC_Basic;
60 return 2 * TTI::TCC_Basic;
64 return 4 * TTI::TCC_Basic;
80 return TTI::TCC_Free;
86 return TTI
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h1 //===-- 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; typedef in class:llvm::AArch64TTIImpl
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
[all...]
H A DAArch64TargetTransformInfo.cpp1 //===-- AArch64TargetTransformInfo.cpp - AArch64 specific TTI -------------===//
72 return TTI::TCC_Free;
77 return TTI::TCC_Free;
81 return 2 * TTI::TCC_Basic;
82 return TTI::TCC_Free;
104 return TTI::TCC_Free;
123 return (Cost <= NumConstants * TTI::TCC_Basic)
124 ? static_cast<int>(TTI::TCC_Free)
138 return TTI::TCC_Free;
142 return TTI
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h1 //===-- 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; typedef in class:llvm::X86TTIImpl
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
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h1 //===-- 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; typedef in class:llvm::ARMTTIImpl
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
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h1 //===-- 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; typedef in class:llvm::AMDGPUTTIImpl
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;
/freebsd-11.0-release/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h33 typedef TargetTransformInfo TTI; typedef in class:llvm::TargetTransformInfoImplBase
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
[all...]
H A DCodeMetrics.h91 void analyzeBasicBlock(const BasicBlock *BB, const TargetTransformInfo &TTI,
H A DVectorUtils.h128 const TargetTransformInfo *TTI=nullptr);
/freebsd-11.0-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp1 //===-- 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.
32 TTI::UnrollingPreferences &UP) {
H A DHexagonTargetTransformInfo.h1 //===-- 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; typedef in class:llvm::HexagonTTIImpl
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
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DCostModel.cpp45 CostModelAnalysis() : FunctionPass(ID), F(nullptr), TTI(nullptr) {
64 const TargetTransformInfo *TTI; member in class:__anon2386::CostModelAnalysis
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
[all...]
H A DDivergenceAnalysis.cpp87 DivergencePropagator(Function &F, TargetTransformInfo &TTI, DominatorTree &DT, argument
89 : F(F), TTI(TTI), DT(DT), PDT(PDT), DV(DV) {}
108 TargetTransformInfo &TTI; member in class:__anon2388::DivergencePropagator
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,
H A DCodeMetrics.cpp106 const TargetTransformInfo &TTI,
134 if (TTI.isLoweredToCall(F))
163 NumInsts += TTI.getUserCost(&*II);
105 analyzeBasicBlock(const BasicBlock *BB, const TargetTransformInfo &TTI, SmallPtrSetImpl<const Value*> &EphValues) argument
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DSimplifyCFGPass.cpp129 static bool iterativelySimplifyCFG(Function &F, const TargetTransformInfo &TTI, argument
139 if (SimplifyCFG(&*BBIt++, TTI, BonusInstThreshold, AC)) {
149 static bool simplifyFunctionCFG(Function &F, const TargetTransformInfo &TTI, argument
153 EverChanged |= iterativelySimplifyCFG(F, TTI, AC, BonusInstThreshold);
167 EverChanged = iterativelySimplifyCFG(F, TTI, AC, BonusInstThreshold);
182 auto &TTI = AM->getResult<TargetIRAnalysis>(F); local
185 if (!simplifyFunctionCFG(F, TTI, &AC, BonusInstThreshold))
212 const TargetTransformInfo &TTI = variable
214 return simplifyFunctionCFG(F, TTI, AC, BonusInstThreshold);
H A DSpeculativeExecution.cpp99 const TargetTransformInfo *TTI = nullptr; member in class:__anon3264::SpeculativeExecution
118 TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
172 const TargetTransformInfo &TTI) {
187 return TTI.getUserCost(I);
209 const unsigned Cost = ComputeSpeculationCost(&I, *TTI);
171 ComputeSpeculationCost(const Instruction *I, const TargetTransformInfo &TTI) argument
H A DPartiallyInlineLibCalls.cpp65 const TargetTransformInfo *TTI = local
88 if (TTI->haveFastSqrt(Call->getType()) &&
/freebsd-11.0-release/contrib/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp56 TargetTransformInfo &TTI = TTIWP->getTTI(*Callee); variable
57 return llvm::getInlineCost(CS, getInlineThreshold(CS), TTI, ACT);
/freebsd-11.0-release/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.h1 //==- WebAssemblyTargetTransformInfo.h - WebAssembly-specific TTI -*- C++ -*-=//
15 /// certain TTI queries, while letting the target independent and default TTI
31 typedef TargetTransformInfo TTI; typedef in class:llvm::final
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
/freebsd-11.0-release/contrib/llvm/lib/Target/XCore/
H A DXCoreTargetTransformInfo.h1 //===-- 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; typedef in class:llvm::XCoreTTIImpl

Completed in 123 milliseconds

123