Searched refs:ConstOp1 (Results 1 – 2 of 2) sorted by relevance
1533 bool ConstOp1 = isa<Constant>(RHS); in foldVectorBinop() local1569 ConstOp1 ? ConstantExpr::get(Opcode, UndefScalar, CElt) in foldVectorBinop()1582 if (Inst.isIntDivRem() || (Inst.isShift() && ConstOp1)) in foldVectorBinop()1583 NewC = getSafeVectorConstantForBinop(Opcode, NewC, ConstOp1); in foldVectorBinop()1587 Value *NewLHS = ConstOp1 ? V1 : NewC; in foldVectorBinop()1588 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop()
1996 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1.getNode()); in adjustZeroCmp() local1997 if (!ConstOp1) in adjustZeroCmp()2000 int64_t Value = ConstOp1->getSExtValue(); in adjustZeroCmp()2029 auto *ConstOp1 = cast<ConstantSDNode>(C.Op1); in adjustSubwordCmp() local2030 uint64_t Value = ConstOp1->getZExtValue(); in adjustSubwordCmp()2034 int64_t SignedValue = ConstOp1->getSExtValue(); in adjustSubwordCmp()2079 Value != ConstOp1->getZExtValue()) in adjustSubwordCmp()2120 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1); in shouldSwapCmpOperands() local2121 if (ConstOp1 && ConstOp1->getZExtValue() == 0) in shouldSwapCmpOperands()2134 if (!ConstOp1) in shouldSwapCmpOperands()[all …]