Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3637 auto ICmpDecompose = in matchBitmaskMul() local
3640 if (!ICmpDecompose.has_value()) in matchBitmaskMul()
3643 assert(ICmpInst::isEquality(ICmpDecompose->Pred) && in matchBitmaskMul()
3644 ICmpDecompose->C.isZero()); in matchBitmaskMul()
3646 if (ICmpDecompose->Pred == ICmpInst::ICMP_NE) in matchBitmaskMul()
3652 if (!ICmpDecompose->Mask.isPowerOf2() || ICmpDecompose->Mask.isZero() || in matchBitmaskMul()
3653 NeZero->getBitWidth() != ICmpDecompose->Mask.getBitWidth()) in matchBitmaskMul()
3656 if (!NeZero->urem(ICmpDecompose->Mask).isZero()) in matchBitmaskMul()
3660 {ICmpDecompose->X, NeZero->udiv(ICmpDecompose->Mask), in matchBitmaskMul()
3661 ICmpDecompose->Mask, /*NUW=*/false, /*NSW=*/false}); in matchBitmaskMul()