Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:NVT

89   SDValue ShuffleWithNarrowerEltType(EVT NVT, EVT VT, DebugLoc dl,
181 SelectionDAGLegalize::ShuffleWithNarrowerEltType(EVT NVT, EVT VT, DebugLoc dl,
185 unsigned NumDestElts = NVT.getVectorNumElements();
191 return DAG.getVectorShuffle(NVT, dl, N1, N2, &Mask[0]);
204 assert(TLI.isShuffleMaskLegal(NewMask, NVT) && "Shuffle not legal?");
205 return DAG.getVectorShuffle(NVT, dl, N1, N2, &NewMask[0]);
757 EVT NVT = EVT::getIntegerVT(*DAG.getContext(),
762 NVT, isVolatile, isNonTemporal, Alignment);
896 EVT NVT = TLI.getTypeToPromoteTo(Node->getOpcode(), VT);
898 SDValue Res = DAG.getLoad(NVT, dl, Chain, Ptr, LD->getPointerInfo(),
934 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth);
938 // way. A zext load from NVT thus automatically gives zext from SrcVT.
946 NVT, isVolatile, isNonTemporal, Alignment);
955 else if (ExtType == ISD::ZEXTLOAD || NVT == Result.getValueType())
2746 EVT NVT = Node->getValueType(0);
2748 APInt x = APInt::getSignBit(NVT.getSizeInBits());
2754 True = DAG.getNode(ISD::FP_TO_SINT, dl, NVT, Node->getOperand(0));
2755 False = DAG.getNode(ISD::FP_TO_SINT, dl, NVT,
2758 False = DAG.getNode(ISD::XOR, dl, NVT, False,
2759 DAG.getConstant(x, NVT));
2760 Tmp1 = DAG.getNode(ISD::SELECT, dl, NVT, Tmp2, True, False);
3525 EVT NVT = TLI.getTypeToPromoteTo(Node->getOpcode(), OVT);
3535 Tmp1 = DAG.getNode(ISD::ZERO_EXTEND, dl, NVT, Node->getOperand(0));
3538 Tmp1 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1);
3541 Tmp2 = DAG.getSetCC(dl, TLI.getSetCCResultType(NVT),
3542 Tmp1, DAG.getConstant(NVT.getSizeInBits(), NVT),
3544 Tmp1 = DAG.getNode(ISD::SELECT, dl, NVT, Tmp2,
3545 DAG.getConstant(OVT.getSizeInBits(), NVT), Tmp1);
3548 // Tmp1 = Tmp1 - (sizeinbits(NVT) - sizeinbits(Old VT))
3549 Tmp1 = DAG.getNode(ISD::SUB, dl, NVT, Tmp1,
3550 DAG.getConstant(NVT.getSizeInBits() -
3551 OVT.getSizeInBits(), NVT));
3556 unsigned DiffBits = NVT.getSizeInBits() - OVT.getSizeInBits();
3557 Tmp1 = DAG.getNode(ISD::ZERO_EXTEND, dl, NVT, Node->getOperand(0));
3558 Tmp1 = DAG.getNode(ISD::BSWAP, dl, NVT, Tmp1);
3559 Tmp1 = DAG.getNode(ISD::SRL, dl, NVT, Tmp1,
3560 DAG.getConstant(DiffBits, TLI.getShiftAmountTy(NVT)));
3590 Tmp1 = DAG.getVAArg(NVT, dl, Chain, Ptr, Node->getOperand(2),
3616 Tmp1 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(0));
3617 Tmp2 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(1));
3619 Tmp1 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1, Tmp2);
3637 Tmp2 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(1));
3638 Tmp3 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(2));
3640 Tmp1 = DAG.getNode(ISD::SELECT, dl, NVT, Tmp1, Tmp2, Tmp3);
3653 Tmp1 = DAG.getNode(ISD::BITCAST, dl, NVT, Node->getOperand(0));
3654 Tmp2 = DAG.getNode(ISD::BITCAST, dl, NVT, Node->getOperand(1));
3657 Tmp1 = ShuffleWithNarrowerEltType(NVT, OVT, dl, Tmp1, Tmp2, Mask);
3664 if (NVT.isInteger()) {
3669 Tmp1 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(0));
3670 Tmp2 = DAG.getNode(ExtOp, dl, NVT, Node->getOperand(1));
3678 Tmp1 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(0));
3679 Tmp2 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(1));
3680 Tmp3 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1, Tmp2);
3689 Tmp1 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(0));
3690 Tmp2 = DAG.getNode(Node->getOpcode(), dl, NVT, Tmp1);