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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 8328   EVT VT0 = N0.getValueType();
 8332   if (SDValue V = DAG.simplifySelect(N0, N1, N2))
 8337   if (VT == VT0 && VT == MVT::i1 && (N0 == N1 || isOneConstant(N1)))
 8338     return DAG.getNode(ISD::OR, DL, VT, N0, N2);
 8345     SDValue NOTNode = DAG.getNOT(SDLoc(N0), N0, VT);
 8345     SDValue NOTNode = DAG.getNOT(SDLoc(N0), N0, VT);
 8351     SDValue NOTNode = DAG.getNOT(SDLoc(N0), N0, VT);
 8351     SDValue NOTNode = DAG.getNOT(SDLoc(N0), N0, VT);
 8357   if (VT == VT0 && VT == MVT::i1 && (N0 == N2 || isNullConstant(N2)))
 8358     return DAG.getNode(ISD::AND, DL, VT, N0, N1);
 8377     if (N0->getOpcode() == ISD::AND && N0->hasOneUse()) {
 8377     if (N0->getOpcode() == ISD::AND && N0->hasOneUse()) {
 8378       SDValue Cond0 = N0->getOperand(0);
 8379       SDValue Cond1 = N0->getOperand(1);
 8390     if (N0->getOpcode() == ISD::OR && N0->hasOneUse()) {
 8390     if (N0->getOpcode() == ISD::OR && N0->hasOneUse()) {
 8391       SDValue Cond0 = N0->getOperand(0);
 8392       SDValue Cond1 = N0->getOperand(1);
 8408       if (N1_2 == N2 && N0.getValueType() == N1_0.getValueType()) {
 8411           SDValue And = DAG.getNode(ISD::AND, DL, N0.getValueType(), N0, N1_0);
 8411           SDValue And = DAG.getNode(ISD::AND, DL, N0.getValueType(), N0, N1_0);
 8416         if (SDValue Combined = visitANDLike(N0, N1_0, N)) {
 8427       if (N2_1 == N1 && N0.getValueType() == N2_0.getValueType()) {
 8430           SDValue Or = DAG.getNode(ISD::OR, DL, N0.getValueType(), N0, N2_0);
 8430           SDValue Or = DAG.getNode(ISD::OR, DL, N0.getValueType(), N0, N2_0);
 8435         if (SDValue Combined = visitORLike(N0, N2_0, N))
 8443   if (SDValue F = extractBooleanFlip(N0, DAG, TLI, false)) {
 8450   if (N0.getOpcode() == ISD::SETCC) {
 8451     SDValue Cond0 = N0.getOperand(0), Cond1 = N0.getOperand(1);
 8451     SDValue Cond0 = N0.getOperand(0), Cond1 = N0.getOperand(1);
 8452     ISD::CondCode CC = cast<CondCodeSDNode>(N0.getOperand(2))->get();
 8458     if (N0.hasOneUse() && isLegalToCombineMinNumMaxNum(DAG, N1, N2, TLI))
 8469         CC == ISD::SETUGT && N0.hasOneUse() && isAllOnesConstant(N1) &&
 8497       Flags = N0.getNode()->getFlags();
 8499                                        N2, N0.getOperand(2));
 8504     return SimplifySelect(DL, N0, N1, N2);