Lines Matching refs:CMP
6716 SDValue Cond = DAG.getNode(X86ISD::CMP, dl, MVT::i32,
7321 // Emit a CMP with 0, which is the TEST pattern.
7322 return DAG.getNode(X86ISD::CMP, dl, MVT::i32, Op,
7426 // Emit a CMP with 0, which is the TEST pattern.
7427 return DAG.getNode(X86ISD::CMP, dl, MVT::i32, Op,
7440 /// Emit nodes that will be selected as "cmp Op0,Op1", or something
7449 return DAG.getNode(X86ISD::CMP, dl, MVT::i32, Op0, Op1);
7682 if (Opc == X86ISD::CMP || Opc == X86ISD::COMI || Opc == X86ISD::UCOMI)
7733 Cond.getOperand(1).getOpcode() == X86ISD::CMP &&
7735 SDValue Cmp = Cond.getOperand(1);
7743 SDValue CmpOp0 = Cmp.getOperand(0);
7744 Cmp = DAG.getNode(X86ISD::CMP, DL, MVT::i32,
7749 DAG.getConstant(X86::COND_B, MVT::i8), Cmp);
7761 // Look past (and (setcc_carry (cmp ...)), 1).
7769 // If condition flag is set by a X86ISD::CMP, then use it as the condition
7775 SDValue Cmp = Cond.getOperand(1);
7776 unsigned Opc = Cmp.getOpcode();
7784 if ((isX86LogicalCmp(Cmp) && !IllegalFPCMov) ||
7786 Cond = Cmp;
7817 if (Cond.getOpcode() == X86ISD::CMP) {
7885 // Look pass (and (setcc_carry (cmp ...)), 1).
7893 // If condition flag is set by a X86ISD::CMP, then use it as the condition
7899 SDValue Cmp = Cond.getOperand(1);
7900 unsigned Opc = Cmp.getOpcode();
7902 if (isX86LogicalCmp(Cmp) || Opc == X86ISD::BT) {
7903 Cond = Cmp;
7920 SDValue Cmp = Cond.getOperand(0).getOperand(1);
7925 if (Cmp == Cond.getOperand(1).getOperand(1) &&
7926 isX86LogicalCmp(Cmp)) {
7929 Chain, Dest, CC, Cmp);
7931 Cond = Cmp;
7940 if (Cmp == Cond.getOperand(1).getOperand(1) &&
7941 isX86LogicalCmp(Cmp) &&
7960 Chain, Dest, CC, Cmp);
7965 Cond = Cmp;
9426 assert (T == MVT::i64 && "Only know how to expand i64 Cmp and Swap");
9505 case X86ISD::CMP: return "X86ISD::CMP";
10035 // cmp t1, t2
10112 // Cmp and exchange if none has modified the memory location
11790 // where both setccs reference the same FP CMP, and rewrite for CMPEQSS
11797 // SSE1 supports CMP{eq|ne}SS, and SSE2 added CMP{eq|ne}SD, but
11806 // The SETCCs should both refer to the same CMP.
11807 if (CMP0.getOpcode() != X86ISD::CMP || CMP0 != CMP1)
12345 SDValue Cmp = SetCC.getOperand(1);
12346 if (Cmp.getOpcode() != X86ISD::CMP || !Cmp.hasOneUse() ||
12347 !X86::isZeroNode(Cmp.getOperand(1)) ||
12348 !Cmp.getOperand(0).getValueType().isInteger())
12351 SDValue CmpOp0 = Cmp.getOperand(0);
12352 SDValue NewCmp = DAG.getNode(X86ISD::CMP, DL, MVT::i32, CmpOp0,