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))
 8337   if (VT == VT0 && VT == MVT::i1 && (N0 == N1 || isOneConstant(N1)))
 8337   if (VT == VT0 && VT == MVT::i1 && (N0 == N1 || isOneConstant(N1)))
 8344   if (VT == VT0 && VT == MVT::i1 && isNullConstant(N1)) {
 8353     return DAG.getNode(ISD::OR, DL, VT, NOTNode, N1);
 8358     return DAG.getNode(ISD::AND, DL, VT, N0, N1);
 8361   if (SimplifySelectOps(N, N1, N2))
 8381           DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Cond1, N1, N2, Flags);
 8381           DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Cond1, N1, N2, Flags);
 8383         return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Cond0,
 8393       SDValue InnerSelect = DAG.getNode(ISD::SELECT, DL, N1.getValueType(),
 8394                                         Cond1, N1, N2, Flags);
 8396         return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Cond0, N1,
 8396         return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Cond0, N1,
 8404     if (N1->getOpcode() == ISD::SELECT && N1->hasOneUse()) {
 8404     if (N1->getOpcode() == ISD::SELECT && N1->hasOneUse()) {
 8405       SDValue N1_0 = N1->getOperand(0);
 8406       SDValue N1_1 = N1->getOperand(1);
 8407       SDValue N1_2 = N1->getOperand(2);
 8412           return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), And, N1_1,
 8417           return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Combined, N1_1,
 8427       if (N2_1 == N1 && N0.getValueType() == N2_0.getValueType()) {
 8431           return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Or, N1, 
 8431           return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Or, N1, 
 8436           return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Combined, N1,
 8436           return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Combined, N1,
 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,
 8469         CC == ISD::SETUGT && N0.hasOneUse() && isAllOnesConstant(N1) &&
 8488         return DAG.getSelect(DL, VT, UAO.getValue(1), N1, UAO.getValue(0));
 8498       SDValue SelectNode = DAG.getNode(ISD::SELECT_CC, DL, VT, Cond0, Cond1, N1,
 8504     return SimplifySelect(DL, N0, N1, N2);