Lines Matching refs:OpVT
4992 EVT OpVT = LL.getValueType(); in foldLogicOfSetCCs() local
4994 if (VT != getSetCCResultType(OpVT)) in foldLogicOfSetCCs()
4996 if (OpVT != RL.getValueType()) in foldLogicOfSetCCs()
5001 bool IsInteger = OpVT.isInteger(); in foldLogicOfSetCCs()
5020 SDValue Or = DAG.getNode(ISD::OR, SDLoc(N0), OpVT, LL, RL); in foldLogicOfSetCCs()
5039 SDValue And = DAG.getNode(ISD::AND, SDLoc(N0), OpVT, LL, RL); in foldLogicOfSetCCs()
5047 if (IsAnd && LL == RL && CC0 == CC1 && OpVT.getScalarSizeInBits() > 1 && in foldLogicOfSetCCs()
5051 SDValue One = DAG.getConstant(1, DL, OpVT); in foldLogicOfSetCCs()
5052 SDValue Two = DAG.getConstant(2, DL, OpVT); in foldLogicOfSetCCs()
5053 SDValue Add = DAG.getNode(ISD::ADD, SDLoc(N0), OpVT, LL, One); in foldLogicOfSetCCs()
5060 if (IsInteger && TLI.convertSetCCLogicToBitwiseLogic(OpVT) && CC0 == CC1 && in foldLogicOfSetCCs()
5065 SDValue XorL = DAG.getNode(ISD::XOR, SDLoc(N0), OpVT, LL, LR); in foldLogicOfSetCCs()
5066 SDValue XorR = DAG.getNode(ISD::XOR, SDLoc(N1), OpVT, RL, RR); in foldLogicOfSetCCs()
5067 SDValue Or = DAG.getNode(ISD::OR, DL, OpVT, XorL, XorR); in foldLogicOfSetCCs()
5068 SDValue Zero = DAG.getConstant(0, DL, OpVT); in foldLogicOfSetCCs()
5087 SDValue Max = DAG.getNode(ISD::UMAX, DL, OpVT, LR, RR); in foldLogicOfSetCCs()
5088 SDValue Min = DAG.getNode(ISD::UMIN, DL, OpVT, LR, RR); in foldLogicOfSetCCs()
5089 SDValue Offset = DAG.getNode(ISD::SUB, DL, OpVT, LL, Min); in foldLogicOfSetCCs()
5090 SDValue Diff = DAG.getNode(ISD::SUB, DL, OpVT, Max, Min); in foldLogicOfSetCCs()
5091 SDValue Mask = DAG.getNOT(DL, Diff, OpVT); in foldLogicOfSetCCs()
5092 SDValue And = DAG.getNode(ISD::AND, DL, OpVT, Offset, Mask); in foldLogicOfSetCCs()
5093 SDValue Zero = DAG.getConstant(0, DL, OpVT); in foldLogicOfSetCCs()
5109 ISD::CondCode NewCC = IsAnd ? ISD::getSetCCAndOperation(CC0, CC1, OpVT) in foldLogicOfSetCCs()
5110 : ISD::getSetCCOrOperation(CC0, CC1, OpVT); in foldLogicOfSetCCs()
5114 TLI.isOperationLegal(ISD::SETCC, OpVT)))) in foldLogicOfSetCCs()
14625 EVT OpVT = N0.getValueType(); in visitSINT_TO_FP() local
14640 if (!hasOperation(ISD::SINT_TO_FP, OpVT) && in visitSINT_TO_FP()
14641 hasOperation(ISD::UINT_TO_FP, OpVT)) { in visitSINT_TO_FP()
14677 EVT OpVT = N0.getValueType(); in visitUINT_TO_FP() local
14692 if (!hasOperation(ISD::UINT_TO_FP, OpVT) && in visitUINT_TO_FP()
14693 hasOperation(ISD::SINT_TO_FP, OpVT)) { in visitUINT_TO_FP()
18573 EVT OpVT = Ops[0].getValueType(); in visitINSERT_VECTOR_ELT() local
18574 Ops[Elt] = OpVT.isInteger() ? DAG.getAnyExtOrTrunc(InVal, DL, OpVT) : InVal; in visitINSERT_VECTOR_ELT()
19787 EVT OpVT = N->getOperand(0).getValueType(); in combineConcatVectorOfScalars() local
19790 if (TLI.isTypeLegal(OpVT)) in combineConcatVectorOfScalars()
19797 EVT SVT = EVT::getIntegerVT(*DAG.getContext(), OpVT.getSizeInBits()); in combineConcatVectorOfScalars()
19827 SVT = EVT::getFloatingPointVT(OpVT.getSizeInBits()); in combineConcatVectorOfScalars()
19852 EVT OpVT = N->getOperand(0).getValueType(); in combineConcatVectorOfExtracts() local
19859 int NumOpElts = OpVT.getVectorNumElements(); in combineConcatVectorOfExtracts()
20081 EVT OpVT = Op.getValueType(); in visitCONCAT_VECTORS() local
20082 unsigned NumElts = OpVT.getVectorNumElements(); in visitCONCAT_VECTORS()
20089 assert(SVT == OpVT.getScalarType() && "Concat vector type mismatch"); in visitCONCAT_VECTORS()