/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 41 return TTI::TCC_Free; in getIntImmCost() 44 return TTI::TCC_Free; in getIntImmCost() 47 return TTI::TCC_Free; in getIntImmCost() 52 return TTI::TCC_Basic; in getIntImmCost() 55 return TTI::TCC_Basic; in getIntImmCost() 58 return TTI::TCC_Basic; in getIntImmCost() 60 return 2 * TTI::TCC_Basic; in getIntImmCost() 63 return 4 * TTI::TCC_Basic; in getIntImmCost() 74 return TTI::TCC_Free; in getIntImmCost() 77 return TTI::TCC_Free; in getIntImmCost() [all …]
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonTargetTransformInfo.h | 35 using TTI = TargetTransformInfo; variable 60 TTI::PopcntSupportKind getPopcntSupport(unsigned IntTyWidthInBit) const; 64 TTI::UnrollingPreferences &UP); 67 TTI::PeelingPreferences &PP); 111 TTI::TargetCostKind CostKind); 113 TTI::TargetCostKind CostKind); 118 TTI::TargetCostKind CostKind, 123 TTI::TargetCostKind CostKind = TTI::TCK_SizeAndLatency); 124 unsigned getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, int Index, 128 Align Alignment, TTI::TargetCostKind CostKind, [all …]
|
/external/llvm-project/llvm/lib/Target/Lanai/ |
D | LanaiTargetTransformInfo.h | 30 typedef TargetTransformInfo TTI; typedef 48 return TTI::PSK_FastHardware; in getPopcntSupport() 49 return TTI::PSK_Software; in getPopcntSupport() 52 int getIntImmCost(const APInt &Imm, Type *Ty, TTI::TargetCostKind CostKind) { in getIntImmCost() 55 return TTI::TCC_Free; in getIntImmCost() 57 return TTI::TCC_Basic; in getIntImmCost() 59 return TTI::TCC_Basic; in getIntImmCost() 62 return TTI::TCC_Basic; in getIntImmCost() 63 return 2 * TTI::TCC_Basic; in getIntImmCost() 66 return 4 * TTI::TCC_Basic; in getIntImmCost() [all …]
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.h | 28 typedef TargetTransformInfo TTI; typedef 52 TTI::TargetCostKind CostKind); 55 Type *Ty, TTI::TargetCostKind CostKind, 58 Type *Ty, TTI::TargetCostKind CostKind); 61 TTI::TargetCostKind CostKind); 63 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth); 73 TTI::UnrollingPreferences &UP); 75 TTI::PeelingPreferences &PP); 86 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, 103 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, [all …]
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.h | 20 typedef TargetTransformInfo TTI; typedef 41 int getIntImmCost(const APInt &Imm, Type *Ty, TTI::TargetCostKind CostKind); 44 Type *Ty, TTI::TargetCostKind CostKind, 47 Type *Ty, TTI::TargetCostKind CostKind); 49 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth); 52 TTI::UnrollingPreferences &UP); 55 TTI::PeelingPreferences &PP); 83 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 84 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 85 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, [all …]
|
D | SystemZTargetTransformInfo.cpp | 34 TTI::TargetCostKind CostKind) { in getIntImmCost() 41 return TTI::TCC_Free; in getIntImmCost() 44 return TTI::TCC_Free; in getIntImmCost() 47 return TTI::TCC_Free; in getIntImmCost() 52 return TTI::TCC_Basic; in getIntImmCost() 55 return TTI::TCC_Basic; in getIntImmCost() 58 return TTI::TCC_Basic; in getIntImmCost() 60 return 2 * TTI::TCC_Basic; in getIntImmCost() 63 return 4 * TTI::TCC_Basic; in getIntImmCost() 68 TTI::TargetCostKind CostKind, in getIntImmCostInst() [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.h | 44 using TTI = TargetTransformInfo; variable 64 TTI::UnrollingPreferences &UP); 67 TTI::PeelingPreferences &PP); 72 using TTI = TargetTransformInfo; variable 118 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput) { 119 return CostKind == TTI::TCK_CodeSize ? 2 126 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput) { 127 return CostKind == TTI::TCK_CodeSize ? 2 134 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput) const { 158 TTI::UnrollingPreferences &UP); [all …]
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.h | 29 typedef TargetTransformInfo TTI; typedef 102 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth); 123 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 124 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 125 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 126 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, 127 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None, 130 int getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp, int Index, 133 TTI::CastContextHint CCH, TTI::TargetCostKind CostKind, 137 TTI::TargetCostKind CostKind, [all …]
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.h | 43 using TTI = TargetTransformInfo; variable 75 int getIntImmCost(const APInt &Imm, Type *Ty, TTI::TargetCostKind CostKind); 77 Type *Ty, TTI::TargetCostKind CostKind, 80 Type *Ty, TTI::TargetCostKind CostKind); 81 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth); 101 TTI::TargetCostKind CostKind); 121 TTI::CastContextHint CCH, TTI::TargetCostKind CostKind, 127 unsigned getCFInstrCost(unsigned Opcode, TTI::TargetCostKind CostKind); 133 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 134 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, [all …]
|
D | AArch64TargetTransformInfo.cpp | 63 TTI::TargetCostKind CostKind) { in getIntImmCost() 89 TTI::TargetCostKind CostKind, in getIntImmCostInst() 97 return TTI::TCC_Free; in getIntImmCostInst() 102 return TTI::TCC_Free; in getIntImmCostInst() 106 return 2 * TTI::TCC_Basic; in getIntImmCostInst() 107 return TTI::TCC_Free; in getIntImmCostInst() 129 return TTI::TCC_Free; in getIntImmCostInst() 148 return (Cost <= NumConstants * TTI::TCC_Basic) in getIntImmCostInst() 149 ? static_cast<int>(TTI::TCC_Free) in getIntImmCostInst() 157 TTI::TargetCostKind CostKind) { in getIntImmCostIntrin() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiTargetTransformInfo.h | 30 typedef TargetTransformInfo TTI; typedef 48 return TTI::PSK_FastHardware; in getPopcntSupport() 49 return TTI::PSK_Software; in getPopcntSupport() 55 return TTI::TCC_Free; in getIntImmCost() 57 return TTI::TCC_Basic; in getIntImmCost() 59 return TTI::TCC_Basic; in getIntImmCost() 62 return TTI::TCC_Basic; in getIntImmCost() 63 return 2 * TTI::TCC_Basic; in getIntImmCost() 66 return 4 * TTI::TCC_Basic; in getIntImmCost() 80 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, [all …]
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 33 typedef TargetTransformInfo TTI; typedef 49 TTI::TargetCostKind CostKind = TTI::TCK_SizeAndLatency) { 54 return TTI::TCC_Basic; 56 return TTI::TCC_Free; 73 unsigned getMemcpyCost(const Instruction *I) { return TTI::TCC_Expensive; } in getMemcpyCost() 173 TTI::UnrollingPreferences &) {} in getUnrollingPreferences() 176 TTI::PeelingPreferences &) {} in getPeelingPreferences() 190 bool isLSRCostLess(TTI::LSRCost &C1, TTI::LSRCost &C2) { in isLSRCostLess() 285 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, in enableMemCmpExpansion() 302 TTI::PopcntSupportKind getPopcntSupport(unsigned IntTyWidthInBit) { in getPopcntSupport() [all …]
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.h | 53 using TTI = TargetTransformInfo; variable 126 int getIntImmCost(const APInt &Imm, Type *Ty, TTI::TargetCostKind CostKind); 129 Type *Ty, TTI::TargetCostKind CostKind, 186 int getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp, int Index, 190 TTI::ReductionFlags Flags) const; 193 TTI::ReductionFlags Flags) const; 196 TTI::ReductionFlags Flags) const; 201 TTI::TargetCostKind CostKind); 204 TTI::CastContextHint CCH, TTI::TargetCostKind CostKind, 209 TTI::TargetCostKind CostKind, [all …]
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyTargetTransformInfo.h | 30 typedef TargetTransformInfo TTI; typedef 49 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) const; 60 TTI::TargetCostKind CostKind = TTI::TCK_SizeAndLatency, 61 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 62 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 63 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, 64 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None,
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.h | 29 typedef TargetTransformInfo TTI; typedef 91 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 92 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 93 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 94 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, 95 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None, 100 TTI::UnrollingPreferences &UP); 103 TTI::PeelingPreferences &PP);
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 41 TTI::PSK_SlowHardware : TTI::PSK_FastHardware; in getPopcntSupport() 42 return TTI::PSK_Software; in getPopcntSupport() 56 return TTI::TCC_Free; in getIntImmCost() 60 return TTI::TCC_Basic; in getIntImmCost() 65 return TTI::TCC_Basic; in getIntImmCost() 67 return 2 * TTI::TCC_Basic; in getIntImmCost() 71 return 4 * TTI::TCC_Basic; in getIntImmCost() 87 return TTI::TCC_Free; in getIntImmCost() 93 return TTI::TCC_Free; in getIntImmCost() 97 return TTI::TCC_Free; in getIntImmCost() [all …]
|
D | PPCTargetTransformInfo.h | 30 typedef TargetTransformInfo TTI; typedef 61 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth); 62 void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP); 78 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 79 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 80 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, 81 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None); 82 int getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, int Index, Type *SubTp);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyTargetTransformInfo.h | 30 typedef TargetTransformInfo TTI; typedef 49 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) const; 60 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 61 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 62 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, 63 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None,
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.h | 30 typedef TargetTransformInfo TTI; typedef 76 void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP); 78 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) { in getPopcntSupport() 80 return TTI::PSK_FastHardware; in getPopcntSupport() 90 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 91 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 92 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, 93 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None);
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 33 typedef TargetTransformInfo TTI; typedef 51 return TTI::TCC_Basic; in getOperationCost() 60 return TTI::TCC_Free; in getOperationCost() 63 return TTI::TCC_Basic; in getOperationCost() 71 return TTI::TCC_Expensive; in getOperationCost() 79 return TTI::TCC_Free; in getOperationCost() 82 return TTI::TCC_Basic; in getOperationCost() 90 return TTI::TCC_Free; in getOperationCost() 93 return TTI::TCC_Basic; in getOperationCost() 99 return TTI::TCC_Free; in getOperationCost() [all …]
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiTargetTransformInfo.h | 30 typedef TargetTransformInfo TTI; typedef 54 return TTI::PSK_FastHardware; in getPopcntSupport() 55 return TTI::PSK_Software; in getPopcntSupport() 60 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 61 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 62 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, 63 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None) {
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.h | 30 typedef TargetTransformInfo TTI; typedef 61 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 62 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 63 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, 64 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None); 66 void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP);
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyTargetTransformInfo.h | 31 typedef TargetTransformInfo TTI; typedef 57 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) const; 68 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 69 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 70 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, 71 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.h | 29 typedef TargetTransformInfo TTI; typedef 90 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, 91 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, 92 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, 93 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None, 98 TTI::UnrollingPreferences &UP);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 92 return TTI::TCC_Free; in getIntImmCostInst() 97 return TTI::TCC_Free; in getIntImmCostInst() 101 return 2 * TTI::TCC_Basic; in getIntImmCostInst() 102 return TTI::TCC_Free; in getIntImmCostInst() 124 return TTI::TCC_Free; in getIntImmCostInst() 143 return (Cost <= NumConstants * TTI::TCC_Basic) in getIntImmCostInst() 144 ? static_cast<int>(TTI::TCC_Free) in getIntImmCostInst() 158 return TTI::TCC_Free; in getIntImmCostIntrin() 168 return TTI::TCC_Free; in getIntImmCostIntrin() 178 return (Cost <= NumConstants * TTI::TCC_Basic) in getIntImmCostIntrin() [all …]
|