Lines Matching refs:ConstOp1
2109 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1.getNode()); in adjustZeroCmp() local
2110 if (!ConstOp1) in adjustZeroCmp()
2113 int64_t Value = ConstOp1->getSExtValue(); in adjustZeroCmp()
2143 auto *ConstOp1 = cast<ConstantSDNode>(C.Op1); in adjustSubwordCmp() local
2144 uint64_t Value = ConstOp1->getZExtValue(); in adjustSubwordCmp()
2148 int64_t SignedValue = ConstOp1->getSExtValue(); in adjustSubwordCmp()
2193 Value != ConstOp1->getZExtValue()) in adjustSubwordCmp()
2234 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1); in shouldSwapCmpOperands() local
2235 if (ConstOp1 && ConstOp1->getZExtValue() == 0) in shouldSwapCmpOperands()
2248 if (!ConstOp1) in shouldSwapCmpOperands()
2253 isUInt<16>(ConstOp1->getZExtValue())) in shouldSwapCmpOperands()
2258 isInt<16>(ConstOp1->getSExtValue())) in shouldSwapCmpOperands()
2486 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1); in adjustForTestUnderMask() local
2487 if (!ConstOp1) in adjustForTestUnderMask()
2489 uint64_t CmpVal = ConstOp1->getZExtValue(); in adjustForTestUnderMask()