| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 3325 MVT MTy = LT.second; in getCmpSelInstrCost() local 3336 if (MTy.isVector() && in getCmpSelInstrCost() 3337 !((ST->hasXOP() && (!ST->hasAVX2() || MTy.is128BitVector())) || in getCmpSelInstrCost() 3338 (ST->hasAVX512() && 32 <= MTy.getScalarSizeInBits()) || in getCmpSelInstrCost() 3368 if ((ST->hasSSE41() && MTy.getScalarSizeInBits() == 32) || in getCmpSelInstrCost() 3369 (ST->hasSSE2() && MTy.getScalarSizeInBits() < 32)) { in getCmpSelInstrCost() 3554 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy)) in getCmpSelInstrCost() 3559 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy)) in getCmpSelInstrCost() 3564 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy)) in getCmpSelInstrCost() 3569 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy)) in getCmpSelInstrCost() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 737 MVT MTy = LT.second; in getIntrinsicInstrCost() local 738 if (const auto *Entry = CostTableLookup(CtpopCostTbl, ISD::CTPOP, MTy)) { in getIntrinsicInstrCost() 741 int ExtraCost = MTy.isVector() && MTy.getScalarSizeInBits() != in getIntrinsicInstrCost() 781 EVT MTy = TLI->getValueType(DL, RetTy->getContainedType(0), true); in getIntrinsicInstrCost() local 782 if (MTy.isSimple()) in getIntrinsicInstrCost() 784 MTy.getSimpleVT())) in getIntrinsicInstrCost() 794 EVT MTy = TLI->getValueType(DL, RetTy); in getIntrinsicInstrCost() local 800 if ((LT.second.getScalarSizeInBits() == MTy.getScalarSizeInBits() || in getIntrinsicInstrCost() 801 (LT.second == MVT::f64 && MTy == MVT::i32) || in getIntrinsicInstrCost() 802 (LT.second == MVT::f32 && MTy == MVT::i64))) in getIntrinsicInstrCost() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | X86.cpp | 2878 QualType MTy = FD->getType(); in classifyRegCallStructTypeImpl() local 2879 if (MTy->isRecordType() && !MTy->isUnionType()) { in classifyRegCallStructTypeImpl() 2880 if (classifyRegCallStructTypeImpl(MTy, NeededInt, NeededSSE, in classifyRegCallStructTypeImpl() 2888 if (classifyArgumentType(MTy, UINT_MAX, LocalNeededInt, LocalNeededSSE, in classifyRegCallStructTypeImpl() 2894 if (const auto *AT = getContext().getAsConstantArrayType(MTy)) in classifyRegCallStructTypeImpl() 2895 MTy = AT->getElementType(); in classifyRegCallStructTypeImpl() 2896 if (const auto *VT = MTy->getAs<VectorType>()) in classifyRegCallStructTypeImpl()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 990 EVT MTy = getTLI()->getValueType(DL, Ty); in getTypeLegalizationCost() local 997 TargetLoweringBase::LegalizeKind LK = getTLI()->getTypeConversion(C, MTy); in getTypeLegalizationCost() 1002 MVT VT = MTy.isSimple() ? MTy.getSimpleVT() : MVT::i64; in getTypeLegalizationCost() 1007 return std::make_pair(Cost, MTy.getSimpleVT()); in getTypeLegalizationCost() 1014 if (MTy == LK.second) in getTypeLegalizationCost() 1015 return std::make_pair(Cost, MTy.getSimpleVT()); in getTypeLegalizationCost() 1018 MTy = LK.second; in getTypeLegalizationCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 2058 EVT MTy = TLI->getValueType(DL, ICA.getReturnType()); in getIntrinsicInstrCost() local 2060 if ((ST->hasVFP2Base() && LT.second == MVT::f32 && MTy == MVT::i32) || in getIntrinsicInstrCost() 2061 (ST->hasFP64() && LT.second == MVT::f64 && MTy == MVT::i32) || in getIntrinsicInstrCost() 2062 (ST->hasFullFP16() && LT.second == MVT::f16 && MTy == MVT::i32)) in getIntrinsicInstrCost() 2068 LT.second.getScalarSizeInBits() == MTy.getScalarSizeInBits()) in getIntrinsicInstrCost() 2077 LT.second.getScalarSizeInBits() >= MTy.getScalarSizeInBits()) { in getIntrinsicInstrCost()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1899 auto *MTy = cast<llvm::FixedVectorType>(Mask->getType()); in VisitShuffleVectorExpr() local 1903 llvm::ConstantInt::get(MTy, llvm::NextPowerOf2(LHSElts - 1) - 1); in VisitShuffleVectorExpr() 1913 MTy->getNumElements()); in VisitShuffleVectorExpr() 1915 for (unsigned i = 0, e = MTy->getNumElements(); i != e; ++i) { in VisitShuffleVectorExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 5129 auto *MTy = Base->getType()->getAs<ConstantMatrixType>(); in CreateBuiltinMatrixSubscriptExpr() local 5130 RowIdx = IsIndexValid(RowIdx, MTy->getNumRows(), false); in CreateBuiltinMatrixSubscriptExpr() 5131 ColumnIdx = IsIndexValid(ColumnIdx, MTy->getNumColumns(), true); in CreateBuiltinMatrixSubscriptExpr() 5136 MTy->getElementType(), RBLoc); in CreateBuiltinMatrixSubscriptExpr()
|