Lines Matching refs:Cst
1476 Optional<APFloat> &Cst) { in matchCombineConstantFoldFpUnary() argument
1480 Cst = constantFoldFpUnary(MI.getOpcode(), DstTy, SrcReg, MRI); in matchCombineConstantFoldFpUnary()
1481 return Cst.hasValue(); in matchCombineConstantFoldFpUnary()
1485 Optional<APFloat> &Cst) { in applyCombineConstantFoldFpUnary() argument
1486 assert(Cst.hasValue() && "Optional is unexpectedly empty!"); in applyCombineConstantFoldFpUnary()
1489 auto *FPVal = ConstantFP::get(MF.getFunction().getContext(), *Cst); in applyCombineConstantFoldFpUnary()
2204 int64_t Cst; in matchCombineConstPtrAddToI2P() local
2205 if (mi_match(LHS, MRI, m_GIntToPtr(m_ICst(Cst)))) { in matchCombineConstPtrAddToI2P()
2206 NewCst = Cst + *RHSCst; in matchCombineConstPtrAddToI2P()
2944 int64_t Cst, bool IsVector, bool IsFP) { in isConstValidTrue() argument
2946 return (ScalarSizeBits == 1 && Cst == -1) || in isConstValidTrue()
2947 isConstTrueVal(TLI, Cst, IsVector, IsFP); in isConstValidTrue()
3009 int64_t Cst; in matchNotCmp() local
3018 if (!mi_match(CstReg, MRI, m_ICst(Cst))) in matchNotCmp()
3020 if (!isConstValidTrue(TLI, Ty.getSizeInBits(), Cst, false, IsFP)) in matchNotCmp()