Lines Matching refs:TRUNCATE
948 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, VT, SDValue(ExtLoad, 0)); in ReplaceLoadWithPromotedLoad()
1083 return DAG.getNode(ISD::TRUNCATE, dl, VT, in PromoteIntBinOp()
1130 return DAG.getNode(ISD::TRUNCATE, dl, VT, in PromoteIntShiftOp()
1196 SDValue Result = DAG.getNode(ISD::TRUNCATE, dl, VT, NewLD); in PromoteLoad()
1406 case ISD::TRUNCATE: return visitTRUNCATE(N); in visit()
2508 return DAG.getNode(ISD::TRUNCATE, DL, VT, N1); in visitMULHS()
2544 return DAG.getNode(ISD::TRUNCATE, DL, VT, N1); in visitMULHU()
2623 Hi = DAG.getNode(ISD::TRUNCATE, DL, VT, Hi); in visitSMUL_LOHI()
2625 Lo = DAG.getNode(ISD::TRUNCATE, DL, VT, Lo); in visitSMUL_LOHI()
2654 Hi = DAG.getNode(ISD::TRUNCATE, DL, VT, Hi); in visitUMUL_LOHI()
2656 Lo = DAG.getNode(ISD::TRUNCATE, DL, VT, Lo); in visitUMUL_LOHI()
2734 (N0.getOpcode() == ISD::TRUNCATE && in SimplifyBinOpWithSameOpcodeHands()
4057 LHSShiftAmt.getOpcode() == ISD::TRUNCATE) && in MatchRotate()
4061 RHSShiftAmt.getOpcode() == ISD::TRUNCATE)) { in MatchRotate()
4317 assert(N->getOpcode() == ISD::TRUNCATE); in distributeTruncateThroughAnd()
4333 DAG.getNode(ISD::TRUNCATE, DL, TruncVT, N00), in distributeTruncateThroughAnd()
4344 if (N->getOperand(1).getOpcode() == ISD::TRUNCATE && in visitRotate()
4409 if (N1.getOpcode() == ISD::TRUNCATE && in visitSHL()
4649 TLI.isOperationLegalOrCustom(ISD::TRUNCATE, VT) && in visitSRA()
4657 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, TruncVT, in visitSRA()
4666 if (N1.getOpcode() == ISD::TRUNCATE && in visitSRA()
4675 if (N0.getOpcode() == ISD::TRUNCATE && in visitSRA()
4693 return DAG.getNode(ISD::TRUNCATE, DL, VT, SRA); in visitSRA()
4761 if (N1C && N0.getOpcode() == ISD::TRUNCATE && in visitSRL()
4775 return DAG.getNode(ISD::TRUNCATE, DL, VT, in visitSRL()
4864 if (N1.getOpcode() == ISD::TRUNCATE && in visitSRL()
4904 else if (Use->getOpcode() == ISD::TRUNCATE && Use->hasOneUse()) { in visitSRL()
5061 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, XORNode); in visitSELECT()
5952 DAG.getNode(ISD::TRUNCATE, SDLoc(N0), N0.getValueType(), NewValue); in CombineExtLoad()
5973 if (N0.getOpcode() == ISD::TRUNCATE) { in visitSIGN_EXTEND()
6008 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Op); in visitSIGN_EXTEND()
6017 Op = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), VT, Op); in visitSIGN_EXTEND()
6043 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), in visitSIGN_EXTEND()
6071 DAG.getNode(ISD::TRUNCATE, SDLoc(N0), in visitSIGN_EXTEND()
6103 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, in visitSIGN_EXTEND()
6189 if (N->getOpcode() == ISD::TRUNCATE) { in isTruncateOf()
6250 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Op); in visitZERO_EXTEND()
6258 if (N0.getOpcode() == ISD::TRUNCATE) { in visitZERO_EXTEND()
6271 if (N0.getOpcode() == ISD::TRUNCATE) { in visitZERO_EXTEND()
6305 Op = DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Op); in visitZERO_EXTEND()
6315 N0.getOperand(0).getOpcode() == ISD::TRUNCATE && in visitZERO_EXTEND()
6324 X = DAG.getNode(ISD::TRUNCATE, SDLoc(X), VT, X); in visitZERO_EXTEND()
6353 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), in visitZERO_EXTEND()
6406 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, in visitZERO_EXTEND()
6432 DAG.getNode(ISD::TRUNCATE, SDLoc(N0), N0.getValueType(), in visitZERO_EXTEND()
6541 if (N0.getOpcode() == ISD::TRUNCATE) { in visitANY_EXTEND()
6554 if (N0.getOpcode() == ISD::TRUNCATE) { in visitANY_EXTEND()
6559 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, TruncOp); in visitANY_EXTEND()
6566 N0.getOperand(0).getOpcode() == ISD::TRUNCATE && in visitANY_EXTEND()
6574 X = DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, X); in visitANY_EXTEND()
6601 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), in visitANY_EXTEND()
6625 DAG.getNode(ISD::TRUNCATE, SDLoc(N0), in visitANY_EXTEND()
7022 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, N0); in visitTRUNCATE()
7024 if (N0.getOpcode() == ISD::TRUNCATE) in visitTRUNCATE()
7025 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, N0.getOperand(0)); in visitTRUNCATE()
7036 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, N0.getOperand(0)); in visitTRUNCATE()
7088 SDValue TruncOp0 = DAG.getNode(ISD::TRUNCATE, SL, VT, N0.getOperand(1)); in visitTRUNCATE()
7089 SDValue TruncOp1 = DAG.getNode(ISD::TRUNCATE, SL, VT, N0.getOperand(2)); in visitTRUNCATE()
7135 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Shorter); in visitTRUNCATE()
7192 SDValue NV = DAG.getNode(ISD::TRUNCATE, SDLoc(V), VTs[i], V); in visitTRUNCATE()
7405 X = DAG.getNode(ISD::TRUNCATE, SDLoc(X), VT, X); in visitBITCAST()
7536 Op = DAG.getNode(ISD::TRUNCATE, SDLoc(BV), SrcEltVT, Op); in ConstantFoldBITCASTofBUILD_VECTOR()
8990 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Src); in FoldIntToFPToInt()
9341 ((N1.getOpcode() == ISD::TRUNCATE && N1.hasOneUse()) && in visitBRCOND()
9345 if (N1.getOpcode() == ISD::TRUNCATE) { in visitBRCOND()
10539 if (User->getOpcode() != ISD::TRUNCATE) in SliceUpLoad()
10724 IVal = DAG.getNode(ISD::TRUNCATE, SDLoc(IVal), VT, IVal); in ShrinkLoadReplaceStoreWithStore()
11964 if ((Value.getOpcode() == ISD::FP_ROUND || Value.getOpcode() == ISD::TRUNCATE) in visitSTORE()
12069 DAG.getNode(ISD::TRUNCATE, dl, OpVT, InVal); in visitINSERT_VECTOR_ELT()
12136 Load = DAG.getNode(ISD::TRUNCATE, SDLoc(EVE), ResultVT, Load); in ReplaceExtractVectorEltOfLoadWithNarrowedLoad()
12866 if (Scalar->getOpcode() == ISD::TRUNCATE && in visitCONCAT_VECTORS()
12928 DAG.getNode(ISD::TRUNCATE, SDLoc(N), MinVT, Op.getOperand(i))); in visitCONCAT_VECTORS()
14090 Shift = DAG.getNode(ISD::TRUNCATE, DL, AType, Shift); in SimplifySelectCC()
14105 Shift = DAG.getNode(ISD::TRUNCATE, DL, AType, Shift); in SimplifySelectCC()