Lines Matching refs:EltVT

1136     EVT EltVT = N->getValueType(0).getVectorElementType();  in VerifySDNode()  local
1138 assert((Op.getValueType() == EltVT || in VerifySDNode()
1139 (EltVT.isInteger() && Op.getValueType().isInteger() && in VerifySDNode()
1140 EltVT.bitsLE(Op.getValueType()))) && in VerifySDNode()
1603 EVT EltVT = VT.getScalarType(); in getConstant() local
1604 assert((EltVT.getSizeInBits() >= 64 || in getConstant()
1605 (uint64_t)((int64_t)Val >> EltVT.getSizeInBits()) + 1 < 2) && in getConstant()
1607 return getConstant(APInt(EltVT.getSizeInBits(), Val), DL, VT, isT, isO); in getConstant()
1619 EVT EltVT = VT.getScalarType(); in getConstant() local
1626 if (VT.isVector() && TLI->getTypeAction(*getContext(), EltVT) == in getConstant()
1628 EltVT = TLI->getTypeToTransformTo(*getContext(), EltVT); in getConstant()
1630 if (TLI->isSExtCheaperThanZExt(VT.getScalarType(), EltVT)) in getConstant()
1631 NewVal = Elt->getValue().sextOrTrunc(EltVT.getSizeInBits()); in getConstant()
1633 NewVal = Elt->getValue().zextOrTrunc(EltVT.getSizeInBits()); in getConstant()
1643 TLI->getTypeAction(*getContext(), EltVT) == in getConstant()
1646 EVT ViaEltVT = TLI->getTypeToTransformTo(*getContext(), EltVT); in getConstant()
1652 assert(EltVT.getSizeInBits() % ViaEltSizeInBits == 0 && in getConstant()
1654 unsigned Parts = EltVT.getSizeInBits() / ViaEltSizeInBits; in getConstant()
1700 assert(Elt->getBitWidth() == EltVT.getSizeInBits() && in getConstant()
1704 AddNodeIDNode(ID, Opc, getVTList(EltVT), std::nullopt); in getConstant()
1714 N = newSDNode<ConstantSDNode>(isT, isO, Elt, EltVT); in getConstant()
1752 EVT EltVT = VT.getScalarType(); in getConstantFP() local
1759 AddNodeIDNode(ID, Opc, getVTList(EltVT), std::nullopt); in getConstantFP()
1768 N = newSDNode<ConstantFPSDNode>(isTarget, &V, EltVT); in getConstantFP()
1782 EVT EltVT = VT.getScalarType(); in getConstantFP() local
1783 if (EltVT == MVT::f32) in getConstantFP()
1785 if (EltVT == MVT::f64) in getConstantFP()
1787 if (EltVT == MVT::f80 || EltVT == MVT::f128 || EltVT == MVT::ppcf128 || in getConstantFP()
1788 EltVT == MVT::f16 || EltVT == MVT::bf16) { in getConstantFP()
1791 APF.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
7329 MVT EltVT = (VT.getVectorElementType() == MVT::f32) ? MVT::i32 : MVT::i64; in getMemsetStringVal() local
7333 EltVT, NumElts))); in getMemsetStringVal()
12052 EVT EltVT = VT.getVectorElementType(); in UnrollVectorOp() local
12081 SDValue EltOp = getNode(N->getOpcode(), dl, {EltVT, EltVT1}, Operands); in UnrollVectorOp()
12115 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, Operands, in UnrollVectorOp()
12120 Scalars.push_back(getNode(ISD::SELECT, dl, EltVT, Operands)); in UnrollVectorOp()
12127 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, Operands[0], in UnrollVectorOp()
12133 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, in UnrollVectorOp()
12141 Scalars.push_back(getUNDEF(EltVT)); in UnrollVectorOp()
12143 EVT VecVT = EVT::getVectorVT(*getContext(), EltVT, ResNE); in UnrollVectorOp()
12371 EVT EltVT) { in ExtractVectorElements() argument
12375 if (EltVT == EVT()) in ExtractVectorElements()
12376 EltVT = VT.getVectorElementType(); in ExtractVectorElements()
12379 Args.push_back(getNode(ISD::EXTRACT_VECTOR_ELT, SL, EltVT, Op, in ExtractVectorElements()