reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/SelectionDAG/TargetLowering.cpp
  800     return TLO.CombineTo(Op, TLO.DAG.getUNDEF(VT));
  812       return TLO.CombineTo(Op, TLO.DAG.getUNDEF(VT));
 1001         SDValue NewOp = TLO.DAG.getVectorShuffle(VT, dl, Op0, Op1, ShuffleMask);
 1035         SDValue Xor = TLO.DAG.getNode(ISD::XOR, dl, VT, Op0.getOperand(0), Op1);
 1058         SDValue NewOp = TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Op1);
 1071       return TLO.CombineTo(Op, TLO.DAG.getConstant(0, dl, VT));
 1107         SDValue NewOp = TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Op1);
 1153         SDValue NewOp = TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Op1);
 1172       return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::OR, dl, VT, Op0, Op1));
 1187             TLO.DAG.getConstant(~C->getAPIntValue() & DemandedBits, dl, VT);
 1188         return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::AND, dl, VT, Op0, ANDC));
 1197           SDValue New = TLO.DAG.getNOT(dl, Op0, VT);
 1254         getBooleanContents(VT) ==
 1305                   Op, TLO.DAG.getNode(Opc, dl, VT, Op0.getOperand(0), NewSA));
 1336               Op, TLO.DAG.getNode(ISD::ANY_EXTEND, dl, VT, NarrowShl));
 1354               SDValue NewExt = TLO.DAG.getNode(ISD::ANY_EXTEND, dl, VT,
 1357                   Op, TLO.DAG.getNode(ISD::SHL, dl, VT, NewExt, NewSA));
 1411                   Op, TLO.DAG.getNode(Opc, dl, VT, Op0.getOperand(0), NewSA));
 1438       return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::SRL, dl, VT, Op0, Op1));
 1475             Op, TLO.DAG.getNode(ISD::SRL, dl, VT, Op0, Op1, Flags));
 1483         return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::SRL, dl, VT, Op0, NewSA));
 1555         EVT ShiftAmtTy = VT;
 1562                              TLO.DAG.getNode(ISD::SHL, dl, VT, Op0, ShiftAmt));
 1633           VT.getSizeInBits() == SrcVT.getSizeInBits() &&
 1635         return TLO.CombineTo(Op, TLO.DAG.getBitcast(VT, Src));
 1639       if (!TLO.LegalOperations() || isOperationLegal(Opc, VT))
 1640         return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, dl, VT, Src));
 1666           VT.getSizeInBits() == SrcVT.getSizeInBits() &&
 1668         return TLO.CombineTo(Op, TLO.DAG.getBitcast(VT, Src));
 1672       if (!TLO.LegalOperations() || isOperationLegal(Opc, VT))
 1673         return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, dl, VT, Src));
 1696       if (!TLO.LegalOperations() || isOperationLegal(Opc, VT))
 1697         return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, dl, VT, Src));
 1712         VT.getSizeInBits() == SrcVT.getSizeInBits() &&
 1714       return TLO.CombineTo(Op, TLO.DAG.getBitcast(VT, Src));
 1740       return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::TRUNCATE, dl, VT, NewSrc));
 1751         if (TLO.LegalTypes() && !isTypeDesirableForOp(ISD::SRL, VT))
 1764           Shift = TLO.DAG.getConstant(ShVal, dl, getShiftAmountTy(VT, DL));
 1775               TLO.DAG.getNode(ISD::TRUNCATE, dl, VT, Src.getOperand(0));
 1777               Op, TLO.DAG.getNode(ISD::SRL, dl, VT, NewTrunc, Shift));
 1833     if (!TLO.LegalOperations() && !VT.isVector() && !SrcVT.isVector() &&
 1836       bool OpVTLegal = isOperationLegalOrCustom(ISD::FGETSIGN, VT);
 1838       if ((OpVTLegal || i32Legal) && VT.isSimple() && SrcVT != MVT::f16 &&
 1841         EVT Ty = OpVTLegal ? VT : MVT::i32;
 1847           Sign = TLO.DAG.getNode(ISD::ZERO_EXTEND, dl, VT, Sign);
 1849         SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, VT);
 1851                              TLO.DAG.getNode(ISD::SHL, dl, VT, Sign, ShAmt));
 1939             TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Op1, Flags);
 1957             TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Op1, Flags);
 1971       SDValue Neg1 = TLO.DAG.getAllOnesConstant(dl, VT);
 1976       SDValue NewOp = TLO.DAG.getNode(Op.getOpcode(), dl, VT, Op0, Neg1, Flags);
 2009     if (VT.isInteger())
 2010       return TLO.CombineTo(Op, TLO.DAG.getConstant(Known.One, dl, VT));