Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp902 static Value *foldIsPowerOf2(ICmpInst *Cmp0, ICmpInst *Cmp1, bool JoinedByAnd, in foldIsPowerOf2() argument
905 if (JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_NE) in foldIsPowerOf2()
907 else if (!JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_EQ) in foldIsPowerOf2()
913 if (JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
921 if (!JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()