Lines Matching refs:Cst

1538                                                      const ConstantFP *Cst) {  in applyCombineConstantFoldFpUnary()  argument
1540 APFloat Folded = constantFoldFpUnary(MI, MRI, Cst->getValue()); in applyCombineConstantFoldFpUnary()
2350 APInt Cst; in matchCombineConstPtrAddToI2P() local
2351 if (mi_match(LHS, MRI, m_GIntToPtr(m_ICst(Cst)))) { in matchCombineConstPtrAddToI2P()
2354 NewCst = Cst.zextOrTrunc(DstTy.getSizeInBits()); in matchCombineConstPtrAddToI2P()
2641 auto Cst = in matchConstantSelectCmp() local
2643 if (!Cst) in matchConstantSelectCmp()
2645 OpIdx = Cst->isZero() ? 3 : 2; in matchConstantSelectCmp()
3243 int64_t Cst, bool IsVector, bool IsFP) { in isConstValidTrue() argument
3245 return (ScalarSizeBits == 1 && Cst == -1) || in isConstValidTrue()
3246 isConstTrueVal(TLI, Cst, IsVector, IsFP); in isConstValidTrue()
3308 int64_t Cst; in matchNotCmp() local
3317 if (!mi_match(CstReg, MRI, m_ICst(Cst))) in matchNotCmp()
3319 if (!isConstValidTrue(TLI, Ty.getSizeInBits(), Cst, false, IsFP)) in matchNotCmp()
3988 auto Cst = getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in matchExtractVecEltBuildVec() local
3989 if (!Cst || Cst->Value.getZExtValue() >= SrcTy.getNumElements()) in matchExtractVecEltBuildVec()
3992 unsigned VecIdx = Cst->Value.getZExtValue(); in matchExtractVecEltBuildVec()
4060 auto Cst = getIConstantVRegVal(II.getOperand(2).getReg(), MRI); in matchExtractAllEltsFromBuildVector() local
4061 if (!Cst) in matchExtractAllEltsFromBuildVector()
4063 unsigned Idx = Cst->getZExtValue(); in matchExtractAllEltsFromBuildVector()
4856 auto Cst = getIConstantVRegValWithLookThrough(AndRHS, MRI); in matchNarrowBinopFeedingAnd() local
4857 if (!Cst) in matchNarrowBinopFeedingAnd()
4859 auto Mask = Cst->Value; in matchNarrowBinopFeedingAnd()