Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:SETCC

47 /// 'setcc' instruction efficiently, but does support 'brcc' instruction, this
48 /// will attempt merge setcc and brc instructions into brcc's.
1207 case ISD::SETCC:
1210 Node->getOpcode() == ISD::SETCC ? 2 : 1;
1641 /// LegalizeSetCCCondCode - Legalize a SETCC with given LHS and RHS and
1644 /// If the SETCC has been legalized using AND / OR, then the legalized node
1648 /// If the SETCC has been legalized by using getSetCCSwappedOperands(),
1652 /// If the SETCC has been legalized using the inverse condcode, then LHS and
1654 /// will be set to true. The caller must invert the result of the SETCC with
1658 /// \returns true if the SetCC has been legalized, false if it hasn't.
3780 SDValue SetCC = DAG.getSetCC(dl, SetCCType, Sum, LHS, CC);
3782 Results.push_back(DAG.getBoolExtOrTrunc(SetCC, dl, ResultType, ResultType));
3880 if (Tmp1.getOpcode() == ISD::SETCC) {
3924 // Expand brcond's setcc into its constituent parts and create a BR_CC
3928 if (Tmp2.getOpcode() == ISD::SETCC) {
3945 case ISD::SETCC: {
3953 // If we expanded the SETCC by swapping LHS and RHS, or by inverting the
3954 // condition code, create a new SETCC node.
3956 Tmp1 = DAG.getNode(ISD::SETCC, dl, Node->getValueType(0),
3959 // If we expanded the SETCC by inverting the condition code, then wrap
3960 // the existing SETCC in a NOT to restore the intended condition.
3968 // Otherwise, SETCC for the given comparison type must be completely
3998 // node using SETCC and SELECT.
4004 SDValue Cond = DAG.getNode(ISD::SETCC, dl, CCVT, Tmp1, Tmp2, CC);
4039 // If we expanded the SETCC by inverting the condition code, then swap
4044 // If we expanded the SETCC by swapping LHS and RHS, or by inverting the
4070 // If we expanded the SETCC by inverting the condition code, then wrap
4071 // the existing SETCC in a NOT to restore the intended condition.
4075 // If we expanded the SETCC by swapping LHS and RHS, create a new BR_CC
4142 Node->getOpcode() == ISD::SETCC) {
4283 case ISD::SETCC: {
4292 Results.push_back(DAG.getNode(ISD::SETCC, dl, Node->getValueType(0),