Home
last modified time | relevance | path

Searched refs:m_And (Results 1 – 14 of 14) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp618 } else if (!match(L1, m_And(m_Value(L11), m_Value(L12)))) { in foldLogOpOfMaskedICmpsHelper()
628 } else if (!match(L2, m_And(m_Value(L21), m_Value(L22)))) { in foldLogOpOfMaskedICmpsHelper()
652 if (!match(R1, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper()
672 if (!match(R2, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper()
944 match(Val, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps()
948 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps()
1310 if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) { in visitAnd()
1345 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd()
1351 match(Op0, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd()
1423 if (LHS && match(Op1, m_OneUse(m_And(m_Value(X), m_Value(Y))))) { in visitAnd()
[all …]
DInstCombineAddSub.cpp1021 } else if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && (*C1 == *C2)) { in checkForNegativeOperand()
1043 if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && *C1 == (*C2 + 1)) { in checkForNegativeOperand()
1189 match(LHS, m_And(m_Value(X), m_ConstantInt(C2))) && in visitAdd()
1278 (match(LHS, m_And(m_Specific(A), m_Specific(B))) || in visitAdd()
1279 match(LHS, m_And(m_Specific(B), m_Specific(A))))) in visitAdd()
1283 (match(RHS, m_And(m_Specific(A), m_Specific(B))) || in visitAdd()
1284 match(RHS, m_And(m_Specific(B), m_Specific(A))))) in visitAdd()
1292 (match(LHS, m_And(m_Specific(A), m_Specific(B))) || in visitAdd()
1293 match(LHS, m_And(m_Specific(B), m_Specific(A))))) { in visitAdd()
1301 (match(RHS, m_And(m_Specific(A), m_Specific(B))) || in visitAdd()
[all …]
DInstCombineSelect.cpp406 if (!match(CmpLHS, m_And(m_Value(X), m_Power2(C1)))) in foldSelectICmpAndOr()
682 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) && in visitSelectInstWithICmp()
851 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) in foldSelectICmpAnd()
DInstCombineShifts.cpp447 m_And(m_OneUse(m_Shr(m_Value(V1), m_Specific(Op1))), in FoldShiftByConstant()
482 m_And(m_OneUse(m_Shr(m_Value(V1), m_Value(V2))), in FoldShiftByConstant()
DInstCombineCompares.cpp2313 if (match(OtherVal, m_And(m_Value(ValToMask), m_ConstantInt(CI)))) { in ProcessUMulZExtIdiom()
2894 if (!match(Op0, m_And(m_Value(LHS), m_ConstantInt(LHSC))) || in visitICmpInst()
2939 if (!match(Op0, m_And(m_Value(LHS), m_ConstantInt(LHSC))) || in visitICmpInst()
3498 if (match(Op0, m_And(m_Value(A), m_Not(m_Value(B)))) && in visitICmpInst()
3575 if (match(Op0, m_OneUse(m_And(m_Value(A), m_Value(B)))) && in visitICmpInst()
3576 match(Op1, m_OneUse(m_And(m_Value(C), m_Value(D))))) { in visitICmpInst()
3603 match(Op1, m_And(m_Value(B), m_ConstantInt(Cst1)))) || in visitICmpInst()
3605 match(Op0, m_And(m_Value(B), m_ConstantInt(Cst1))) && in visitICmpInst()
DInstCombineCasts.cpp497 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { in visitTrunc()
867 match(SrcI, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Constant(C)))) && in visitZExt()
874 match(And, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Specific(C)))) && in visitZExt()
DInstCombineCalls.cpp1134 if (match(IIOperand, m_And(m_Value(A), m_Value(B)))) { in visitCallInst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1740 if (match(Op0, m_And(m_Value(A), m_Value(B))) && in SimplifyOrInst()
1745 if (match(Op1, m_And(m_Value(A), m_Value(B))) && in SimplifyOrInst()
1750 if (match(Op0, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst()
1755 if (match(Op1, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst()
1787 if (match(Op0, m_And(m_Value(A), m_Value(C))) && in SimplifyOrInst()
1788 match(Op1, m_And(m_Value(B), m_Value(D)))) { in SimplifyOrInst()
2346 } else if (match(LHS, m_And(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
2599 if (LBO && match(LBO, m_CombineOr(m_And(m_Value(), m_Specific(RHS)), in SimplifyICmpInst()
2600 m_And(m_Specific(RHS), m_Value())))) { in SimplifyICmpInst()
2607 if (RBO && match(RBO, m_CombineOr(m_And(m_Value(), m_Specific(LHS)), in SimplifyICmpInst()
[all …]
DValueTracking.cpp484 return m_CombineOr(m_And(L, R), m_And(R, L)); in m_c_And()
1571 if (OrZero && match(V, m_And(m_Value(X), m_Value(Y)))) { in isKnownToBeAPowerOfTwo()
1587 if (match(X, m_And(m_Specific(Y), m_Value())) || in isKnownToBeAPowerOfTwo()
1588 match(X, m_And(m_Value(), m_Specific(Y)))) in isKnownToBeAPowerOfTwo()
1591 if (match(Y, m_And(m_Specific(X), m_Value())) || in isKnownToBeAPowerOfTwo()
1592 match(Y, m_And(m_Value(), m_Specific(X)))) in isKnownToBeAPowerOfTwo()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp334 if (match(Condition, m_And(m_Value(A), m_Value(B)))) { in parseRangeCheck()
DGVN.cpp2152 if ((isKnownTrue && match(LHS, m_And(m_Value(A), m_Value(B)))) || in propagateEquality()
/external/llvm/include/llvm/IR/
DPatternMatch.h506 inline BinaryOp_match<LHS, RHS, Instruction::And> m_And(const LHS &L, in m_And() function
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4589 if (match(LogicOp, m_And(m_OneUse(m_Value(Cond1)), in splitBranchCondition()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp399 m_And(m_Value(RHSVal), m_ConstantInt(RHSC)))) { in matchInstruction()