Lines Matching refs:OpVT
5954 EVT OpVT = LL.getValueType(); in foldLogicOfSetCCs() local
5956 if (VT != getSetCCResultType(OpVT)) in foldLogicOfSetCCs()
5958 if (OpVT != RL.getValueType()) in foldLogicOfSetCCs()
5963 bool IsInteger = OpVT.isInteger(); in foldLogicOfSetCCs()
5982 SDValue Or = DAG.getNode(ISD::OR, SDLoc(N0), OpVT, LL, RL); in foldLogicOfSetCCs()
6001 SDValue And = DAG.getNode(ISD::AND, SDLoc(N0), OpVT, LL, RL); in foldLogicOfSetCCs()
6009 if (IsAnd && LL == RL && CC0 == CC1 && OpVT.getScalarSizeInBits() > 1 && in foldLogicOfSetCCs()
6013 SDValue One = DAG.getConstant(1, DL, OpVT); in foldLogicOfSetCCs()
6014 SDValue Two = DAG.getConstant(2, DL, OpVT); in foldLogicOfSetCCs()
6015 SDValue Add = DAG.getNode(ISD::ADD, SDLoc(N0), OpVT, LL, One); in foldLogicOfSetCCs()
6022 if (IsInteger && TLI.convertSetCCLogicToBitwiseLogic(OpVT) && CC0 == CC1 && in foldLogicOfSetCCs()
6027 SDValue XorL = DAG.getNode(ISD::XOR, SDLoc(N0), OpVT, LL, LR); in foldLogicOfSetCCs()
6028 SDValue XorR = DAG.getNode(ISD::XOR, SDLoc(N1), OpVT, RL, RR); in foldLogicOfSetCCs()
6029 SDValue Or = DAG.getNode(ISD::OR, DL, OpVT, XorL, XorR); in foldLogicOfSetCCs()
6030 SDValue Zero = DAG.getConstant(0, DL, OpVT); in foldLogicOfSetCCs()
6048 SDValue Max = DAG.getNode(ISD::UMAX, DL, OpVT, LR, RR); in foldLogicOfSetCCs()
6049 SDValue Min = DAG.getNode(ISD::UMIN, DL, OpVT, LR, RR); in foldLogicOfSetCCs()
6050 SDValue Offset = DAG.getNode(ISD::SUB, DL, OpVT, LL, Min); in foldLogicOfSetCCs()
6051 SDValue Diff = DAG.getNode(ISD::SUB, DL, OpVT, Max, Min); in foldLogicOfSetCCs()
6052 SDValue Mask = DAG.getNOT(DL, Diff, OpVT); in foldLogicOfSetCCs()
6053 SDValue And = DAG.getNode(ISD::AND, DL, OpVT, Offset, Mask); in foldLogicOfSetCCs()
6054 SDValue Zero = DAG.getConstant(0, DL, OpVT); in foldLogicOfSetCCs()
6069 ISD::CondCode NewCC = IsAnd ? ISD::getSetCCAndOperation(CC0, CC1, OpVT) in foldLogicOfSetCCs()
6070 : ISD::getSetCCOrOperation(CC0, CC1, OpVT); in foldLogicOfSetCCs()
6074 TLI.isOperationLegal(ISD::SETCC, OpVT)))) in foldLogicOfSetCCs()
6175 EVT OpVT = LHS0.getValueType(); in foldAndOrOfSETCC() local
6188 bool isFMAXNUMFMINNUM_IEEE = TLI.isOperationLegal(ISD::FMAXNUM_IEEE, OpVT) && in foldAndOrOfSETCC()
6189 TLI.isOperationLegal(ISD::FMINNUM_IEEE, OpVT); in foldAndOrOfSETCC()
6190 bool isFMAXNUMFMINNUM = TLI.isOperationLegalOrCustom(ISD::FMAXNUM, OpVT) && in foldAndOrOfSETCC()
6191 TLI.isOperationLegalOrCustom(ISD::FMINNUM, OpVT); in foldAndOrOfSETCC()
6192 if (((OpVT.isInteger() && TLI.isOperationLegal(ISD::UMAX, OpVT) && in foldAndOrOfSETCC()
6193 TLI.isOperationLegal(ISD::SMAX, OpVT) && in foldAndOrOfSETCC()
6194 TLI.isOperationLegal(ISD::UMIN, OpVT) && in foldAndOrOfSETCC()
6195 TLI.isOperationLegal(ISD::SMIN, OpVT)) || in foldAndOrOfSETCC()
6196 (OpVT.isFloatingPoint() && in foldAndOrOfSETCC()
6242 if (OpVT.isInteger()) { in foldAndOrOfSETCC()
6250 } else if (OpVT.isFloatingPoint()) in foldAndOrOfSETCC()
6257 DAG.getNode(NewOpcode, DL, OpVT, Operand1, Operand2); in foldAndOrOfSETCC()
6268 LHS0 == RHS0 && LHS1C && RHS1C && OpVT.isInteger()) { in foldAndOrOfSETCC()
6276 DAG.doesNodeExist(ISD::ABS, DAG.getVTList(OpVT), {LHS0}))) { in foldAndOrOfSETCC()
6282 SDValue AbsOp = DAG.getNode(ISD::ABS, DL, OpVT, LHS0); in foldAndOrOfSETCC()
6284 DAG.getConstant(C, DL, OpVT), LHS.getOperand(2)); in foldAndOrOfSETCC()
6310 SDValue NotOp = DAG.getNOT(DL, LHS0, OpVT); in foldAndOrOfSETCC()
6311 SDValue AndOp = DAG.getNode(ISD::AND, DL, OpVT, NotOp, in foldAndOrOfSETCC()
6312 DAG.getConstant(MinC, DL, OpVT)); in foldAndOrOfSETCC()
6314 DAG.getConstant(0, DL, OpVT), LHS.getOperand(2)); in foldAndOrOfSETCC()
6317 SDValue AddOp = DAG.getNode(ISD::ADD, DL, OpVT, LHS0, in foldAndOrOfSETCC()
6318 DAG.getConstant(-MinC, DL, OpVT)); in foldAndOrOfSETCC()
6319 SDValue AndOp = DAG.getNode(ISD::AND, DL, OpVT, AddOp, in foldAndOrOfSETCC()
6320 DAG.getConstant(~Dif, DL, OpVT)); in foldAndOrOfSETCC()
6322 DAG.getConstant(0, DL, OpVT), LHS.getOperand(2)); in foldAndOrOfSETCC()
6351 EVT OpVT = T.getValueType(); in combineSelectAsExtAnd() local
6354 OpVT == CondVT ? Cond : DAG.getBoolExtOrTrunc(Cond, DL, OpVT, CondVT); in combineSelectAsExtAnd()
6355 return DAG.getNode(ISD::AND, DL, OpVT, CondMask, T.getOperand(0)); in combineSelectAsExtAnd()
12564 EVT OpVT = N0.getValueType(); in visitSETCC() local
12578 unsigned NumBits = OpVT.getScalarSizeInBits(); in visitSETCC()
12597 OpVT, ShiftOpc, ShiftCAmt->isPowerOf2(), *ShiftCAmt, AndCMask); in visitSETCC()
12602 DAG.getNode(NewShiftOpc, DL, OpVT, ShiftOrRotate.getOperand(0), in visitSETCC()
12614 DAG.getNode(ISD::AND, DL, OpVT, ShiftOrRotate.getOperand(0), in visitSETCC()
12615 DAG.getConstant(NewMask, DL, OpVT)); in visitSETCC()
17382 EVT OpVT = N0.getValueType(); in visitSINT_TO_FP() local
17397 if (!hasOperation(ISD::SINT_TO_FP, OpVT) && in visitSINT_TO_FP()
17398 hasOperation(ISD::UINT_TO_FP, OpVT)) { in visitSINT_TO_FP()
17434 EVT OpVT = N0.getValueType(); in visitUINT_TO_FP() local
17449 if (!hasOperation(ISD::UINT_TO_FP, OpVT) && in visitUINT_TO_FP()
17450 hasOperation(ISD::SINT_TO_FP, OpVT)) { in visitUINT_TO_FP()
23279 EVT OpVT = N->getOperand(0).getValueType(); in convertBuildVecZextToBuildVecWithZeros() local
23282 EVT OpIntVT = EVT::getIntegerVT(*DAG.getContext(), OpVT.getSizeInBits()); in convertBuildVecZextToBuildVecWithZeros()
23473 EVT OpVT = N->getOperand(0).getValueType(); in combineConcatVectorOfScalars() local
23476 if (TLI.isTypeLegal(OpVT) || OpVT.isScalableVector()) in combineConcatVectorOfScalars()
23483 EVT SVT = EVT::getIntegerVT(*DAG.getContext(), OpVT.getSizeInBits()); in combineConcatVectorOfScalars()
23513 SVT = EVT::getFloatingPointVT(OpVT.getSizeInBits()); in combineConcatVectorOfScalars()
23576 EVT OpVT = N->getOperand(0).getValueType(); in combineConcatVectorOfExtracts() local
23583 int NumOpElts = OpVT.getVectorNumElements(); in combineConcatVectorOfExtracts()
23718 EVT OpVT = N->getOperand(0).getValueType(); in combineConcatVectorOfShuffleAndItsOperands() local
23761 SmallVector<int, 32> IdentityMask(2 * OpVT.getVectorNumElements()); in combineConcatVectorOfShuffleAndItsOperands()
23764 .take_front(OpVT.getVectorNumElements()); in combineConcatVectorOfShuffleAndItsOperands()
23766 MutableArrayRef<int>(IdentityMask).take_back(OpVT.getVectorNumElements()); in combineConcatVectorOfShuffleAndItsOperands()
23805 DAG.getUNDEF(OpVT)); in combineConcatVectorOfShuffleAndItsOperands()
23914 EVT OpVT = Op.getValueType(); in visitCONCAT_VECTORS() local
23915 unsigned NumElts = OpVT.getVectorNumElements(); in visitCONCAT_VECTORS()
23922 assert(SVT == OpVT.getScalarType() && "Concat vector type mismatch"); in visitCONCAT_VECTORS()