Lines Matching refs:Cst

1694                                                      const ConstantFP *Cst) {  in applyCombineConstantFoldFpUnary()  argument
1695 APFloat Folded = constantFoldFpUnary(MI, MRI, Cst->getValue()); in applyCombineConstantFoldFpUnary()
2483 APInt Cst; in matchCombineConstPtrAddToI2P() local
2484 if (mi_match(LHS, MRI, m_GIntToPtr(m_ICst(Cst)))) { in matchCombineConstPtrAddToI2P()
2487 NewCst = Cst.zextOrTrunc(DstTy.getSizeInBits()); in matchCombineConstPtrAddToI2P()
2769 auto Cst = in matchConstantSelectCmp() local
2771 if (!Cst) in matchConstantSelectCmp()
2773 OpIdx = Cst->isZero() ? 3 : 2; in matchConstantSelectCmp()
3388 int64_t Cst, bool IsVector, bool IsFP) { in isConstValidTrue() argument
3390 return (ScalarSizeBits == 1 && Cst == -1) || in isConstValidTrue()
3391 isConstTrueVal(TLI, Cst, IsVector, IsFP); in isConstValidTrue()
3453 int64_t Cst; in matchNotCmp() local
3462 if (!mi_match(CstReg, MRI, m_ICst(Cst))) in matchNotCmp()
3464 if (!isConstValidTrue(TLI, Ty.getSizeInBits(), Cst, false, IsFP)) in matchNotCmp()
4128 auto Cst = getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in matchExtractVecEltBuildVec() local
4129 if (!Cst || Cst->Value.getZExtValue() >= SrcTy.getNumElements()) in matchExtractVecEltBuildVec()
4132 unsigned VecIdx = Cst->Value.getZExtValue(); in matchExtractVecEltBuildVec()
4199 auto Cst = getIConstantVRegVal(II.getOperand(2).getReg(), MRI); in matchExtractAllEltsFromBuildVector() local
4200 if (!Cst) in matchExtractAllEltsFromBuildVector()
4202 unsigned Idx = Cst->getZExtValue(); in matchExtractAllEltsFromBuildVector()
5018 auto Cst = getIConstantVRegValWithLookThrough(AndRHS, MRI); in matchNarrowBinopFeedingAnd() local
5019 if (!Cst) in matchNarrowBinopFeedingAnd()
5021 auto Mask = Cst->Value; in matchNarrowBinopFeedingAnd()