/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 467 if (match(Op1, m_Shl(m_Power2(CI), m_Value(N)))) { in visitUDiv() 479 if (match(Op1, m_Select(m_Value(Cond), m_Power2(C1), m_Power2(C2)))) { in visitUDiv() 543 if (match(Op1, m_Shl(m_Power2(), m_Value()))) { in visitSDiv() 624 if (match(Op1, m_Power2(C))) in visitURem() 630 if (match(Op1, m_Shl(m_Power2(), m_Value()))) { in visitURem() 640 if (match(Op1, m_Select(m_Value(Cond), m_Power2(C1), m_Power2(C2)))) { in visitURem()
|
D | InstCombineShifts.cpp | 44 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms()
|
D | InstCombineCompares.cpp | 1978 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst() 2015 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 324 if (!match(CmpLHS, m_And(m_Value(X), m_Power2(C1)))) in foldSelectICmpAndOr() 329 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() 331 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr() 564 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) && in visitSelectInstWithICmp()
|
D | InstCombineMulDivRem.cpp | 1022 if (match(Op1, m_Power2())) { in visitUDivOperand() 1035 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand() 1036 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 | 3451 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst() 3495 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 118 if (!match(V, m_And(m_Value(), m_Power2(AndRHS)))) in foldSelectICmpAnd() 518 if (!match(CmpLHS, m_And(m_Value(), m_Power2(C1)))) in foldSelectICmpAndOr() 544 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() 546 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr() 954 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) && in foldSelectInstWithICmp()
|
D | InstCombineMulDivRem.cpp | 867 if (match(Op1, m_Power2())) { in visitUDivOperand() 873 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand() 874 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
|
D | InstCombineShifts.cpp | 56 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms()
|
D | InstCombineCompares.cpp | 4345 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) { in foldICmpUsingKnownBits()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 206 inline cst_pred_ty<is_power2> m_Power2() { return cst_pred_ty<is_power2>(); } in m_Power2() function 207 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { return V; } in m_Power2() function
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 382 inline cst_pred_ty<is_power2> m_Power2() { in m_Power2() function 385 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { in m_Power2() function
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 768 if (match(W, m_Power2(RHS))) { in visitMulExpr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 824 if (match(W, m_Power2(RHS))) { in visitMulExpr()
|
D | ValueTracking.cpp | 1679 if (match(V, m_Power2())) in isKnownToBeAPowerOfTwo()
|