Searched refs:m_Power2 (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 313 if (!match(CmpLHS, m_And(m_Value(X), m_Power2(C1)))) in foldSelectICmpAndOr() 318 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() 320 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr() 553 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) && in visitSelectInstWithICmp()
|
D | InstCombineMulDivRem.cpp | 1008 if (match(Op1, m_Power2())) { in visitUDivOperand() 1021 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand() 1022 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
|
D | InstCombineShifts.cpp | 46 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms()
|
D | InstCombineCompares.cpp | 3013 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst() 3057 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 272 inline cst_pred_ty<is_power2> m_Power2() { return cst_pred_ty<is_power2>(); } in m_Power2() function 273 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { return V; } in m_Power2() function
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 772 if (match(W, m_Power2(RHS))) { in visitMulExpr()
|