Home
last modified time | relevance | path

Searched refs:MTy (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp3041 MVT MTy = LT.second; in getCmpSelInstrCost() local
3051 if (MTy.isVector() && in getCmpSelInstrCost()
3052 !((ST->hasXOP() && (!ST->hasAVX2() || MTy.is128BitVector())) || in getCmpSelInstrCost()
3053 (ST->hasAVX512() && 32 <= MTy.getScalarSizeInBits()) || in getCmpSelInstrCost()
3079 if ((ST->hasSSE41() && MTy.getScalarSizeInBits() == 32) || in getCmpSelInstrCost()
3080 (ST->hasSSE2() && MTy.getScalarSizeInBits() < 32)) { in getCmpSelInstrCost()
3263 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy)) in getCmpSelInstrCost()
3268 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy)) in getCmpSelInstrCost()
3273 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy)) in getCmpSelInstrCost()
3278 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy)) in getCmpSelInstrCost()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp425 MVT MTy = LT.second; in getIntrinsicInstrCost() local
426 if (const auto *Entry = CostTableLookup(CtpopCostTbl, ISD::CTPOP, MTy)) { in getIntrinsicInstrCost()
429 int ExtraCost = MTy.isVector() && MTy.getScalarSizeInBits() != in getIntrinsicInstrCost()
469 EVT MTy = TLI->getValueType(DL, RetTy->getContainedType(0), true); in getIntrinsicInstrCost() local
470 if (MTy.isSimple()) in getIntrinsicInstrCost()
472 MTy.getSimpleVT())) in getIntrinsicInstrCost()
482 EVT MTy = TLI->getValueType(DL, RetTy); in getIntrinsicInstrCost() local
488 (LT.second.getScalarSizeInBits() == MTy.getScalarSizeInBits() || in getIntrinsicInstrCost()
489 (LT.second == MVT::f64 && MTy == MVT::i32) || in getIntrinsicInstrCost()
490 (LT.second == MVT::f32 && MTy == MVT::i64))) in getIntrinsicInstrCost()
[all …]
/openbsd/src/gnu/llvm/clang/docs/
DMatrixTypes.rst156 * The resulting type, ``MTy``, is a matrix type with the common element type,
159 element type of ``MTy``, ``col`` is the number of columns, ``row`` is the
160 number of rows in ``MTy`` and ``inner`` is the number of columns of ``M1``:
164 MTy Res;
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h815 EVT MTy = getTLI()->getValueType(DL, Ty); in getTypeLegalizationCost() local
822 TargetLoweringBase::LegalizeKind LK = getTLI()->getTypeConversion(C, MTy); in getTypeLegalizationCost()
827 MVT VT = MTy.isSimple() ? MTy.getSimpleVT() : MVT::i64; in getTypeLegalizationCost()
832 return std::make_pair(Cost, MTy.getSimpleVT()); in getTypeLegalizationCost()
839 if (MTy == LK.second) in getTypeLegalizationCost()
840 return std::make_pair(Cost, MTy.getSimpleVT()); in getTypeLegalizationCost()
843 MTy = LK.second; in getTypeLegalizationCost()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp1816 EVT MTy = TLI->getValueType(DL, ICA.getReturnType()); in getIntrinsicInstrCost() local
1818 if ((ST->hasVFP2Base() && LT.second == MVT::f32 && MTy == MVT::i32) || in getIntrinsicInstrCost()
1819 (ST->hasFP64() && LT.second == MVT::f64 && MTy == MVT::i32) || in getIntrinsicInstrCost()
1820 (ST->hasFullFP16() && LT.second == MVT::f16 && MTy == MVT::i32)) in getIntrinsicInstrCost()
1826 LT.second.getScalarSizeInBits() == MTy.getScalarSizeInBits()) in getIntrinsicInstrCost()
1835 LT.second.getScalarSizeInBits() >= MTy.getScalarSizeInBits()) { in getIntrinsicInstrCost()
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DTargetInfo.cpp3908 QualType MTy = FD->getType(); in classifyRegCallStructTypeImpl() local
3909 if (MTy->isRecordType() && !MTy->isUnionType()) { in classifyRegCallStructTypeImpl()
3910 if (classifyRegCallStructTypeImpl(MTy, NeededInt, NeededSSE, in classifyRegCallStructTypeImpl()
3918 if (classifyArgumentType(MTy, UINT_MAX, LocalNeededInt, LocalNeededSSE, in classifyRegCallStructTypeImpl()
3924 if (const auto *AT = getContext().getAsConstantArrayType(MTy)) in classifyRegCallStructTypeImpl()
3925 MTy = AT->getElementType(); in classifyRegCallStructTypeImpl()
3926 if (const auto *VT = MTy->getAs<VectorType>()) in classifyRegCallStructTypeImpl()
DCGExprScalar.cpp1653 auto *MTy = cast<llvm::FixedVectorType>(Mask->getType()); in VisitShuffleVectorExpr() local
1657 llvm::ConstantInt::get(MTy, llvm::NextPowerOf2(LHSElts - 1) - 1); in VisitShuffleVectorExpr()
1667 MTy->getNumElements()); in VisitShuffleVectorExpr()
1669 for (unsigned i = 0, e = MTy->getNumElements(); i != e; ++i) { in VisitShuffleVectorExpr()
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaExpr.cpp5035 auto *MTy = Base->getType()->getAs<ConstantMatrixType>(); in CreateBuiltinMatrixSubscriptExpr() local
5036 RowIdx = IsIndexValid(RowIdx, MTy->getNumRows(), false); in CreateBuiltinMatrixSubscriptExpr()
5037 ColumnIdx = IsIndexValid(ColumnIdx, MTy->getNumColumns(), true); in CreateBuiltinMatrixSubscriptExpr()
5042 MTy->getElementType(), RBLoc); in CreateBuiltinMatrixSubscriptExpr()