Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DPatternMatch.h252 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/
DInstCombineMulDivRem.cpp189 if (match(Op1, m_AllOnes())) { in visitMul()
1129 if (match(Op1, m_AllOnes())) in visitSDiv()
DInstCombineCompares.cpp3408 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()
DInstCombineSelect.cpp562 } else if (Pred == ICmpInst::ICMP_SGT && match(CmpRHS, m_AllOnes())) { in visitSelectInstWithICmp()
DInstCombineAddSub.cpp1527 if (match(Op0, m_AllOnes())) in visitSub()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1439 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()