• Home
  • Raw
  • Download

Lines Matching refs:TRUNCATE

940   SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, VT, SDValue(ExtLoad, 0));  in ReplaceLoadWithPromotedLoad()
1076 return DAG.getNode(ISD::TRUNCATE, dl, VT, in PromoteIntBinOp()
1123 return DAG.getNode(ISD::TRUNCATE, dl, VT, in PromoteIntShiftOp()
1192 SDValue Result = DAG.getNode(ISD::TRUNCATE, dl, VT, NewLD); in PromoteLoad()
1401 case ISD::TRUNCATE: return visitTRUNCATE(N); in visit()
2501 return DAG.getNode(ISD::TRUNCATE, DL, VT, N1); in visitMULHS()
2537 return DAG.getNode(ISD::TRUNCATE, DL, VT, N1); in visitMULHU()
2616 Hi = DAG.getNode(ISD::TRUNCATE, DL, VT, Hi); in visitSMUL_LOHI()
2618 Lo = DAG.getNode(ISD::TRUNCATE, DL, VT, Lo); in visitSMUL_LOHI()
2647 Hi = DAG.getNode(ISD::TRUNCATE, DL, VT, Hi); in visitUMUL_LOHI()
2649 Lo = DAG.getNode(ISD::TRUNCATE, DL, VT, Lo); in visitUMUL_LOHI()
2727 (N0.getOpcode() == ISD::TRUNCATE && in SimplifyBinOpWithSameOpcodeHands()
2992 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SL, HalfVT, in visitANDLike()
4105 LHSShiftAmt.getOpcode() == ISD::TRUNCATE) && in MatchRotate()
4109 RHSShiftAmt.getOpcode() == ISD::TRUNCATE)) { in MatchRotate()
4365 assert(N->getOpcode() == ISD::TRUNCATE); in distributeTruncateThroughAnd()
4381 DAG.getNode(ISD::TRUNCATE, DL, TruncVT, N00), in distributeTruncateThroughAnd()
4392 if (N->getOperand(1).getOpcode() == ISD::TRUNCATE && in visitRotate()
4457 if (N1.getOpcode() == ISD::TRUNCATE && in visitSHL()
4696 TLI.isOperationLegalOrCustom(ISD::TRUNCATE, VT) && in visitSRA()
4704 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, TruncVT, in visitSRA()
4713 if (N1.getOpcode() == ISD::TRUNCATE && in visitSRA()
4721 if (N0.getOpcode() == ISD::TRUNCATE && in visitSRA()
4739 return DAG.getNode(ISD::TRUNCATE, DL, VT, SRA); in visitSRA()
4807 if (N1C && N0.getOpcode() == ISD::TRUNCATE && in visitSRL()
4821 return DAG.getNode(ISD::TRUNCATE, DL, VT, in visitSRL()
4910 if (N1.getOpcode() == ISD::TRUNCATE && in visitSRL()
4950 else if (Use->getOpcode() == ISD::TRUNCATE && Use->hasOneUse()) { in visitSRL()
5116 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, XORNode); in visitSELECT()
6007 DAG.getNode(ISD::TRUNCATE, SDLoc(N0), N0.getValueType(), NewValue); in CombineExtLoad()
6028 if (N0.getOpcode() == ISD::TRUNCATE) { in visitSIGN_EXTEND()
6063 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Op); in visitSIGN_EXTEND()
6072 Op = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), VT, Op); in visitSIGN_EXTEND()
6098 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), in visitSIGN_EXTEND()
6126 DAG.getNode(ISD::TRUNCATE, SDLoc(N0), in visitSIGN_EXTEND()
6158 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, in visitSIGN_EXTEND()
6244 if (N->getOpcode() == ISD::TRUNCATE) { in isTruncateOf()
6305 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Op); in visitZERO_EXTEND()
6313 if (N0.getOpcode() == ISD::TRUNCATE) { in visitZERO_EXTEND()
6326 if (N0.getOpcode() == ISD::TRUNCATE) { in visitZERO_EXTEND()
6360 Op = DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Op); in visitZERO_EXTEND()
6370 N0.getOperand(0).getOpcode() == ISD::TRUNCATE && in visitZERO_EXTEND()
6379 X = DAG.getNode(ISD::TRUNCATE, SDLoc(X), VT, X); in visitZERO_EXTEND()
6408 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), in visitZERO_EXTEND()
6461 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, in visitZERO_EXTEND()
6487 DAG.getNode(ISD::TRUNCATE, SDLoc(N0), N0.getValueType(), in visitZERO_EXTEND()
6588 if (N0.getOpcode() == ISD::TRUNCATE) { in visitANY_EXTEND()
6601 if (N0.getOpcode() == ISD::TRUNCATE) { in visitANY_EXTEND()
6606 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, TruncOp); in visitANY_EXTEND()
6613 N0.getOperand(0).getOpcode() == ISD::TRUNCATE && in visitANY_EXTEND()
6621 X = DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, X); in visitANY_EXTEND()
6648 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), in visitANY_EXTEND()
6672 DAG.getNode(ISD::TRUNCATE, SDLoc(N0), in visitANY_EXTEND()
7085 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, N0); in visitTRUNCATE()
7087 if (N0.getOpcode() == ISD::TRUNCATE) in visitTRUNCATE()
7088 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, N0.getOperand(0)); in visitTRUNCATE()
7098 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, N0.getOperand(0)); in visitTRUNCATE()
7147 SDValue TruncOp0 = DAG.getNode(ISD::TRUNCATE, SL, VT, N0.getOperand(1)); in visitTRUNCATE()
7148 SDValue TruncOp1 = DAG.getNode(ISD::TRUNCATE, SL, VT, N0.getOperand(2)); in visitTRUNCATE()
7165 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SL, VT, N0.getOperand(0)); in visitTRUNCATE()
7212 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Shorter); in visitTRUNCATE()
7269 SDValue NV = DAG.getNode(ISD::TRUNCATE, SDLoc(V), VTs[i], V); in visitTRUNCATE()
7540 X = DAG.getNode(ISD::TRUNCATE, SDLoc(X), VT, X); in visitBITCAST()
7667 Op = DAG.getNode(ISD::TRUNCATE, SDLoc(BV), SrcEltVT, Op); in ConstantFoldBITCASTofBUILD_VECTOR()
9109 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, Src); in FoldIntToFPToInt()
9458 ((N1.getOpcode() == ISD::TRUNCATE && N1.hasOneUse()) && in visitBRCOND()
9462 if (N1.getOpcode() == ISD::TRUNCATE) { in visitBRCOND()
10657 if (User->getOpcode() != ISD::TRUNCATE) in SliceUpLoad()
10842 IVal = DAG.getNode(ISD::TRUNCATE, SDLoc(IVal), VT, IVal); in ShrinkLoadReplaceStoreWithStore()
12142 if ((Value.getOpcode() == ISD::FP_ROUND || Value.getOpcode() == ISD::TRUNCATE) in visitSTORE()
12247 DAG.getNode(ISD::TRUNCATE, dl, OpVT, InVal); in visitINSERT_VECTOR_ELT()
12316 Load = DAG.getNode(ISD::TRUNCATE, SDLoc(EVE), ResultVT, Load); in ReplaceExtractVectorEltOfLoadWithNarrowedLoad()
12377 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), NVT, BCSrc); in visitEXTRACT_VECTOR_ELT()
13066 if (Scalar->getOpcode() == ISD::TRUNCATE && in visitCONCAT_VECTORS()
13126 DAG.getNode(ISD::TRUNCATE, SDLoc(N), MinVT, Op.getOperand(i))); in visitCONCAT_VECTORS()
14274 Shift = DAG.getNode(ISD::TRUNCATE, DL, AType, Shift); in SimplifySelectCC()
14289 Shift = DAG.getNode(ISD::TRUNCATE, DL, AType, Shift); in SimplifySelectCC()