Lines Matching refs:SIGN_EXTEND
1244 Op.getValueType().isByteSized() ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in PromoteOperand()
1679 case ISD::SIGN_EXTEND: return visitSIGN_EXTEND(N); in visit()
1791 case ISD::SIGN_EXTEND: in combine()
2329 if (N0.getOpcode() == ISD::SIGN_EXTEND && N0.hasOneUse() && in visitADDLike()
2675 if (N0.getOpcode() == ISD::SIGN_EXTEND && in visitADDLikeCommutative()
3415 SDValue SExt = DAG.getNode(ISD::SIGN_EXTEND, DL, VT, N1.getOperand(0)); in visitSUB()
4370 N0 = DAG.getNode(ISD::SIGN_EXTEND, DL, NewVT, N0); in visitMULHS()
4371 N1 = DAG.getNode(ISD::SIGN_EXTEND, DL, NewVT, N1); in visitMULHS()
4503 SDValue Lo = DAG.getNode(ISD::SIGN_EXTEND, DL, NewVT, N->getOperand(0)); in visitSMUL_LOHI()
4504 SDValue Hi = DAG.getNode(ISD::SIGN_EXTEND, DL, NewVT, N->getOperand(1)); in visitSMUL_LOHI()
4655 HandOpcode == ISD::SIGN_EXTEND) { in hoistLogicOpWithSameOpcodeHands()
5719 if (SubRHS.getOpcode() == ISD::SIGN_EXTEND && in visitAND()
5775 if (LHS->getOpcode() != ISD::SIGN_EXTEND) in visitAND()
6869 if ((LHSShiftAmt.getOpcode() == ISD::SIGN_EXTEND || in MatchRotate()
6873 (RHSShiftAmt.getOpcode() == ISD::SIGN_EXTEND || in MatchRotate()
7003 case ISD::SIGN_EXTEND: in calculateByteProvider()
7077 case ISD::SIGN_EXTEND: in stripTruncAndExt()
8110 N0.getOpcode() == ISD::SIGN_EXTEND) && in visitSHL()
8298 bool IsSignExt = LeftOp.getOpcode() == ISD::SIGN_EXTEND; in combineShiftToMULH()
8439 TLI.isOperationLegalOrCustom(ISD::SIGN_EXTEND, TruncVT) && in visitSRA()
8449 return DAG.getNode(ISD::SIGN_EXTEND, DL, in visitSRA()
9118 NotCond = DAG.getNode(ISD::SIGN_EXTEND, DL, VT, NotCond); in foldSelectOfConstants()
9130 Cond = DAG.getNode(ISD::SIGN_EXTEND, DL, VT, Cond); in foldSelectOfConstants()
9150 Cond = DAG.getNode(ISD::SIGN_EXTEND, DL, VT, Cond); in foldSelectOfConstants()
9465 if (Index.getOpcode() == ISD::SIGN_EXTEND) { in refineIndexType()
9633 auto ExtendOpcode = AllAddOne ? ISD::ZERO_EXTEND : ISD::SIGN_EXTEND; in foldVSelectOfConstants()
9736 auto ExtOpcode = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in visitVSELECT()
9979 assert((Opcode == ISD::SIGN_EXTEND || Opcode == ISD::ZERO_EXTEND || in tryToFoldExtendOfConstant()
10009 FoldOpc = ISD::SIGN_EXTEND; in tryToFoldExtendOfConstant()
10046 if (Opcode == ISD::SIGN_EXTEND || Opcode == ISD::SIGN_EXTEND_VECTOR_INREG) in tryToFoldExtendOfConstant()
10146 assert((N->getOpcode() == ISD::SIGN_EXTEND || in CombineExtLoad()
10183 N->getOpcode() == ISD::SIGN_EXTEND ? ISD::SEXTLOAD : ISD::ZEXTLOAD; in CombineExtLoad()
10322 assert((CastOpcode == ISD::SIGN_EXTEND || CastOpcode == ISD::ZERO_EXTEND || in matchVSelectOpSizesWithSetCC()
10464 assert((N->getOpcode() == ISD::SIGN_EXTEND || in foldExtendedSignBitTest()
10491 N->getOpcode() == ISD::SIGN_EXTEND ? ISD::SRA : ISD::SRL; in foldExtendedSignBitTest()
10508 if (N0.getOpcode() == ISD::SIGN_EXTEND || N0.getOpcode() == ISD::ANY_EXTEND) in visitSIGN_EXTEND()
10509 return DAG.getNode(ISD::SIGN_EXTEND, DL, VT, N0.getOperand(0)); in visitSIGN_EXTEND()
10541 return DAG.getNode(ISD::SIGN_EXTEND, DL, VT, Op); in visitSIGN_EXTEND()
10564 ISD::SEXTLOAD, ISD::SIGN_EXTEND)) in visitSIGN_EXTEND()
10569 ISD::SIGN_EXTEND)) in visitSIGN_EXTEND()
10595 ISD::SIGN_EXTEND, SetCCs, TLI); in visitSIGN_EXTEND()
10604 ExtendSetCCUses(SetCCs, N0.getOperand(0), ExtLoad, ISD::SIGN_EXTEND); in visitSIGN_EXTEND()
10734 return DAG.getNode(ISD::SIGN_EXTEND, DL, VT, NewXor); in visitSIGN_EXTEND()
11067 N0.getOpcode() == ISD::SIGN_EXTEND) in visitANY_EXTEND()
11539 if (N0.getOpcode() == ISD::SIGN_EXTEND || N0.getOpcode() == ISD::ANY_EXTEND) { in visitSIGN_EXTEND_INREG()
11544 (!LegalOperations || TLI.isOperationLegal(ISD::SIGN_EXTEND, VT))) in visitSIGN_EXTEND_INREG()
11545 return DAG.getNode(ISD::SIGN_EXTEND, SDLoc(N), VT, N00); in visitSIGN_EXTEND_INREG()
11564 (!LegalOperations || TLI.isOperationLegal(ISD::SIGN_EXTEND, VT))) in visitSIGN_EXTEND_INREG()
11565 return DAG.getNode(ISD::SIGN_EXTEND, SDLoc(N), VT, N00, N1); in visitSIGN_EXTEND_INREG()
11735 N0.getOpcode() == ISD::SIGN_EXTEND || in visitTRUNCATE()
11984 if (N00.getOpcode() == ISD::SIGN_EXTEND || in visitTRUNCATE()
12272 X = DAG.getNode(ISD::SIGN_EXTEND, SDLoc(N), VT, X); in visitBITCAST()
14230 unsigned ExtOp = IsInputSigned && IsOutputSigned ? ISD::SIGN_EXTEND in FoldIntToFPToInt()
15183 Val = DAG.getNode(ISD::SIGN_EXTEND, SDLoc(LD), LDType, Val); in extendLoadedValueToExtension()