|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Target/AArch64/AArch64TargetTransformInfo.cpp 91 return TTI::TCC_Free;
96 return TTI::TCC_Free;
100 return 2 * TTI::TCC_Basic;
101 return TTI::TCC_Free;
123 return TTI::TCC_Free;
142 return (Cost <= NumConstants * TTI::TCC_Basic)
143 ? static_cast<int>(TTI::TCC_Free)
157 return TTI::TCC_Free;
161 return TTI::TCC_Free;
171 return (Cost <= NumConstants * TTI::TCC_Basic)
172 ? static_cast<int>(TTI::TCC_Free)
178 return TTI::TCC_Free;
183 return TTI::TCC_Free;
193 return TTI::PSK_FastHardware;
195 return TTI::PSK_Software;
479 unsigned Opcode, Type *Ty, TTI::OperandValueKind Opd1Info,
480 TTI::OperandValueKind Opd2Info, TTI::OperandValueProperties Opd1PropInfo,
480 TTI::OperandValueKind Opd2Info, TTI::OperandValueProperties Opd1PropInfo,
481 TTI::OperandValueProperties Opd2PropInfo, ArrayRef<const Value *> Args) {
621 AArch64TTIImpl::TTI::MemCmpExpansionOptions
623 TTI::MemCmpExpansionOptions Options;
769 TTI::UnrollingPreferences &UP) {
896 TTI::ReductionFlags Flags) const {
948 int AArch64TTIImpl::getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, int Index,
950 if (Kind == TTI::SK_Broadcast || Kind == TTI::SK_Transpose ||
950 if (Kind == TTI::SK_Broadcast || Kind == TTI::SK_Transpose ||
951 Kind == TTI::SK_Select || Kind == TTI::SK_PermuteSingleSrc) {
951 Kind == TTI::SK_Select || Kind == TTI::SK_PermuteSingleSrc) {
954 { TTI::SK_Broadcast, MVT::v8i8, 1 },
955 { TTI::SK_Broadcast, MVT::v16i8, 1 },
956 { TTI::SK_Broadcast, MVT::v4i16, 1 },
957 { TTI::SK_Broadcast, MVT::v8i16, 1 },
958 { TTI::SK_Broadcast, MVT::v2i32, 1 },
959 { TTI::SK_Broadcast, MVT::v4i32, 1 },
960 { TTI::SK_Broadcast, MVT::v2i64, 1 },
961 { TTI::SK_Broadcast, MVT::v2f32, 1 },
962 { TTI::SK_Broadcast, MVT::v4f32, 1 },
963 { TTI::SK_Broadcast, MVT::v2f64, 1 },
966 { TTI::SK_Transpose, MVT::v8i8, 1 },
967 { TTI::SK_Transpose, MVT::v16i8, 1 },
968 { TTI::SK_Transpose, MVT::v4i16, 1 },
969 { TTI::SK_Transpose, MVT::v8i16, 1 },
970 { TTI::SK_Transpose, MVT::v2i32, 1 },
971 { TTI::SK_Transpose, MVT::v4i32, 1 },
972 { TTI::SK_Transpose, MVT::v2i64, 1 },
973 { TTI::SK_Transpose, MVT::v2f32, 1 },
974 { TTI::SK_Transpose, MVT::v4f32, 1 },
975 { TTI::SK_Transpose, MVT::v2f64, 1 },
978 { TTI::SK_Select, MVT::v2i32, 1 }, // mov.
979 { TTI::SK_Select, MVT::v4i32, 2 }, // rev+trn (or similar).
980 { TTI::SK_Select, MVT::v2i64, 1 }, // mov.
981 { TTI::SK_Select, MVT::v2f32, 1 }, // mov.
982 { TTI::SK_Select, MVT::v4f32, 2 }, // rev+trn (or similar).
983 { TTI::SK_Select, MVT::v2f64, 1 }, // mov.
986 { TTI::SK_PermuteSingleSrc, MVT::v2i32, 1 }, // mov.
987 { TTI::SK_PermuteSingleSrc, MVT::v4i32, 3 }, // perfectshuffle worst case.
988 { TTI::SK_PermuteSingleSrc, MVT::v2i64, 1 }, // mov.
989 { TTI::SK_PermuteSingleSrc, MVT::v2f32, 1 }, // mov.
990 { TTI::SK_PermuteSingleSrc, MVT::v4f32, 3 }, // perfectshuffle worst case.
991 { TTI::SK_PermuteSingleSrc, MVT::v2f64, 1 }, // mov.
lib/Target/AArch64/AArch64TargetTransformInfo.h 79 TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth);
123 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue,
123 TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue,
124 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue,
124 TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue,
125 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None,
125 TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None,
126 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None,
126 TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None,
134 TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize,
143 TTI::UnrollingPreferences &UP);
184 TTI::ReductionFlags Flags) const;
189 int getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, int Index, Type *SubTp);