Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:VT

294   EVT VT = Op.getValueType();
297 EVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT);
310 return DAG.getNode(ISD::BITCAST, dl, VT, Op);
316 EVT VT = Op.getOperand(0).getValueType();
327 unsigned NumElts = VT.getVectorNumElements();
328 EVT EltVT = VT.getVectorElementType();
446 EVT VT = Op.getValueType();
453 assert(VT.isVector() && !Mask.getValueType().isVector()
456 unsigned NumElem = VT.getVectorNumElements();
463 if (TLI.getOperationAction(ISD::AND, VT) == TargetLowering::Expand ||
464 TLI.getOperationAction(ISD::XOR, VT) == TargetLowering::Expand ||
465 TLI.getOperationAction(ISD::OR, VT) == TargetLowering::Expand ||
466 TLI.getOperationAction(ISD::BUILD_VECTOR, VT) == TargetLowering::Expand)
470 EVT MaskTy = TLI.getSetCCResultType(VT);
505 EVT VT = Op.getOperand(0).getValueType();
519 if (TLI.getOperationAction(ISD::AND, VT) == TargetLowering::Expand ||
520 TLI.getOperationAction(ISD::XOR, VT) == TargetLowering::Expand ||
521 TLI.getOperationAction(ISD::OR, VT) == TargetLowering::Expand ||
526 assert(VT.getSizeInBits() == Op1.getValueType().getSizeInBits()
531 Op1 = DAG.getNode(ISD::BITCAST, DL, VT, Op1);
532 Op2 = DAG.getNode(ISD::BITCAST, DL, VT, Op2);
535 APInt::getAllOnesValue(VT.getScalarType().getSizeInBits()), VT);
536 SDValue NotMask = DAG.getNode(ISD::XOR, DL, VT, Mask, AllOnes);
538 Op1 = DAG.getNode(ISD::AND, DL, VT, Op1, Mask);
539 Op2 = DAG.getNode(ISD::AND, DL, VT, Op2, NotMask);
540 SDValue Val = DAG.getNode(ISD::OR, DL, VT, Op1, Op2);
545 EVT VT = Op.getOperand(0).getValueType();
549 if (TLI.getOperationAction(ISD::SINT_TO_FP, VT) == TargetLowering::Expand ||
550 TLI.getOperationAction(ISD::SRL, VT) == TargetLowering::Expand)
553 EVT SVT = VT.getScalarType();
558 SDValue HalfWord = DAG.getConstant(BW/2, VT);
564 SDValue HalfWordMask = DAG.getConstant(HWMask, VT);
570 SDValue HI = DAG.getNode(ISD::SRL, DL, VT, Op.getOperand(0), HalfWord);
571 SDValue LO = DAG.getNode(ISD::AND, DL, VT, Op.getOperand(0), HalfWordMask);
594 EVT VT = Op.getValueType();
595 unsigned NumElems = VT.getVectorNumElements();
596 EVT EltVT = VT.getVectorElementType();
613 return DAG.getNode(ISD::BUILD_VECTOR, dl, VT, &Ops[0], NumElems);