Home
last modified time | relevance | path

Searched refs:m_APIntAllowUndef (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp82 if (!match(RHS, m_APIntAllowUndef(C))) in decomposeBitTestICmp()
H A DInstructionSimplify.cpp3049 if (!match(RHS, m_APIntAllowUndef(C))) in simplifyICmpWithConstant()
3072 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
3074 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
3219 if (match(LBO, m_Sub(m_APIntAllowUndef(C), m_Specific(RHS))) && in simplifyICmpWithBinOpOnLHS()
3370 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp()
6471 if (match(Op1, m_APIntAllowUndef(C))) { in simplifyBinaryIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1613 if (!match(Cmp->getOperand(1), m_APIntAllowUndef(CmpC))) in foldSelectZeroOrOnes()
2811 if (!match(XLowBits, m_And(m_Specific(X), m_APIntAllowUndef(LowBitMaskCst)))) in foldRoundUpIntegerWithPow2Alignment()
2817 m_And(m_Add(m_Specific(X), m_APIntAllowUndef(BiasCst)), in foldRoundUpIntegerWithPow2Alignment()
2818 m_APIntAllowUndef(HighBitMaskCst))) && in foldRoundUpIntegerWithPow2Alignment()
2820 m_Add(m_And(m_Specific(X), m_APIntAllowUndef(HighBitMaskCst)), in foldRoundUpIntegerWithPow2Alignment()
2821 m_APIntAllowUndef(BiasCst)))) in foldRoundUpIntegerWithPow2Alignment()
H A DInstCombineAndOrXor.cpp950 return match(B, m_APIntAllowUndef(BCst)) && match(D, m_APInt(DCst)) && in foldNegativePower2AndShiftedMask()
2670 m_AShr(m_Value(X), m_APIntAllowUndef(C)))), in visitAnd()
2679 m_Not(m_AShr(m_Value(X), m_APIntAllowUndef(C))))), in visitAnd()
2770 if (match(L, m_APIntAllowUndef(LI)) && match(R, m_APIntAllowUndef(RI))) in matchFunnelShift()
3115 !match(LHS->getOperand(1), m_APIntAllowUndef(CInt)) || in foldAndOrOfICmpEqConstantAndICmp()
4590 m_AShr(m_Value(X), m_APIntAllowUndef(CA))))) && in visitXor()
H A DInstCombineCompares.cpp3344 if (match(Cmp.getOperand(1), m_APIntAllowUndef(C))) in foldICmpInstWithConstant()
4777 if (match(B, m_APIntAllowUndef(AP1)) && match(D, m_APIntAllowUndef(AP2)) && in foldICmpBinOp()
5352 if ((match(Op0, m_OneUse(m_LShr(m_Value(A), m_APIntAllowUndef(AP1)))) && in foldICmpEquality()
5353 match(Op1, m_OneUse(m_LShr(m_Value(B), m_APIntAllowUndef(AP2))))) || in foldICmpEquality()
5354 (match(Op0, m_OneUse(m_AShr(m_Value(A), m_APIntAllowUndef(AP1)))) && in foldICmpEquality()
5355 match(Op1, m_OneUse(m_AShr(m_Value(B), m_APIntAllowUndef(AP2)))))) { in foldICmpEquality()
H A DInstCombineCalls.cpp1804 if (match(I1, m_APIntAllowUndef(RHSC))) { in visitCallInst()
1852 if ((match(Y, m_APIntAllowUndef(C)) && (*C & 7) == 0) || in visitCallInst()
H A DInstCombineMulDivRem.cpp279 match(Op1, m_APIntAllowUndef(NegPow2C))) { in visitMul()
H A DInstructionCombining.cpp3410 if (match(WO->getRHS(), m_APIntAllowUndef(C))) { in foldExtractOfOverflowIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp905 match(opr1, m_APIntAllowUndef(CINT)); in fold_pow()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h284 inline apint_match m_APIntAllowUndef(const APInt *&Res) { in m_APIntAllowUndef() function