Lines Matching refs:BCst
446 ConstantInt *BCst = dyn_cast<ConstantInt>(B); in getTypeOfMaskedICmp() local
451 bool icmp_bbit = (BCst && !BCst->isZero() && in getTypeOfMaskedICmp()
452 BCst->getValue().isPowerOf2()); in getTypeOfMaskedICmp()
499 } else if (BCst && CCst && in getTypeOfMaskedICmp()
500 ConstantExpr::getAnd(BCst, CCst) == CCst) { in getTypeOfMaskedICmp()
749 ConstantInt *BCst = dyn_cast<ConstantInt>(B); in foldLogOpOfMaskedICmps() local
750 if (!BCst) return nullptr; in foldLogOpOfMaskedICmps()
760 APInt NewMask = BCst->getValue() & DCst->getValue(); in foldLogOpOfMaskedICmps()
762 if (NewMask == BCst->getValue()) in foldLogOpOfMaskedICmps()
772 APInt NewMask = BCst->getValue() | DCst->getValue(); in foldLogOpOfMaskedICmps()
774 if (NewMask == BCst->getValue()) in foldLogOpOfMaskedICmps()
795 CCst = cast<ConstantInt>(ConstantExpr::getXor(BCst, CCst)); in foldLogOpOfMaskedICmps()
800 if (((BCst->getValue() & DCst->getValue()) & in foldLogOpOfMaskedICmps()