Searched refs:m_AllOnes (Results 1 – 6 of 6) sorted by relevance
/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/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 189 if (match(Op1, m_AllOnes())) { in visitMul() 1129 if (match(Op1, m_AllOnes())) in visitSDiv()
|
D | InstCombineCompares.cpp | 3408 match(B, m_AllOnes())) in visitICmpInst() 3413 match(B, m_AllOnes())) in visitICmpInst() 3428 match(D, m_AllOnes())) in visitICmpInst() 3433 match(D, m_AllOnes())) in visitICmpInst() 3618 auto LSubOne = m_Add(m_Specific(Op1), m_AllOnes()); in visitICmpInst()
|
D | InstCombineSelect.cpp | 562 } else if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, m_AllOnes())) { in visitSelectInstWithICmp()
|
D | InstCombineAddSub.cpp | 1527 if (match(Op0, m_AllOnes())) in visitSub()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1439 if (match(Op0, m_AllOnes())) in SimplifyAShrInst() 1585 if (match(Op1, m_AllOnes())) in SimplifyAndInst() 1744 if (match(Op1, m_AllOnes())) in SimplifyOrInst() 3362 } else if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, m_AllOnes())) { in SimplifySelectInst()
|