Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2968 const APInt *LowBitMaskCst; in foldRoundUpIntegerWithPow2Alignment() local
2969 if (!match(XLowBits, m_And(m_Specific(X), m_APIntAllowPoison(LowBitMaskCst)))) in foldRoundUpIntegerWithPow2Alignment()
2982 if (!LowBitMaskCst->isMask()) in foldRoundUpIntegerWithPow2Alignment()
2985 APInt InvertedLowBitMaskCst = ~*LowBitMaskCst; in foldRoundUpIntegerWithPow2Alignment()
2989 APInt AlignmentCst = *LowBitMaskCst + 1; in foldRoundUpIntegerWithPow2Alignment()
2991 if (*BiasCst != AlignmentCst && *BiasCst != *LowBitMaskCst) in foldRoundUpIntegerWithPow2Alignment()
2996 if (*BiasCst == *LowBitMaskCst && impliesPoison(XBiasedHighBits, X)) in foldRoundUpIntegerWithPow2Alignment()
3003 Value *XOffset = Builder.CreateAdd(X, ConstantInt::get(Ty, *LowBitMaskCst), in foldRoundUpIntegerWithPow2Alignment()