Lines Matching refs:EltVT
815 EVT EltVT = N->getValueType(0).getVectorElementType(); in VerifyNodeCommon() local
817 assert((I->getValueType() == EltVT || in VerifyNodeCommon()
818 (EltVT.isInteger() && I->getValueType().isInteger() && in VerifyNodeCommon()
819 EltVT.bitsLE(I->getValueType()))) && in VerifyNodeCommon()
961 EVT EltVT = VT.getScalarType(); in getNOT() local
963 getConstant(APInt::getAllOnesValue(EltVT.getSizeInBits()), VT); in getNOT()
968 EVT EltVT = VT.getScalarType(); in getConstant() local
969 assert((EltVT.getSizeInBits() >= 64 || in getConstant()
970 (uint64_t)((int64_t)Val >> EltVT.getSizeInBits()) + 1 < 2) && in getConstant()
972 return getConstant(APInt(EltVT.getSizeInBits(), Val), VT, isT); in getConstant()
982 EVT EltVT = VT.getScalarType(); in getConstant() local
991 if (VT.isVector() && TLI->getTypeAction(*getContext(), EltVT) == in getConstant()
993 EltVT = TLI->getTypeToTransformTo(*getContext(), EltVT); in getConstant()
994 APInt NewVal = Elt->getValue().zext(EltVT.getSizeInBits()); in getConstant()
1004 TLI->getTypeAction(*getContext(), EltVT) == in getConstant()
1007 EVT ViaEltVT = TLI->getTypeToTransformTo(*getContext(), EltVT); in getConstant()
1046 assert(Elt->getBitWidth() == EltVT.getSizeInBits() && in getConstant()
1050 AddNodeIDNode(ID, Opc, getVTList(EltVT), 0, 0); in getConstant()
1059 N = new (NodeAllocator) ConstantSDNode(isT, Elt, EltVT); in getConstant()
1085 EVT EltVT = VT.getScalarType(); in getConstantFP() local
1092 AddNodeIDNode(ID, Opc, getVTList(EltVT), 0, 0); in getConstantFP()
1101 N = new (NodeAllocator) ConstantFPSDNode(isTarget, &V, EltVT); in getConstantFP()
1117 EVT EltVT = VT.getScalarType(); in getConstantFP() local
1118 if (EltVT==MVT::f32) in getConstantFP()
1120 else if (EltVT==MVT::f64) in getConstantFP()
1122 else if (EltVT==MVT::f80 || EltVT==MVT::f128 || EltVT==MVT::ppcf128 || in getConstantFP()
1123 EltVT==MVT::f16) { in getConstantFP()
1126 apf.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
3535 MVT EltVT = (VT.getVectorElementType() == MVT::f32) ? MVT::i32 : MVT::i64; in getMemsetStringVal() local
3538 EltVT, NumElts))); in getMemsetStringVal()
6267 EVT EltVT = VT.getVectorElementType(); in UnrollVectorOp() local
6300 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, in UnrollVectorOp()
6304 Scalars.push_back(getNode(ISD::SELECT, dl, EltVT, in UnrollVectorOp()
6312 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, Operands[0], in UnrollVectorOp()
6319 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, in UnrollVectorOp()
6327 Scalars.push_back(getUNDEF(EltVT)); in UnrollVectorOp()
6330 EVT::getVectorVT(*getContext(), EltVT, ResNE), in UnrollVectorOp()