| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CmpInstAnalysis.cpp | 84 !match(RHS, m_APIntAllowPoison(OrigC))) in decomposeBitTestICmp() 157 if (match(LHS, m_And(m_Value(AndVal), m_APIntAllowPoison(AndC)))) { in decomposeBitTestICmp()
|
| H A D | InstructionSimplify.cpp | 2989 if (!match(RHS, m_APIntAllowPoison(C))) in simplifyICmpWithConstant() 3022 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowPoison(MulC))) && in simplifyICmpWithConstant() 3024 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowPoison(MulC))) && in simplifyICmpWithConstant() 3208 if (match(LBO, m_Sub(m_APIntAllowPoison(C), m_Specific(RHS))) && in simplifyICmpWithBinOpOnLHS() 3359 match(RHS, m_APIntAllowPoison(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp() 6539 if (match(Op1, m_APIntAllowPoison(C))) { in simplifyBinaryIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1026 match(FVal, m_Add(m_Specific(Cmp0), m_APIntAllowPoison(C))) && in canonicalizeSaturatedAdd() 1037 match(FVal, m_Add(m_Specific(Cmp0), m_APIntAllowPoison(C))) && in canonicalizeSaturatedAdd() 1047 match(FVal, m_Add(m_Specific(Cmp0), m_APIntAllowPoison(C))) && in canonicalizeSaturatedAdd() 1741 if (!match(Cmp->getOperand(1), m_APIntAllowPoison(CmpC))) in foldSelectZeroOrOnes() 3041 if (!match(XLowBits, m_And(m_Specific(X), m_APIntAllowPoison(LowBitMaskCst)))) in foldRoundUpIntegerWithPow2Alignment() 3047 m_And(m_Add(m_Specific(X), m_APIntAllowPoison(BiasCst)), in foldRoundUpIntegerWithPow2Alignment() 3048 m_APIntAllowPoison(HighBitMaskCst))) && in foldRoundUpIntegerWithPow2Alignment() 3050 m_Add(m_And(m_Specific(X), m_APIntAllowPoison(HighBitMaskCst)), in foldRoundUpIntegerWithPow2Alignment() 3051 m_APIntAllowPoison(BiasCst)))) in foldRoundUpIntegerWithPow2Alignment() 3211 match(V, m_ICmp(Pred, m_Specific(LHS), m_APIntAllowPoison(RHSC2)))) { in impliesPoisonOrCond()
|
| H A D | InstCombineAndOrXor.cpp | 1033 return match(B, m_APIntAllowPoison(BCst)) && match(D, m_APInt(DCst)) && in foldNegativePower2AndShiftedMask() 2825 m_AShr(m_Value(X), m_APIntAllowPoison(C)))), in visitAnd() 2834 m_Not(m_AShr(m_Value(X), m_APIntAllowPoison(C))))), in visitAnd() 2937 if (match(L, m_APIntAllowPoison(LI)) && match(R, m_APIntAllowPoison(RI))) in convertOrOfShiftsToFunnelShift() 3303 !match(LHS->getOperand(1), m_APIntAllowPoison(CInt)) || in foldAndOrOfICmpEqConstantAndICmp() 4993 m_AShr(m_Value(X), m_APIntAllowPoison(CA))))) && in visitXor()
|
| H A D | InstCombineCompares.cpp | 3600 if (match(Cmp.getOperand(1), m_APIntAllowPoison(C))) in foldICmpInstWithConstant() 5362 if (match(B, m_APIntAllowPoison(AP1)) && in foldICmpBinOp() 5363 match(D, m_APIntAllowPoison(AP2)) && in foldICmpBinOp() 6085 if ((match(Op0, m_OneUse(m_LShr(m_Value(A), m_APIntAllowPoison(AP1)))) && in foldICmpEquality() 6086 match(Op1, m_OneUse(m_LShr(m_Value(B), m_APIntAllowPoison(AP2))))) || in foldICmpEquality() 6087 (match(Op0, m_OneUse(m_AShr(m_Value(A), m_APIntAllowPoison(AP1)))) && in foldICmpEquality() 6088 match(Op1, m_OneUse(m_AShr(m_Value(B), m_APIntAllowPoison(AP2)))))) { in foldICmpEquality()
|
| H A D | InstCombineMulDivRem.cpp | 306 match(Op1, m_APIntAllowPoison(NegPow2C))) { in visitMul()
|
| H A D | InstCombineCalls.cpp | 2150 if (match(I1, m_APIntAllowPoison(RHSC))) { in visitCallInst()
|
| H A D | InstructionCombining.cpp | 4270 if (match(WO->getRHS(), m_APIntAllowPoison(C))) { in foldExtractOfOverflowIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 915 match(opr1, m_APIntAllowPoison(CINT)); in fold_pow() 1156 if (!match(opr1, m_APIntAllowPoison(CINT))) in fold_rootn()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 305 inline apint_match m_APIntAllowPoison(const APInt *&Res) { in m_APIntAllowPoison() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 4504 PatternMatch::match(Args[2], PatternMatch::m_APIntAllowPoison(Amt))) in getIntrinsicInstrCost() 4520 PatternMatch::match(Args[2], PatternMatch::m_APIntAllowPoison(Amt))) in getIntrinsicInstrCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 1772 m_APIntAllowPoison(C)))) in unfoldPowerOf2Test()
|