Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp573 } 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()
DInstCombineCompares.cpp3860 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()
DInstCombineAndOrXor.cpp1603 if (!((match(EltC1, m_Zero()) && match(EltC2, m_AllOnes())) || in areInverseVectorBitmasks()
1604 (match(EltC2, m_Zero()) && match(EltC1, m_AllOnes())))) in areInverseVectorBitmasks()
DInstCombineAddSub.cpp1507 if (match(Op0, m_AllOnes())) in visitSub()
DInstCombineMulDivRem.cpp189 if (match(Op1, m_AllOnes())) { in visitMul()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h190 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/
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/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp109 if (match(Op1, m_AllOnes())) // X * -1 == 0 - X in visitMul()
DInstCombineAddSub.cpp552 if (match(Op0, m_AllOnes())) in visitSub()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp1132 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/
DInstructionSimplify.cpp1434 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()