Searched refs:OpConst (Results 1 – 2 of 2) sorted by relevance
1414 Constant* OpConst = Constant::getIntegerValue(Op->getType(), OpConstVal); in constantFoldUser() local1419 simplifyCastInst(CI->getOpcode(), OpConst, in constantFoldUser()1428 Value *LHS = Op0Match ? OpConst : BO->getOperand(0); in constantFoldUser()1429 Value *RHS = Op1Match ? OpConst : BO->getOperand(1); in constantFoldUser()1503 if (std::optional<APInt> OpConst = in getEdgeValueLocal() local1505 Result = constantFoldUser(Usr, Op, *OpConst, DL); in getEdgeValueLocal()
54124 const APInt &OpConst = Op.getConstantOperandAPInt(1); in combinei64TruncSrlConstant() local54127 (Opcode == ISD::ADD && OpConst.countr_zero() < SrlConstVal)) in combinei64TruncSrlConstant()54134 APInt NewOpConstVal = OpConst.lshr(SrlConstVal).trunc(VT.getSizeInBits()); in combinei64TruncSrlConstant()