Searched refs:m_APIntAllowUndef (Results 1 – 8 of 8) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1579 if (!match(Cmp->getOperand(1), m_APIntAllowUndef(CmpC))) in foldSelectZeroOrOnes() 2712 if (!match(XLowBits, m_And(m_Specific(X), m_APIntAllowUndef(LowBitMaskCst)))) in foldRoundUpIntegerWithPow2Alignment() 2718 m_And(m_Add(m_Specific(X), m_APIntAllowUndef(BiasCst)), in foldRoundUpIntegerWithPow2Alignment() 2719 m_APIntAllowUndef(HighBitMaskCst))) && in foldRoundUpIntegerWithPow2Alignment() 2721 m_Add(m_And(m_Specific(X), m_APIntAllowUndef(HighBitMaskCst)), in foldRoundUpIntegerWithPow2Alignment() 2722 m_APIntAllowUndef(BiasCst)))) in foldRoundUpIntegerWithPow2Alignment()
|
| H A D | InstCombineCompares.cpp | 3109 if (match(Cmp.getOperand(1), m_APIntAllowUndef(C))) in foldICmpInstWithConstant() 4234 if (match(B, m_APIntAllowUndef(AP1)) && match(D, m_APIntAllowUndef(AP2)) && in foldICmpBinOp() 4674 if ((match(Op0, m_OneUse(m_LShr(m_Value(A), m_APIntAllowUndef(AP1)))) && in foldICmpEquality() 4675 match(Op1, m_OneUse(m_LShr(m_Value(B), m_APIntAllowUndef(AP2))))) || in foldICmpEquality() 4676 (match(Op0, m_OneUse(m_AShr(m_Value(A), m_APIntAllowUndef(AP1)))) && in foldICmpEquality() 4677 match(Op1, m_OneUse(m_AShr(m_Value(B), m_APIntAllowUndef(AP2)))))) { in foldICmpEquality()
|
| H A D | InstCombineAndOrXor.cpp | 2375 m_AShr(m_Value(X), m_APIntAllowUndef(C)))), in visitAnd() 2384 m_Not(m_AShr(m_Value(X), m_APIntAllowUndef(C))))), in visitAnd() 2462 if (match(L, m_APIntAllowUndef(LI)) && match(R, m_APIntAllowUndef(RI))) in matchFunnelShift() 4121 m_AShr(m_Value(X), m_APIntAllowUndef(CA))))) && in visitXor()
|
| H A D | InstructionCombining.cpp | 1155 return match(Cmp, m_APIntAllowUndef(C)) && C->isOne(); in FoldOpIntoSelect() 3282 if (match(WO->getRHS(), m_APIntAllowUndef(C))) { in foldExtractOfOverflowIntrinsic()
|
| H A D | InstCombineMulDivRem.cpp | 271 match(Op1, m_APIntAllowUndef(NegPow2C))) { in visitMul()
|
| H A D | InstCombineCalls.cpp | 1480 if ((match(Y, m_APIntAllowUndef(C)) && (*C & 7) == 0) || in visitCallInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 3047 if (!match(RHS, m_APIntAllowUndef(C))) in simplifyICmpWithConstant() 3070 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant() 3072 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant() 3217 if (match(LBO, m_Sub(m_APIntAllowUndef(C), m_Specific(RHS))) && in simplifyICmpWithBinOpOnLHS() 3368 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp() 6079 if (match(Op1, m_APIntAllowUndef(C))) { in simplifyBinaryIntrinsic()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 284 inline apint_match m_APIntAllowUndef(const APInt *&Res) { in m_APIntAllowUndef() function
|