Searched refs:m_AllOnes (Results 1 – 11 of 11) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 573 } else if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, m_AllOnes())) { in visitSelectInstWithICmp() 970 if (match(TrueVal, m_AllOnes()) && match(FalseVal, m_Zero())) in visitSelectInst() 980 if (match(TrueVal, m_Zero()) && match(FalseVal, m_AllOnes())) { in visitSelectInst()
|
D | InstCombineCompares.cpp | 3860 match(B, m_AllOnes())) in visitICmpInst() 3865 match(B, m_AllOnes())) in visitICmpInst() 3880 match(D, m_AllOnes())) in visitICmpInst() 3885 match(D, m_AllOnes())) in visitICmpInst() 4077 auto LSubOne = m_Add(m_Specific(Op1), m_AllOnes()); in visitICmpInst()
|
D | InstCombineAndOrXor.cpp | 1603 if (!((match(EltC1, m_Zero()) && match(EltC2, m_AllOnes())) || in areInverseVectorBitmasks() 1604 (match(EltC2, m_Zero()) && match(EltC1, m_AllOnes())))) in areInverseVectorBitmasks()
|
D | InstCombineAddSub.cpp | 1507 if (match(Op0, m_AllOnes())) in visitSub()
|
D | InstCombineMulDivRem.cpp | 189 if (match(Op1, m_AllOnes())) { in visitMul()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 190 inline cst_pred_ty<is_all_ones> m_AllOnes() {return cst_pred_ty<is_all_ones>();} in m_AllOnes() function 191 inline api_pred_ty<is_all_ones> m_AllOnes(const APInt *&V) { return V; } in m_AllOnes() function
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 252 inline cst_pred_ty<is_all_ones> m_AllOnes() { in m_AllOnes() function 255 inline api_pred_ty<is_all_ones> m_AllOnes(const APInt *&V) { return V; } in m_AllOnes() function
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 109 if (match(Op1, m_AllOnes())) // X * -1 == 0 - X in visitMul()
|
D | InstCombineAddSub.cpp | 552 if (match(Op0, m_AllOnes())) in visitSub()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 1132 if (match(Op0, m_AllOnes())) in SimplifyAShrInst() 1181 if (match(Op1, m_AllOnes())) in SimplifyAndInst() 1270 if (match(Op1, m_AllOnes())) in SimplifyOrInst()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1434 if (match(Op0, m_AllOnes())) in SimplifyAShrInst() 1586 if (match(Op1, m_AllOnes())) in SimplifyAndInst() 1760 if (match(Op1, m_AllOnes())) in SimplifyOrInst() 3422 } else if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, m_AllOnes())) { in SimplifySelectInst()
|