Home
last modified time | relevance | path

Searched refs:m_Power2 (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp313 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()
DInstCombineMulDivRem.cpp1008 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()
DInstCombineShifts.cpp46 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms()
DInstCombineCompares.cpp3013 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/
DPatternMatch.h272 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/
DScalarEvolutionExpander.cpp772 if (match(W, m_Power2(RHS))) { in visitMulExpr()