/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 3174 MVT MTy = LT.second; in getCmpSelInstrCost() local 3185 if (MTy.isVector() && in getCmpSelInstrCost() 3186 !((ST->hasXOP() && (!ST->hasAVX2() || MTy.is128BitVector())) || in getCmpSelInstrCost() 3187 (ST->hasAVX512() && 32 <= MTy.getScalarSizeInBits()) || in getCmpSelInstrCost() 3217 if ((ST->hasSSE41() && MTy.getScalarSizeInBits() == 32) || in getCmpSelInstrCost() 3218 (ST->hasSSE2() && MTy.getScalarSizeInBits() < 32)) { in getCmpSelInstrCost() 3401 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy)) in getCmpSelInstrCost() 3406 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy)) in getCmpSelInstrCost() 3411 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy)) in getCmpSelInstrCost() 3416 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy)) in getCmpSelInstrCost() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 698 MVT MTy = LT.second; in getIntrinsicInstrCost() local 699 if (const auto *Entry = CostTableLookup(CtpopCostTbl, ISD::CTPOP, MTy)) { in getIntrinsicInstrCost() 702 int ExtraCost = MTy.isVector() && MTy.getScalarSizeInBits() != in getIntrinsicInstrCost() 742 EVT MTy = TLI->getValueType(DL, RetTy->getContainedType(0), true); in getIntrinsicInstrCost() local 743 if (MTy.isSimple()) in getIntrinsicInstrCost() 745 MTy.getSimpleVT())) in getIntrinsicInstrCost() 755 EVT MTy = TLI->getValueType(DL, RetTy); in getIntrinsicInstrCost() local 761 (LT.second.getScalarSizeInBits() == MTy.getScalarSizeInBits() || in getIntrinsicInstrCost() 762 (LT.second == MVT::f64 && MTy == MVT::i32) || in getIntrinsicInstrCost() 763 (LT.second == MVT::f32 && MTy == MVT::i64))) in getIntrinsicInstrCost() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 863 EVT MTy = getTLI()->getValueType(DL, Ty); in getTypeLegalizationCost() local 870 TargetLoweringBase::LegalizeKind LK = getTLI()->getTypeConversion(C, MTy); in getTypeLegalizationCost() 875 MVT VT = MTy.isSimple() ? MTy.getSimpleVT() : MVT::i64; in getTypeLegalizationCost() 880 return std::make_pair(Cost, MTy.getSimpleVT()); in getTypeLegalizationCost() 887 if (MTy == LK.second) in getTypeLegalizationCost() 888 return std::make_pair(Cost, MTy.getSimpleVT()); in getTypeLegalizationCost() 891 MTy = LK.second; in getTypeLegalizationCost()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | X86.cpp | 2862 QualType MTy = FD->getType(); in classifyRegCallStructTypeImpl() local 2863 if (MTy->isRecordType() && !MTy->isUnionType()) { in classifyRegCallStructTypeImpl() 2864 if (classifyRegCallStructTypeImpl(MTy, NeededInt, NeededSSE, in classifyRegCallStructTypeImpl() 2872 if (classifyArgumentType(MTy, UINT_MAX, LocalNeededInt, LocalNeededSSE, in classifyRegCallStructTypeImpl() 2878 if (const auto *AT = getContext().getAsConstantArrayType(MTy)) in classifyRegCallStructTypeImpl() 2879 MTy = AT->getElementType(); in classifyRegCallStructTypeImpl() 2880 if (const auto *VT = MTy->getAs<VectorType>()) in classifyRegCallStructTypeImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 1953 EVT MTy = TLI->getValueType(DL, ICA.getReturnType()); in getIntrinsicInstrCost() local 1955 if ((ST->hasVFP2Base() && LT.second == MVT::f32 && MTy == MVT::i32) || in getIntrinsicInstrCost() 1956 (ST->hasFP64() && LT.second == MVT::f64 && MTy == MVT::i32) || in getIntrinsicInstrCost() 1957 (ST->hasFullFP16() && LT.second == MVT::f16 && MTy == MVT::i32)) in getIntrinsicInstrCost() 1963 LT.second.getScalarSizeInBits() == MTy.getScalarSizeInBits()) in getIntrinsicInstrCost() 1972 LT.second.getScalarSizeInBits() >= MTy.getScalarSizeInBits()) { in getIntrinsicInstrCost()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 1819 auto *MTy = cast<llvm::FixedVectorType>(Mask->getType()); in VisitShuffleVectorExpr() local 1823 llvm::ConstantInt::get(MTy, llvm::NextPowerOf2(LHSElts - 1) - 1); in VisitShuffleVectorExpr() 1833 MTy->getNumElements()); in VisitShuffleVectorExpr() 1835 for (unsigned i = 0, e = MTy->getNumElements(); i != e; ++i) { in VisitShuffleVectorExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 5031 auto *MTy = Base->getType()->getAs<ConstantMatrixType>(); in CreateBuiltinMatrixSubscriptExpr() local 5032 RowIdx = IsIndexValid(RowIdx, MTy->getNumRows(), false); in CreateBuiltinMatrixSubscriptExpr() 5033 ColumnIdx = IsIndexValid(ColumnIdx, MTy->getNumColumns(), true); in CreateBuiltinMatrixSubscriptExpr() 5038 MTy->getElementType(), RBLoc); in CreateBuiltinMatrixSubscriptExpr()
|