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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 8332   if (SDValue V = DAG.simplifySelect(N0, N1, N2))
 8338     return DAG.getNode(ISD::OR, DL, VT, N0, N2);
 8347     return DAG.getNode(ISD::AND, DL, VT, NOTNode, N2);
 8350   if (VT == VT0 && VT == MVT::i1 && isOneConstant(N2)) {
 8357   if (VT == VT0 && VT == MVT::i1 && (N0 == N2 || isNullConstant(N2)))
 8357   if (VT == VT0 && VT == MVT::i1 && (N0 == N2 || isNullConstant(N2)))
 8361   if (SimplifySelectOps(N, N1, N2))
 8381           DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Cond1, N1, N2, Flags);
 8384                            InnerSelect, N2, Flags);
 8394                                         Cond1, N1, N2, Flags);
 8408       if (N1_2 == N2 && N0.getValueType() == N1_0.getValueType()) {
 8413                              N2, Flags);
 8418                              N2, Flags);
 8423     if (N2->getOpcode() == ISD::SELECT && N2->hasOneUse()) {
 8423     if (N2->getOpcode() == ISD::SELECT && N2->hasOneUse()) {
 8424       SDValue N2_0 = N2->getOperand(0);
 8425       SDValue N2_1 = N2->getOperand(1);
 8426       SDValue N2_2 = N2->getOperand(2);
 8444     SDValue SelectOp = DAG.getSelect(DL, VT, F, N2, N1);
 8458     if (N0.hasOneUse() && isLegalToCombineMinNumMaxNum(DAG, N1, N2, TLI))
 8459       if (SDValue FMinMax = combineMinNumMaxNum(DL, VT, Cond0, Cond1, N1, N2,
 8470         N2.getOpcode() == ISD::ADD && Cond0 == N2.getOperand(0)) {
 8470         N2.getOpcode() == ISD::ADD && Cond0 == N2.getOperand(0)) {
 8471       auto *C = dyn_cast<ConstantSDNode>(N2.getOperand(1));
 8487         SDValue UAO = DAG.getNode(ISD::UADDO, DL, VTs, Cond0, N2.getOperand(1));
 8499                                        N2, N0.getOperand(2));
 8504     return SimplifySelect(DL, N0, N1, N2);