Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2810 const APInt *LowBitMaskCst; in foldRoundUpIntegerWithPow2Alignment() local
2811 if (!match(XLowBits, m_And(m_Specific(X), m_APIntAllowUndef(LowBitMaskCst)))) in foldRoundUpIntegerWithPow2Alignment()
2824 if (!LowBitMaskCst->isMask()) in foldRoundUpIntegerWithPow2Alignment()
2827 APInt InvertedLowBitMaskCst = ~*LowBitMaskCst; in foldRoundUpIntegerWithPow2Alignment()
2831 APInt AlignmentCst = *LowBitMaskCst + 1; in foldRoundUpIntegerWithPow2Alignment()
2833 if (*BiasCst != AlignmentCst && *BiasCst != *LowBitMaskCst) in foldRoundUpIntegerWithPow2Alignment()
2837 if (*BiasCst == *LowBitMaskCst) in foldRoundUpIntegerWithPow2Alignment()
2844 Value *XOffset = Builder.CreateAdd(X, ConstantInt::get(Ty, *LowBitMaskCst), in foldRoundUpIntegerWithPow2Alignment()