|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
include/llvm/IR/PassManagerInternal.h 137 template <typename T> struct Checker : CheckerBase, T {};
Declarations
include/llvm/Analysis/CodeMetrics.h 27 class TargetTransformInfo;
include/llvm/Analysis/DivergenceAnalysis.h 30 class TargetTransformInfo;
include/llvm/Analysis/IVDescriptors.h 48 class TargetTransformInfo;
include/llvm/Analysis/InlineCost.h 29 class TargetTransformInfo;
include/llvm/Analysis/ScalarEvolutionExpander.h 26 class TargetTransformInfo;
include/llvm/Analysis/VectorUtils.h 141 class TargetTransformInfo;
include/llvm/CodeGen/GlobalISel/Localizer.h 31 class TargetTransformInfo;
include/llvm/Target/TargetMachine.h 44 class TargetTransformInfo;
include/llvm/Transforms/IPO/HotColdSplitting.h 22 class TargetTransformInfo;
include/llvm/Transforms/Scalar/ConstantHoisting.h 61 class TargetTransformInfo;
include/llvm/Transforms/Scalar/NaryReassociate.h 98 class TargetTransformInfo;
include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h 26 class TargetTransformInfo;
include/llvm/Transforms/Utils/Local.h 57 class TargetTransformInfo;
include/llvm/Transforms/Utils/LoopRotationUtils.h 25 class TargetTransformInfo;
include/llvm/Transforms/Utils/LoopUtils.h 51 class TargetTransformInfo;
include/llvm/Transforms/Utils/LowerMemIntrinsics.h 24 class TargetTransformInfo;
include/llvm/Transforms/Vectorize/LoopVectorize.h 77 class TargetTransformInfo;
include/llvm/Transforms/Vectorize/SLPVectorizer.h 46 class TargetTransformInfo;
lib/Target/X86/X86TargetMachine.h 28 class TargetTransformInfo;
lib/Transforms/Vectorize/VPRecipeBuilder.h 21 class TargetTransformInfo;
tools/polly/include/polly/ScheduleOptimizer.h 17 class TargetTransformInfo;
References
include/llvm/ADT/Optional.h 39 T value;
72 T &getValue() LLVM_LVALUE_FUNCTION noexcept {
76 T const &getValue() const LLVM_LVALUE_FUNCTION noexcept {
81 T &&getValue() && noexcept {
106 ::new ((void *)std::addressof(value)) T(std::move(y));
216 optional_detail::OptionalStorage<T> Storage;
219 using value_type = T;
224 Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {}
227 Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {}
230 Optional &operator=(T &&y) {
241 static inline Optional create(const T *y) {
245 Optional &operator=(const T &y) {
253 const T *getPointer() const { return &Storage.getValue(); }
254 T *getPointer() { return &Storage.getValue(); }
255 const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
256 T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
260 const T *operator->() const { return getPointer(); }
261 T *operator->() { return getPointer(); }
262 const T &operator*() const LLVM_LVALUE_FUNCTION { return getValue(); }
263 T &operator*() LLVM_LVALUE_FUNCTION { return getValue(); }
266 constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION {
271 T &&getValue() && { return std::move(Storage.getValue()); }
272 T &&operator*() && { return std::move(Storage.getValue()); }
275 T getValueOr(U &&value) && {
include/llvm/Analysis/CodeMetrics.h 79 void analyzeBasicBlock(const BasicBlock *BB, const TargetTransformInfo &TTI,
include/llvm/Analysis/DivergenceAnalysis.h 187 const TargetTransformInfo &TTI);
include/llvm/Analysis/InlineCost.h 216 CallBase &Call, const InlineParams &Params, TargetTransformInfo &CalleeTTI,
228 TargetTransformInfo &CalleeTTI,
include/llvm/Analysis/LoopAnalysisManager.h 60 TargetTransformInfo &TTI;
include/llvm/Analysis/LoopCacheAnalysis.h 186 TargetTransformInfo &TTI, AliasAnalysis &AA, DependenceInfo &DI,
260 TargetTransformInfo &TTI;
include/llvm/Analysis/ScalarEvolutionExpander.h 203 const TargetTransformInfo *TTI = nullptr);
include/llvm/Analysis/TargetTransformInfo.h 125 TargetTransformInfo(TargetTransformInfo &&Arg);
126 TargetTransformInfo &operator=(TargetTransformInfo &&RHS);
126 TargetTransformInfo &operator=(TargetTransformInfo &&RHS);
555 bool isLSRCostLess(TargetTransformInfo::LSRCost &C1,
556 TargetTransformInfo::LSRCost &C2) const;
1205 virtual bool isLSRCostLess(TargetTransformInfo::LSRCost &C1,
1206 TargetTransformInfo::LSRCost &C2) = 0;
1380 class TargetTransformInfo::Model final : public TargetTransformInfo::Concept {
1481 bool isLSRCostLess(TargetTransformInfo::LSRCost &C1,
1482 TargetTransformInfo::LSRCost &C2) override {
1856 TargetTransformInfo::TargetTransformInfo(T Impl)
1872 typedef TargetTransformInfo Result;
1928 Optional<TargetTransformInfo> TTI;
1943 TargetTransformInfo &getTTI(const Function &F);
include/llvm/Analysis/TargetTransformInfoImpl.h 33 typedef TargetTransformInfo TTI;
338 unsigned getFPOpCost(Type *Ty) { return TargetTransformInfo::TCC_Basic; }
389 llvm::Optional<unsigned> getCacheSize(TargetTransformInfo::CacheLevel Level) const {
391 case TargetTransformInfo::CacheLevel::L1D:
393 case TargetTransformInfo::CacheLevel::L2D:
400 TargetTransformInfo::CacheLevel Level) const {
402 case TargetTransformInfo::CacheLevel::L1D:
404 case TargetTransformInfo::CacheLevel::L2D:
include/llvm/Analysis/VectorUtils.h 234 const TargetTransformInfo *TTI=nullptr);
include/llvm/CodeGen/BasicTTIImpl.h 80 using TTI = TargetTransformInfo;
296 return TargetTransformInfo::TCC_Free;
301 return TargetTransformInfo::TCC_Free;
303 return TargetTransformInfo::TCC_Basic;
315 return TargetTransformInfo::TCC_Basic;
316 return TargetTransformInfo::TCC_Expensive;
321 return TargetTransformInfo::TCC_Basic;
322 return TargetTransformInfo::TCC_Expensive;
408 return TargetTransformInfo::TCC_Basic;
409 return TargetTransformInfo::TCC_Expensive;
418 return TargetTransformInfo::TCC_Free;
419 return TargetTransformInfo::TCC_Basic;
422 return TargetTransformInfo::TCC_Free;
423 return TargetTransformInfo::TCC_Basic;
428 return TargetTransformInfo::TCC_Free;
429 return TargetTransformInfo::TCC_Basic;
519 getCacheSize(TargetTransformInfo::CacheLevel Level) const {
525 getCacheAssociativity(TargetTransformInfo::CacheLevel Level) const {
1455 SingleCallCost = TargetTransformInfo::TCC_Expensive;
include/llvm/CodeGen/GlobalISel/Localizer.h 49 TargetTransformInfo *TTI;
include/llvm/IR/PassManagerInternal.h 137 template <typename T> struct Checker : CheckerBase, T {};
147 enum { Value = sizeof(check<ResultT>(rank<2>())) == sizeof(EnabledType) };
208 explicit AnalysisResultModel(ResultT Result) : Result(std::move(Result)) {}
231 ResultT Result;
include/llvm/Support/type_traits.h 91 T t;
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
145 std::is_copy_constructible<detail::trivial_helper<T>>::value;
147 !std::is_copy_constructible<T>::value;
151 std::is_move_constructible<detail::trivial_helper<T>>::value;
153 !std::is_move_constructible<T>::value;
157 is_copy_assignable<detail::trivial_helper<T>>::value;
159 !is_copy_assignable<T>::value;
163 is_move_assignable<detail::trivial_helper<T>>::value;
165 !is_move_assignable<T>::value;
169 std::is_destructible<detail::trivial_helper<T>>::value;
181 static_assert(value == std::is_trivially_copyable<T>::value,
include/llvm/Target/TargetMachine.h 268 virtual TargetTransformInfo getTargetTransformInfo(const Function &F);
337 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
include/llvm/Transforms/IPO/HotColdSplitting.h 37 function_ref<TargetTransformInfo &(Function &)> GTTI,
50 TargetTransformInfo &TTI,
55 function_ref<TargetTransformInfo &(Function &)> GetTTI;
include/llvm/Transforms/Scalar/ConstantHoisting.h 129 bool runImpl(Function &F, TargetTransformInfo &TTI, DominatorTree &DT,
149 const TargetTransformInfo *TTI;
include/llvm/Transforms/Scalar/NaryReassociate.h 109 TargetTransformInfo *TTI_);
172 TargetTransformInfo *TTI;
include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h 32 bool runOnFunction(Function &F, DominatorTree &, TargetTransformInfo &,
include/llvm/Transforms/Scalar/SpeculativeExecution.h 77 bool runImpl(Function &F, TargetTransformInfo *TTI);
87 TargetTransformInfo *TTI = nullptr;
include/llvm/Transforms/Utils/Local.h 222 bool simplifyCFG(BasicBlock *BB, const TargetTransformInfo &TTI,
include/llvm/Transforms/Utils/LoopRotationUtils.h 33 bool LoopRotation(Loop *L, LoopInfo *LI, const TargetTransformInfo *TTI,
include/llvm/Transforms/Utils/LoopUtils.h 121 TargetLibraryInfo *, TargetTransformInfo *, Loop *,
321 const TargetTransformInfo *TTI,
323 TargetTransformInfo::ReductionFlags Flags =
331 Value *createTargetReduction(IRBuilder<> &B, const TargetTransformInfo *TTI,
include/llvm/Transforms/Utils/LowerMemIntrinsics.h 33 const TargetTransformInfo &TTI);
41 const TargetTransformInfo &TTI);
45 void expandMemCpyAsLoop(MemCpyInst *MemCpy, const TargetTransformInfo &TTI);
include/llvm/Transforms/Utils/UnrollLoop.h 95 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,
include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h 201 TargetTransformInfo *TTI, TargetLibraryInfo *TLI, AliasAnalysis *AA,
399 TargetTransformInfo *TTI;
include/llvm/Transforms/Vectorize/LoopVectorize.h 134 TargetTransformInfo *TTI;
149 TargetTransformInfo &TTI_, DominatorTree &DT_,
include/llvm/Transforms/Vectorize/SLPVectorizer.h 66 TargetTransformInfo *TTI = nullptr;
79 bool runImpl(Function &F, ScalarEvolution *SE_, TargetTransformInfo *TTI_,
118 TargetTransformInfo *TTI);
lib/Analysis/CodeMetrics.cpp 117 const TargetTransformInfo &TTI,
lib/Analysis/CostModel.cpp 29 static cl::opt<TargetTransformInfo::TargetCostKind> CostKind(
31 cl::init(TargetTransformInfo::TCK_RecipThroughput),
57 return TTI->getInstructionCost(I, TargetTransformInfo::TCK_RecipThroughput);
68 const TargetTransformInfo *TTI;
lib/Analysis/DivergenceAnalysis.cpp 436 const TargetTransformInfo &TTI)
lib/Analysis/InlineCost.cpp 101 const TargetTransformInfo &TTI;
293 CallAnalyzer(const TargetTransformInfo &TTI,
428 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&GEP, Operands);
685 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I);
711 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I);
734 if (TTI.getFPOpCost(I.getType()) == TargetTransformInfo::TCC_Expensive)
741 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I);
1096 TTI.getFPOpCost(I.getType()) == TargetTransformInfo::TCC_Expensive &&
1542 if (TargetTransformInfo::TCC_Free == TTI.getUserCost(&I))
1965 TargetTransformInfo &TTI) {
2004 CallBase &Call, const InlineParams &Params, TargetTransformInfo &CalleeTTI,
2014 TargetTransformInfo &CalleeTTI,
lib/Analysis/LegacyDivergenceAnalysis.cpp 95 DivergencePropagator(Function &F, TargetTransformInfo &TTI, DominatorTree &DT,
117 TargetTransformInfo &TTI;
322 TargetTransformInfo &TTI = TTIWP->getTTI(F);
lib/Analysis/ScalarEvolutionExpander.cpp 1951 const TargetTransformInfo *TTI) {
lib/Analysis/TargetTransformInfo.cpp 140 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg)
143 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) {
143 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) {
398 TargetTransformInfo::MemCmpExpansionOptions
424 TargetTransformInfo::PopcntSupportKind
535 TargetTransformInfo::OperandValueKind
1172 TargetTransformInfo::OperandValueKind Op1VK, Op2VK;
1173 TargetTransformInfo::OperandValueProperties Op1VP, Op2VP;
1181 TargetTransformInfo::OperandValueKind Op1VK, Op2VK;
1182 TargetTransformInfo::OperandValueProperties Op1VP, Op2VP;
1377 TargetTransformInfo &TargetTransformInfoWrapperPass::getTTI(const Function &F) {
lib/Analysis/VectorUtils.cpp 369 const TargetTransformInfo *TTI) {
lib/CodeGen/CodeGenPrepare.cpp 249 const TargetTransformInfo *TTI = nullptr;
5829 static bool sinkSelectOperand(const TargetTransformInfo *TTI, Value *V) {
5834 TTI->getUserCost(I) >= TargetTransformInfo::TCC_Expensive;
5838 static bool isFormingBranchFromSelectProfitable(const TargetTransformInfo *TTI,
6294 const TargetTransformInfo &TTI;
6387 TargetTransformInfo::OperandValueKind Arg0OVK =
6388 IsArg0Constant ? TargetTransformInfo::OK_UniformConstantValue
6389 : TargetTransformInfo::OK_AnyValue;
6390 TargetTransformInfo::OperandValueKind Arg1OVK =
6391 !IsArg0Constant ? TargetTransformInfo::OK_UniformConstantValue
6392 : TargetTransformInfo::OK_AnyValue;
6464 const TargetTransformInfo &TTI, Instruction *Transition,
6824 const TargetTransformInfo *TTI) {
6836 > TargetTransformInfo::TCC_Basic)
6885 > TargetTransformInfo::TCC_Basic)
6896 if (ImmCost > TargetTransformInfo::TCC_Basic)
lib/CodeGen/DwarfEHPrepare.cpp 160 const TargetTransformInfo &TTI =
lib/CodeGen/ExpandMemCmp.cpp 115 const TargetTransformInfo::MemCmpExpansionOptions &Options,
204 const TargetTransformInfo::MemCmpExpansionOptions &Options,
722 static bool expandMemCmp(CallInst *CI, const TargetTransformInfo *TTI,
799 const TargetTransformInfo *TTI =
813 const TargetTransformInfo *TTI,
817 const TargetTransformInfo *TTI, const TargetLowering* TL,
823 const TargetTransformInfo *TTI, const TargetLowering* TL,
842 Function &F, const TargetLibraryInfo *TLI, const TargetTransformInfo *TTI,
lib/CodeGen/ExpandReductions.cpp 78 bool expandReductions(Function &F, const TargetTransformInfo *TTI) {
145 const auto *TTI =&getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
169 const auto &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/CodeGen/HardwareLoops.cpp 80 using TTI = TargetTransformInfo;
113 const TargetTransformInfo *TTI = nullptr;
lib/CodeGen/InterleavedLoadCombinePass.cpp 89 const TargetTransformInfo TTI;
1162 TTI.getInstructionCost(I, TargetTransformInfo::TCK_Latency);
lib/CodeGen/LLVMTargetMachine.cpp 91 TargetTransformInfo
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp 44 const TargetTransformInfo *TTI = nullptr;
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 783 TargetTransformInfo &TTI =
lib/Target/AArch64/AArch64TargetMachine.cpp 405 TargetTransformInfo
lib/Target/AArch64/AArch64TargetMachine.h 46 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/AArch64/AArch64TargetTransformInfo.cpp 189 TargetTransformInfo::PopcntSupportKind
502 if (Opd2Info == TargetTransformInfo::OK_UniformConstantValue &&
503 Opd2PropInfo == TargetTransformInfo::OP_PowerOf2) {
509 TargetTransformInfo::OP_None,
510 TargetTransformInfo::OP_None);
512 TargetTransformInfo::OP_None,
513 TargetTransformInfo::OP_None);
515 TargetTransformInfo::OP_None,
516 TargetTransformInfo::OP_None);
518 TargetTransformInfo::OP_None,
519 TargetTransformInfo::OP_None);
524 if (Opd2Info == TargetTransformInfo::OK_UniformConstantValue) {
532 TargetTransformInfo::OP_None,
533 TargetTransformInfo::OP_None);
536 TargetTransformInfo::OP_None,
537 TargetTransformInfo::OP_None);
540 TargetTransformInfo::OP_None,
541 TargetTransformInfo::OP_None);
722 TargetTransformInfo::UnrollingPreferences &UP) {
lib/Target/AArch64/AArch64TargetTransformInfo.h 43 using TTI = TargetTransformInfo;
lib/Target/AMDGPU/AMDGPUInline.cpp 187 TargetTransformInfo &TTI = TTIWP->getTTI(*Callee);
lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp 76 const TargetTransformInfo &TTI =
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp 493 TargetTransformInfo
531 TargetTransformInfo
lib/Target/AMDGPU/AMDGPUTargetMachine.h 83 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
108 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h 43 using TTI = TargetTransformInfo;
68 using TTI = TargetTransformInfo;
108 return TargetTransformInfo::TCC_Basic;
112 return 2 * TargetTransformInfo::TCC_Basic;
118 return 3 * TargetTransformInfo::TCC_Basic;
222 using TTI = TargetTransformInfo;
lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp 121 const TargetTransformInfo &TTI,
259 const TargetTransformInfo &TTI
lib/Target/ARC/ARCTargetMachine.cpp 88 TargetTransformInfo
lib/Target/ARC/ARCTargetMachine.h 42 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/ARM/ARMTargetMachine.cpp 298 TargetTransformInfo
lib/Target/ARM/ARMTargetMachine.h 55 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/ARM/ARMTargetTransformInfo.cpp 709 Op2Info == TargetTransformInfo::OK_UniformConstantValue)
lib/Target/ARM/ARMTargetTransformInfo.h 43 using TTI = TargetTransformInfo;
lib/Target/ARM/MVETailPredication.cpp 54 TargetTransformInfo *TTI = nullptr;
lib/Target/Hexagon/HexagonTargetMachine.cpp 265 TargetTransformInfo
lib/Target/Hexagon/HexagonTargetMachine.h 41 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/Hexagon/HexagonTargetTransformInfo.cpp 70 TargetTransformInfo::PopcntSupportKind
74 return TargetTransformInfo::PSK_FastHardware;
316 return TargetTransformInfo::TCC_Free;
lib/Target/Hexagon/HexagonTargetTransformInfo.h 35 using TTI = TargetTransformInfo;
lib/Target/Lanai/LanaiTargetMachine.cpp 72 TargetTransformInfo
lib/Target/Lanai/LanaiTargetMachine.h 44 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/Lanai/LanaiTargetTransformInfo.h 30 typedef TargetTransformInfo TTI;
46 TargetTransformInfo::PopcntSupportKind getPopcntSupport(unsigned TyWidth) {
lib/Target/Mips/MipsTargetMachine.cpp 281 TargetTransformInfo
lib/Target/Mips/MipsTargetMachine.h 46 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp 65 const TargetTransformInfo &TTI =
lib/Target/NVPTX/NVPTXTargetMachine.cpp 208 TargetTransformInfo
lib/Target/NVPTX/NVPTXTargetMachine.h 68 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/NVPTX/NVPTXTargetTransformInfo.h 29 typedef TargetTransformInfo TTI;
lib/Target/PowerPC/PPCTargetMachine.cpp 528 TargetTransformInfo
lib/Target/PowerPC/PPCTargetMachine.h 51 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/PowerPC/PPCTargetTransformInfo.cpp 49 TargetTransformInfo::PopcntSupportKind
lib/Target/PowerPC/PPCTargetTransformInfo.h 28 typedef TargetTransformInfo TTI;
lib/Target/RISCV/RISCVTargetMachine.cpp 71 TargetTransformInfo
lib/Target/RISCV/RISCVTargetMachine.h 43 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/RISCV/RISCVTargetTransformInfo.h 29 using TTI = TargetTransformInfo;
lib/Target/SystemZ/SystemZTargetMachine.cpp 278 TargetTransformInfo
lib/Target/SystemZ/SystemZTargetMachine.h 46 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp 232 TargetTransformInfo::PopcntSupportKind
295 bool SystemZTTIImpl::isLSRCostLess(TargetTransformInfo::LSRCost &C1,
296 TargetTransformInfo::LSRCost &C2) {
526 return (Kind == TargetTransformInfo::SK_Broadcast ? NumVectors - 1 : 0);
529 case TargetTransformInfo::SK_ExtractSubvector:
535 case TargetTransformInfo::SK_Broadcast:
lib/Target/SystemZ/SystemZTargetTransformInfo.h 20 typedef TargetTransformInfo TTI;
52 bool isLSRCostLess(TargetTransformInfo::LSRCost &C1,
53 TargetTransformInfo::LSRCost &C2);
lib/Target/TargetMachine.cpp 243 TargetTransformInfo TargetMachine::getTargetTransformInfo(const Function &F) {
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp 322 TargetTransformInfo
lib/Target/WebAssembly/WebAssemblyTargetMachine.h 48 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp 22 TargetTransformInfo::PopcntSupportKind
25 return TargetTransformInfo::PSK_FastHardware;
65 (TargetTransformInfo::TCC_Basic +
67 TargetTransformInfo::TCC_Basic);
80 return Cost + 25 * TargetTransformInfo::TCC_Expensive;
lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h 30 typedef TargetTransformInfo TTI;
lib/Target/X86/X86TargetMachine.cpp 331 TargetTransformInfo
lib/Target/X86/X86TargetMachine.h 47 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/X86/X86TargetTransformInfo.cpp 59 TargetTransformInfo::PopcntSupportKind
69 TargetTransformInfo::CacheLevel Level) const {
71 case TargetTransformInfo::CacheLevel::L1D:
82 case TargetTransformInfo::CacheLevel::L2D:
99 TargetTransformInfo::CacheLevel Level) const {
110 case TargetTransformInfo::CacheLevel::L1D:
112 case TargetTransformInfo::CacheLevel::L2D:
249 (Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
250 Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) &&
251 Opd2PropInfo == TargetTransformInfo::OP_PowerOf2) {
259 TargetTransformInfo::OP_None,
260 TargetTransformInfo::OP_None);
262 TargetTransformInfo::OP_None,
263 TargetTransformInfo::OP_None);
265 TargetTransformInfo::OP_None,
266 TargetTransformInfo::OP_None);
280 TargetTransformInfo::OP_None,
281 TargetTransformInfo::OP_None);
285 TargetTransformInfo::OP_None,
286 TargetTransformInfo::OP_None);
295 if (Op2Info == TargetTransformInfo::OK_UniformConstantValue &&
308 if (Op2Info == TargetTransformInfo::OK_UniformConstantValue &&
323 if (Op2Info == TargetTransformInfo::OK_UniformConstantValue &&
341 if (Op2Info == TargetTransformInfo::OK_UniformConstantValue &&
359 if ((Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
360 Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) &&
374 if ((Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
375 Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) &&
397 if ((Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
398 Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) &&
431 if ((Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
432 Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) &&
456 ((Op2Info == TargetTransformInfo::OK_UniformConstantValue) ||
457 (Op2Info == TargetTransformInfo::OK_UniformValue))) {
478 ((Op2Info == TargetTransformInfo::OK_UniformConstantValue) ||
479 (Op2Info == TargetTransformInfo::OK_UniformValue))) {
573 (Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
574 Op2Info == TargetTransformInfo::OK_NonUniformConstantValue))
578 TargetTransformInfo::OP_None,
579 TargetTransformInfo::OP_None);
620 (Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
621 Op2Info == TargetTransformInfo::OK_NonUniformConstantValue))
645 ((Op2Info == TargetTransformInfo::OK_UniformConstantValue) ||
646 (Op2Info == TargetTransformInfo::OK_UniformValue))) {
658 Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) {
880 TargetTransformInfo::OP_None, TargetTransformInfo::OP_None);
880 TargetTransformInfo::OP_None, TargetTransformInfo::OP_None);
3247 bool X86TTIImpl::isLSRCostLess(TargetTransformInfo::LSRCost &C1,
3248 TargetTransformInfo::LSRCost &C2) {
lib/Target/X86/X86TargetTransformInfo.h 29 typedef TargetTransformInfo TTI;
112 TargetTransformInfo::CacheLevel Level) const;
114 TargetTransformInfo::CacheLevel Level) const;
186 bool isLSRCostLess(TargetTransformInfo::LSRCost &C1,
187 TargetTransformInfo::LSRCost &C2);
lib/Target/XCore/XCoreTargetMachine.cpp 112 TargetTransformInfo
lib/Target/XCore/XCoreTargetMachine.h 45 TargetTransformInfo getTargetTransformInfo(const Function &F) override;
lib/Target/XCore/XCoreTargetTransformInfo.h 29 typedef TargetTransformInfo TTI;
lib/Transforms/IPO/ArgumentPromotion.cpp 847 const Function &F, const TargetTransformInfo &TTI,
870 const TargetTransformInfo &TTI) {
1042 const TargetTransformInfo &TTI = FAM.getResult<TargetIRAnalysis>(OldF);
1147 const TargetTransformInfo &TTI =
lib/Transforms/IPO/GlobalOpt.cpp 2248 function_ref<TargetTransformInfo &(Function &)> GetTTI,
2312 TargetTransformInfo &TTI = GetTTI(*F);
2914 function_ref<TargetTransformInfo &(Function &)> GetTTI,
lib/Transforms/IPO/HotColdSplitting.cpp 219 TargetTransformInfo &TTI) {
227 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize);
246 const int CostForArgMaterialization = TargetTransformInfo::TCC_Basic;
252 const int CostForRegionOutput = 3 * TargetTransformInfo::TCC_Basic;
287 Penalty += (SuccsOutsideRegion.size() - 1) * TargetTransformInfo::TCC_Basic;
555 TargetTransformInfo &TTI = GetTTI(F);
705 std::function<TargetTransformInfo &(Function &)> GTTI =
lib/Transforms/IPO/InlineSimple.cpp 56 TargetTransformInfo &TTI = TTIWP->getTTI(*Callee);
lib/Transforms/IPO/Inliner.cpp 1012 auto &CalleeTTI = FAM.getResult<TargetIRAnalysis>(Callee);
lib/Transforms/IPO/PartialInlining.cpp 203 std::function<TargetTransformInfo &(Function &)> *GTTI,
274 std::function<TargetTransformInfo &(Function &)> *GetTTI;
378 std::function<TargetTransformInfo &(Function &)> GetTTI =
774 auto &CalleeTTI = (*GetTTI)(*Callee);
1519 std::function<TargetTransformInfo &(Function &)> GetTTI =
lib/Transforms/IPO/SampleProfile.cpp 280 std::function<TargetTransformInfo &(Function &)> GetTargetTransformInfo)
364 std::function<TargetTransformInfo &(Function &)> GetTTI;
lib/Transforms/Instrumentation/CGProfile.cpp 46 TargetTransformInfo &TTI = FAM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Scalar/CallSiteSplitting.cpp 185 static bool canSplitCallSite(CallSite CS, TargetTransformInfo &TTI) {
215 TargetTransformInfo::TCK_CodeSize);
492 static bool tryToSplitCallSite(CallSite CS, TargetTransformInfo &TTI,
509 TargetTransformInfo &TTI, DominatorTree &DT) {
566 auto &TTI = getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
588 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Scalar/ConstantHoisting.cpp 371 if (Cost > TargetTransformInfo::TCC_Basic) {
925 bool ConstantHoistingPass::runImpl(Function &Fn, TargetTransformInfo &TTI,
967 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Scalar/DivRemPairs.cpp 179 static bool optimizeDivRem(Function &F, const TargetTransformInfo &TTI,
341 auto &TTI = getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
362 TargetTransformInfo &TTI = FAM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Scalar/EarlyCSE.cpp 445 const TargetTransformInfo &TTI;
527 const TargetTransformInfo &TTI, DominatorTree &DT,
604 ParseMemoryInst(Instruction *Inst, const TargetTransformInfo &TTI)
1319 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
1364 auto &TTI = getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
lib/Transforms/Scalar/IndVarSimplify.cpp 141 const TargetTransformInfo *TTI;
171 TargetTransformInfo *TTI)
895 const TargetTransformInfo *TTI) {
1938 const TargetTransformInfo *TTI;
1945 const TargetTransformInfo *TTI,
3173 auto *TTI = TTIP ? &TTIP->getTTI(*L->getHeader()->getParent()) : nullptr;
lib/Transforms/Scalar/InferAddressSpaces.cpp 144 const TargetTransformInfo *TTI;
181 const TargetTransformInfo &TTI, ArrayRef<WeakTrackingVH> Postorder,
756 static bool isSimplePointerUseValidToReplace(const TargetTransformInfo &TTI,
873 const TargetTransformInfo &TTI, ArrayRef<WeakTrackingVH> Postorder,
lib/Transforms/Scalar/LICM.cpp 137 TargetTransformInfo *TTI, bool &FreeInLoop);
171 TargetLibraryInfo *TLI, TargetTransformInfo *TTI,
328 TargetLibraryInfo *TLI, TargetTransformInfo *TTI, ScalarEvolution *SE,
496 TargetTransformInfo *TTI, Loop *CurLoop,
1299 const TargetTransformInfo *TTI) {
1302 if (TTI->getUserCost(GEP) != TargetTransformInfo::TCC_Free)
1317 return TTI->getUserCost(&I) == TargetTransformInfo::TCC_Free;
1328 TargetTransformInfo *TTI, bool &FreeInLoop) {
lib/Transforms/Scalar/LoopDataPrefetch.cpp 64 const TargetTransformInfo *TTI,
98 const TargetTransformInfo *TTI;
163 const TargetTransformInfo *TTI = &AM.getResult<TargetIRAnalysis>(F);
188 const TargetTransformInfo *TTI =
lib/Transforms/Scalar/LoopDistribute.cpp 1055 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 147 const TargetTransformInfo *TTI;
157 const TargetTransformInfo *TTI,
278 const TargetTransformInfo *TTI =
1575 TargetTransformInfo::TCC_Basic)
1589 if (TTI->getPopcntSupport(32) != TargetTransformInfo::PSK_FastHardware)
lib/Transforms/Scalar/LoopLoadElimination.cpp 693 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Scalar/LoopRotation.cpp 95 const auto *TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
lib/Transforms/Scalar/LoopStrengthReduce.cpp 797 static bool isAddressUse(const TargetTransformInfo &TTI,
837 static MemAccessTy getAccessType(const TargetTransformInfo &TTI,
1006 static bool isAMCompletelyFolded(const TargetTransformInfo &TTI,
1010 static unsigned getScalingFactorCost(const TargetTransformInfo &TTI,
1020 const TargetTransformInfo *TTI = nullptr;
1021 TargetTransformInfo::LSRCost C;
1025 Cost(const Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI) :
1209 static bool isAMCompletelyFolded(const TargetTransformInfo &TTI,
1628 static bool isAMCompletelyFolded(const TargetTransformInfo &TTI,
1682 static bool isAMCompletelyFolded(const TargetTransformInfo &TTI,
1703 static bool isAMCompletelyFolded(const TargetTransformInfo &TTI,
1720 static bool isLegalUse(const TargetTransformInfo &TTI, int64_t MinOffset,
1734 static bool isLegalUse(const TargetTransformInfo &TTI, int64_t MinOffset,
1741 static bool isAMCompletelyFolded(const TargetTransformInfo &TTI,
1758 static unsigned getScalingFactorCost(const TargetTransformInfo &TTI,
1795 static bool isAlwaysFoldable(const TargetTransformInfo &TTI,
1817 static bool isAlwaysFoldable(const TargetTransformInfo &TTI,
1916 const TargetTransformInfo &TTI;
2054 LoopInfo &LI, const TargetTransformInfo &TTI, AssumptionCache &AC,
3119 Value *Operand, const TargetTransformInfo &TTI) {
3543 static bool mayUsePostIncMode(const TargetTransformInfo &TTI,
5497 const TargetTransformInfo &TTI, AssumptionCache &AC,
5708 const TargetTransformInfo &TTI,
5744 const auto &TTI = getAnalysis<TargetTransformInfoWrapperPass>().getTTI(
lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp 146 TargetTransformInfo::UnrollingPreferences &UP) {
154 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT,
159 unsigned InnerLoopSize, TargetTransformInfo::UnrollingPreferences &UP) {
278 ScalarEvolution &SE, const TargetTransformInfo &TTI,
296 TargetTransformInfo::UnrollingPreferences UP =
449 const TargetTransformInfo &TTI =
lib/Transforms/Scalar/LoopUnrollPass.cpp 176 TargetTransformInfo::UnrollingPreferences llvm::gatherUnrollingPreferences(
177 Loop *L, ScalarEvolution &SE, const TargetTransformInfo &TTI,
184 TargetTransformInfo::UnrollingPreferences UP;
336 const TargetTransformInfo &TTI, unsigned MaxUnrolledLoopSize) {
641 const TargetTransformInfo &TTI,
723 TargetTransformInfo::UnrollingPreferences &UP) {
737 Loop *L, const TargetTransformInfo &TTI, DominatorTree &DT, LoopInfo *LI,
741 TargetTransformInfo::UnrollingPreferences &UP, bool &UseUpperBound) {
1013 const TargetTransformInfo &TTI, AssumptionCache &AC,
1043 TargetTransformInfo::UnrollingPreferences UP = gatherUnrollingPreferences(
1228 const TargetTransformInfo &TTI =
1413 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Scalar/LoopUnswitch.cpp 144 bool countLoop(const Loop *L, const TargetTransformInfo &TTI,
274 bool LUAnalysisCache::countLoop(const Loop *L, const TargetTransformInfo &TTI,
lib/Transforms/Scalar/MergeICmps.cpp 863 const TargetTransformInfo &TTI, AliasAnalysis &AA,
901 const auto &TTI = getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
935 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Scalar/NaryReassociate.cpp 174 auto *TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
185 auto *TTI = &AM.getResult<TargetIRAnalysis>(F);
199 TargetTransformInfo *TTI_) {
298 const TargetTransformInfo *TTI) {
303 Indices) == TargetTransformInfo::TCC_Free;
lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp 90 const TargetTransformInfo *TTI) {
137 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
165 const TargetTransformInfo *TTI =
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 142 auto &TTI = FAM.getResult<TargetIRAnalysis>(F);
185 TargetTransformInfo &TTI =
1959 TargetTransformInfo &TTI) {
2021 TargetTransformInfo &TTI) {
2172 TargetTransformInfo &TTI,
2517 TargetTransformInfo &TTI,
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 948 TargetTransformInfo &TTI =
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 2525 AssumptionCache &AC, TargetTransformInfo &TTI,
2802 AssumptionCache &AC, TargetTransformInfo &TTI,
2934 auto &TTI = getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
lib/Transforms/Scalar/SimplifyCFGPass.cpp 147 static bool iterativelySimplifyCFG(Function &F, const TargetTransformInfo &TTI,
173 static bool simplifyFunctionCFG(Function &F, const TargetTransformInfo &TTI,
219 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
268 auto &TTI = getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp 206 TargetTransformInfo &TTI) {
212 int MatCost = TargetTransformInfo::TCC_Free;
213 int FoldedCost = TargetTransformInfo::TCC_Free;
734 DominatorTree &DT, TargetTransformInfo &TTI) {
807 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Scalar/SpeculativeExecution.cpp 146 auto *TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
152 bool SpeculativeExecutionPass::runImpl(Function &F, TargetTransformInfo *TTI) {
212 const TargetTransformInfo &TTI) {
310 auto *TTI = &AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp 173 bool isFoldable(const Candidate &C, TargetTransformInfo *TTI,
234 TargetTransformInfo *TTI = nullptr;
273 const TargetTransformInfo *TTI) {
278 Indices) == TargetTransformInfo::TCC_Free;
283 TargetTransformInfo *TTI) {
291 TargetTransformInfo *TTI,
lib/Transforms/Scalar/TailRecursionElimination.cpp 450 const TargetTransformInfo *TTI) {
689 bool CannotTailCallElimCallsMarkedTail, const TargetTransformInfo *TTI,
738 bool CannotTailCallElimCallsMarkedTail, const TargetTransformInfo *TTI,
748 static bool eliminateTailRecursion(Function &F, const TargetTransformInfo *TTI,
864 TargetTransformInfo &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Utils/LoopRotationUtils.cpp 54 const TargetTransformInfo *TTI;
65 const TargetTransformInfo *TTI, AssumptionCache *AC,
655 bool llvm::LoopRotation(Loop *L, LoopInfo *LI, const TargetTransformInfo *TTI,
lib/Transforms/Utils/LoopUnrollPeel.cpp 260 TargetTransformInfo::UnrollingPreferences &UP,
lib/Transforms/Utils/LoopUtils.cpp 863 IRBuilder<> &Builder, const TargetTransformInfo *TTI, unsigned Opcode,
864 Value *Src, TargetTransformInfo::ReductionFlags Flags,
935 const TargetTransformInfo *TTI,
941 TargetTransformInfo::ReductionFlags Flags;
lib/Transforms/Utils/LowerMemIntrinsics.cpp 29 const TargetTransformInfo &TTI) {
140 const TargetTransformInfo &TTI) {
409 const TargetTransformInfo &TTI) {
lib/Transforms/Utils/SimplifyCFG.cpp 179 const TargetTransformInfo &TTI;
209 SimplifyCFGOpt(const TargetTransformInfo &TTI, const DataLayout &DL,
316 const TargetTransformInfo &TTI) {
342 const TargetTransformInfo &TTI,
1238 const TargetTransformInfo &TTI) {
1957 const TargetTransformInfo &TTI) {
2010 PHINodeFoldingThreshold * TargetTransformInfo::TCC_Basic)
2070 2 * PHINodeFoldingThreshold * TargetTransformInfo::TCC_Basic;
2293 static bool FoldTwoEntryPHINode(PHINode *PN, const TargetTransformInfo &TTI,
2328 TwoEntryPHINodeFoldingThreshold * TargetTransformInfo::TCC_Basic;
2950 const TargetTransformInfo &TTI) {
3000 PHINodeFoldingThreshold * TargetTransformInfo::TCC_Basic;
3109 const TargetTransformInfo &TTI) {
3221 const TargetTransformInfo &TTI) {
4605 static bool ValidLookupTableConstant(Constant *C, const TargetTransformInfo &TTI) {
4681 const DataLayout &DL, const TargetTransformInfo &TTI) {
4888 const TargetTransformInfo &TTI) {
5166 const TargetTransformInfo &TTI, const DataLayout &DL,
5293 const TargetTransformInfo &TTI) {
5552 const TargetTransformInfo &TTI) {
6130 bool llvm::simplifyCFG(BasicBlock *BB, const TargetTransformInfo &TTI,
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp 116 TargetTransformInfo &TTI;
122 ScalarEvolution &SE, TargetTransformInfo &TTI)
257 TargetTransformInfo &TTI =
272 TargetTransformInfo &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Vectorize/LoopVectorizationPlanner.h 196 const TargetTransformInfo *TTI;
224 const TargetTransformInfo *TTI,
lib/Transforms/Vectorize/LoopVectorize.cpp 403 const TargetTransformInfo *TTI, AssumptionCache *AC,
682 const TargetTransformInfo *TTI;
775 const TargetTransformInfo *TTI, AssumptionCache *AC,
956 const TargetTransformInfo &TTI,
1480 const TargetTransformInfo &TTI;
1602 auto *TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
2122 static bool useMaskedInterleavedAccesses(const TargetTransformInfo &TTI) {
5790 Cost += TTI.getShuffleCost(TargetTransformInfo::SK_Reverse, VectorTy, 0);
5803 TTI.getShuffleCost(TargetTransformInfo::SK_Broadcast, VectorTy);
5862 TTI.getShuffleCost(TargetTransformInfo::SK_Reverse, VectorTy, 0);
6142 return TTI.getShuffleCost(TargetTransformInfo::SK_ExtractSubvector,
6206 TargetTransformInfo::OperandValueProperties Op2VP;
6207 TargetTransformInfo::OperandValueKind Op2VK =
6209 if (Op2VK == TargetTransformInfo::OK_AnyValue && Legal->isUniform(Op2))
6210 Op2VK = TargetTransformInfo::OK_UniformValue;
6215 I->getOpcode(), VectorTy, TargetTransformInfo::OK_AnyValue,
6216 Op2VK, TargetTransformInfo::OP_None, Op2VP, Operands);
6221 I->getOpcode(), VectorTy, TargetTransformInfo::OK_AnyValue,
6222 TargetTransformInfo::OK_AnyValue,
6223 TargetTransformInfo::OP_None, TargetTransformInfo::OP_None,
6223 TargetTransformInfo::OP_None, TargetTransformInfo::OP_None,
7461 LoopVectorizationLegality *LVL, TargetTransformInfo *TTI,
7802 Function &F, ScalarEvolution &SE_, LoopInfo &LI_, TargetTransformInfo &TTI_,
7871 auto &TTI = AM.getResult<TargetIRAnalysis>(F);
lib/Transforms/Vectorize/SLPVectorizer.cpp 264 static Optional<TargetTransformInfo::ShuffleKind>
308 return TargetTransformInfo::SK_Select;
311 return Vec2 ? TargetTransformInfo::SK_PermuteTwoSrc
312 : TargetTransformInfo::SK_PermuteSingleSrc;
502 BoUpSLP(Function *Func, ScalarEvolution *Se, TargetTransformInfo *Tti,
1954 TargetTransformInfo *TTI;
2928 TTI->getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, VecTy);
2935 TTI->getShuffleCost(TargetTransformInfo::SK_Broadcast, VecTy, 0);
2939 Optional<TargetTransformInfo::ShuffleKind> ShuffleKind = isShuffle(VL);
3003 TargetTransformInfo::SK_PermuteSingleSrc, VecTy);
3101 TargetTransformInfo::OperandValueKind Op1VK =
3102 TargetTransformInfo::OK_AnyValue;
3103 TargetTransformInfo::OperandValueKind Op2VK =
3104 TargetTransformInfo::OK_UniformConstantValue;
3105 TargetTransformInfo::OperandValueProperties Op1VP =
3106 TargetTransformInfo::OP_None;
3107 TargetTransformInfo::OperandValueProperties Op2VP =
3108 TargetTransformInfo::OP_PowerOf2;
3121 Op2VK = TargetTransformInfo::OK_AnyValue;
3122 Op2VP = TargetTransformInfo::OP_None;
3125 if (Op2VP == TargetTransformInfo::OP_PowerOf2 &&
3127 Op2VP = TargetTransformInfo::OP_None;
3133 Op2VK = TargetTransformInfo::OK_NonUniformConstantValue;
3148 TargetTransformInfo::OperandValueKind Op1VK =
3149 TargetTransformInfo::OK_AnyValue;
3150 TargetTransformInfo::OperandValueKind Op2VK =
3151 TargetTransformInfo::OK_UniformConstantValue;
3177 TargetTransformInfo::SK_PermuteSingleSrc, VecTy);
3236 I, TargetTransformInfo::TCK_RecipThroughput);
3241 I, TargetTransformInfo::TCK_RecipThroughput);
3248 I, TargetTransformInfo::TCK_RecipThroughput);
3264 VecCost += TTI->getShuffleCost(TargetTransformInfo::SK_Select, VecTy, 0);
3515 Cost += TTI->getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, Ty);
5209 auto *TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
5244 auto *TTI = &AM.getResult<TargetIRAnalysis>(F);
5265 TargetTransformInfo *TTI_,
6073 TargetTransformInfo::ReductionFlags getFlags() const {
6074 TargetTransformInfo::ReductionFlags Flags;
6373 bool tryToReduce(BoUpSLP &V, TargetTransformInfo *TTI) {
6510 int getReductionCost(TargetTransformInfo *TTI, Value *FirstReducedVal,
6579 unsigned ReduxWidth, const TargetTransformInfo *TTI) {
6626 TargetTransformInfo *TTI,
6735 TargetTransformInfo *TTI,
6809 TargetTransformInfo *TTI) {
tools/bugpoint/CrashDebugger.cpp 646 TargetTransformInfo TTI;
tools/polly/include/polly/ScheduleOptimizer.h 52 const llvm::TargetTransformInfo *TTI;
200 const llvm::TargetTransformInfo *TTI,
tools/polly/lib/Transform/ScheduleOptimizer.cpp 898 getMicroKernelParams(const TargetTransformInfo *TTI, MatMulInfoTy MMI) {
924 void getTargetCacheParameters(const llvm::TargetTransformInfo *TTI) {
925 auto L1DCache = llvm::TargetTransformInfo::CacheLevel::L1D;
926 auto L2DCache = llvm::TargetTransformInfo::CacheLevel::L2D;
974 getMacroKernelParams(const llvm::TargetTransformInfo *TTI,
1276 const TargetTransformInfo *TTI,
1619 auto *TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
usr/include/c++/7.4.0/bits/move.h 46 inline _GLIBCXX_CONSTEXPR _Tp*
47 __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
136 inline _GLIBCXX17_CONSTEXPR _Tp*
137 addressof(_Tp& __r) noexcept
143 const _Tp* addressof(const _Tp&&) = delete;
143 const _Tp* addressof(const _Tp&&) = delete;
usr/include/c++/7.4.0/bits/std_function.h 62 : std::unary_function<_T1, _Res> { };
298 static _Res
390 : public _Maybe_unary_or_binary_function<_Res, _ArgTypes...>,
395 struct _Callable : __check_func_return_type<_Res2, _Res> { };
395 struct _Callable : __check_func_return_type<_Res2, _Res> { };
406 typedef _Res result_type;
595 _Res operator()(_ArgTypes... __args) const;
628 using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
689 typedef _Function_handler<_Res(_ArgTypes...), _Functor> _My_handler;
usr/include/c++/7.4.0/bits/stl_function.h 111 typedef _Result result_type;
usr/include/c++/7.4.0/bits/unique_ptr.h 824 make_unique(_Args&&... __args)
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits 194 { typedef _Tp type; };
215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1142 : public is_constructible<_Tp, const _Tp&>
1142 : public is_constructible<_Tp, const _Tp&>
1148 : public __is_copy_constructible_impl<_Tp>
1160 : public is_constructible<_Tp, _Tp&&>
1160 : public is_constructible<_Tp, _Tp&&>
1166 : public __is_move_constructible_impl<_Tp>
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1664 : public __add_rvalue_reference_helper<_Tp>
1955 { typedef _Tp type; };
2253 inline typename add_rvalue_reference<_Tp>::type
2277 struct __result_of_success : __success_type<_Tp>
2427 static __result_of_success<decltype(