Home | History | Annotate | Download | only in SystemZ

Lines Matching defs:CCMask

913 // If a comparison described by IsUnsigned, CCMask, CmpOp0 and CmpOp1
918 unsigned &CCMask) {
927 if ((Value == -1 && CCMask == SystemZ::CCMASK_CMP_GT) ||
928 (Value == -1 && CCMask == SystemZ::CCMASK_CMP_LE) ||
929 (Value == 1 && CCMask == SystemZ::CCMASK_CMP_LT) ||
930 (Value == 1 && CCMask == SystemZ::CCMASK_CMP_GE)) {
931 CCMask ^= SystemZ::CCMASK_CMP_EQ;
936 // If a comparison described by IsUnsigned, CCMask, CmpOp0 and CmpOp1
940 unsigned &CCMask) {
967 else if (CCMask == SystemZ::CCMASK_CMP_EQ ||
968 CCMask == SystemZ::CCMASK_CMP_NE)
976 // Adjust CCMask and Value as necessary.
977 if (Value == 0 && CCMask == SystemZ::CCMASK_CMP_LT)
979 Value = 127, CCMask = SystemZ::CCMASK_CMP_GT, IsUnsigned = true;
980 else if (Value == 0 && CCMask == SystemZ::CCMASK_CMP_GE)
982 Value = 128, CCMask = SystemZ::CCMASK_CMP_LT, IsUnsigned = true;
1012 // Return true if a comparison described by CCMask, CmpOp0 and CmpOp1
1016 SDValue CmpOp1, unsigned CCMask) {
1018 if (CCMask != SystemZ::CCMASK_CMP_EQ && CCMask != SystemZ::CCMASK_CMP_NE)
1058 // 2-bit results and CCMask to the subset of those results that are
1062 unsigned &CCMask) {
1064 CCMask = CCMaskForCondCode(Cond);
1068 IsUnsigned = CCMask & SystemZ::CCMASK_CMP_UO;
1070 CCMask &= CCValid;
1071 adjustZeroCmp(DAG, IsUnsigned, CmpOp0, CmpOp1, CCMask);
1072 adjustSubwordCmp(DAG, IsUnsigned, CmpOp0, CmpOp1, CCMask);
1073 if (preferUnsignedComparison(DAG, CmpOp0, CmpOp1, CCMask))
1113 unsigned CCValid, CCMask;
1114 SDValue Flags = emitCmp(DAG, CmpOp0, CmpOp1, CC, CCValid, CCMask);
1117 DAG.getConstant(CCMask, MVT::i32), Dest, Flags);
1129 unsigned CCValid, CCMask;
1130 SDValue Flags = emitCmp(DAG, CmpOp0, CmpOp1, CC, CCValid, CCMask);
1136 Ops.push_back(DAG.getConstant(CCMask, MVT::i32));
1755 unsigned CCMask = MI->getOperand(4).getImm();
1763 // BRC CCMask, JoinMBB
1767 .addImm(CCValid).addImm(CCMask).addMBB(JoinMBB);
1804 unsigned CCMask = MI->getOperand(5).getImm();
1814 CCMask ^= CCValid;
1817 .addImm(CCValid).addImm(CCMask);
1824 CCMask ^= CCValid;
1831 // BRC CCMask, JoinMBB
1835 .addImm(CCValid).addImm(CCMask).addMBB(JoinMBB);