Lines Matching refs:SVT

317   EVT SVT = Op.getValueType().getScalarType();  in matchUnaryPredicate()  local
326 if (!Cst || Cst->getValueType(0) != SVT || !Match(Cst)) in matchUnaryPredicate()
350 EVT SVT = LHS.getValueType().getScalarType(); in matchBinaryPredicate() local
360 if (!AllowTypeMismatch && (LHSOp.getValueType() != SVT || in matchBinaryPredicate()
2640 EVT SVT = SrcVector.getValueType().getScalarType(); in getSplatValue() local
2641 EVT LegalSVT = SVT; in getSplatValue()
2642 if (LegalTypes && !TLI->isTypeLegal(SVT)) { in getSplatValue()
2643 if (!SVT.isInteger()) in getSplatValue()
2646 if (LegalSVT.bitsLT(SVT)) in getSplatValue()
4587 EVT SVT = VT.getScalarType(); in foldCONCAT_VECTORS() local
4592 Elts.append(OpVT.getVectorNumElements(), DAG.getUNDEF(SVT)); in foldCONCAT_VECTORS()
4602 SVT = (SVT.bitsLT(Op.getValueType()) ? Op.getValueType() : SVT); in foldCONCAT_VECTORS()
4604 if (SVT.bitsGT(VT.getScalarType())) { in foldCONCAT_VECTORS()
4607 Op = DAG.getUNDEF(SVT); in foldCONCAT_VECTORS()
4609 Op = DAG.getTargetLoweringInfo().isZExtFree(Op.getValueType(), SVT) in foldCONCAT_VECTORS()
4610 ? DAG.getZExtOrTrunc(Op, DL, SVT) in foldCONCAT_VECTORS()
4611 : DAG.getSExtOrTrunc(Op, DL, SVT); in foldCONCAT_VECTORS()
5260 EVT SVT = VT.getScalarType(); in FoldConstantArithmetic() local
5261 EVT LegalSVT = SVT; in FoldConstantArithmetic()
5264 if (LegalSVT.bitsLT(SVT)) in FoldConstantArithmetic()
5289 V1 = getUNDEF(SVT); in FoldConstantArithmetic()
5297 V2 = getUNDEF(SVT); in FoldConstantArithmetic()
5299 if (SVT.isInteger()) { in FoldConstantArithmetic()
5300 if (V1.getValueType().bitsGT(SVT)) in FoldConstantArithmetic()
5301 V1 = getNode(ISD::TRUNCATE, DL, SVT, V1); in FoldConstantArithmetic()
5302 if (V2.getValueType().bitsGT(SVT)) in FoldConstantArithmetic()
5303 V2 = getNode(ISD::TRUNCATE, DL, SVT, V2); in FoldConstantArithmetic()
5306 if (V1.getValueType() != SVT || V2.getValueType() != SVT) in FoldConstantArithmetic()
5310 SDValue ScalarResult = getNode(Opcode, DL, SVT, V1, V2); in FoldConstantArithmetic()
5311 if (LegalSVT != SVT) in FoldConstantArithmetic()
5381 EVT SVT = (Opcode == ISD::SETCC ? MVT::i1 : VT.getScalarType()); in FoldConstantVectorArithmetic() local
5426 SDValue ScalarResult = getNode(Opcode, DL, SVT, ScalarOps, Flags); in FoldConstantVectorArithmetic()
5429 if (LegalSVT != SVT) in FoldConstantVectorArithmetic()
7529 EVT SVT, Align Alignment, in getTruncStore() argument
7543 PtrInfo, MMOFlags, MemoryLocation::getSizeOrUnknown(SVT.getStoreSize()), in getTruncStore()
7545 return getTruncStore(Chain, dl, Val, Ptr, SVT, MMO); in getTruncStore()
7549 SDValue Ptr, EVT SVT, in getTruncStore() argument
7555 if (VT == SVT) in getTruncStore()
7558 assert(SVT.getScalarType().bitsLT(VT.getScalarType()) && in getTruncStore()
7560 assert(VT.isInteger() == SVT.isInteger() && in getTruncStore()
7562 assert(VT.isVector() == SVT.isVector() && in getTruncStore()
7565 VT.getVectorElementCount() == SVT.getVectorElementCount()) && in getTruncStore()
7573 ID.AddInteger(SVT.getRawBits()); in getTruncStore()
7575 dl.getIROrder(), VTs, ISD::UNINDEXED, true, SVT, MMO)); in getTruncStore()
7583 ISD::UNINDEXED, true, SVT, MMO); in getTruncStore()
10098 EVT SVT = TLI->getSetCCResultType(getDataLayout(), *getContext(), ResEltVT); in UnrollVectorOverflowOp() local
10099 SDVTList VTs = getVTList(ResEltVT, SVT); in UnrollVectorOverflowOp()