Lines Matching refs:MaybeCst
2752 auto MaybeCst = isConstantOrConstantSplatVector(*MI, MRI); in matchConstantOp() local
2753 return MaybeCst && MaybeCst->getBitWidth() <= 64 && in matchConstantOp()
2754 MaybeCst->getSExtValue() == C; in matchConstantOp()
2760 std::optional<FPValueAndVReg> MaybeCst; in matchConstantFPOp() local
2761 if (!mi_match(MOP.getReg(), MRI, m_GFCstOrSplat(MaybeCst))) in matchConstantFPOp()
2764 return MaybeCst->Value.isExactlyValue(C); in matchConstantFPOp()
3311 auto MaybeCst = getIConstantSplatSExtVal(*CstDef, MRI); in matchNotCmp() local
3312 if (!MaybeCst) in matchNotCmp()
3314 if (!isConstValidTrue(TLI, Ty.getScalarSizeInBits(), *MaybeCst, true, IsFP)) in matchNotCmp()
4750 if (auto MaybeCst = ConstantFoldCastOp(MI.getOpcode(), DstTy, SrcOp, MRI)) { in matchConstantFoldCastOp() local
4751 MatchInfo = *MaybeCst; in matchConstantFoldCastOp()
4761 auto MaybeCst = ConstantFoldBinOp(MI.getOpcode(), Op1, Op2, MRI); in matchConstantFoldBinOp() local
4762 if (!MaybeCst) in matchConstantFoldBinOp()
4764 MatchInfo = *MaybeCst; in matchConstantFoldBinOp()
4771 auto MaybeCst = ConstantFoldFPBinOp(MI.getOpcode(), Op1, Op2, MRI); in matchConstantFoldFPBinOp() local
4772 if (!MaybeCst) in matchConstantFoldFPBinOp()
4775 ConstantFP::get(MI.getMF()->getFunction().getContext(), *MaybeCst); in matchConstantFoldFPBinOp()
5966 const ConstantFP *MaybeCst = getConstantFPVRegVal(MaybeNaNReg, MRI); in matchCombineFMinMaxNaN() local
5967 if (!MaybeCst || !MaybeCst->getValueAPF().isNaN()) in matchCombineFMinMaxNaN()