Searched refs:DCst (Results 1 – 3 of 3) sorted by relevance
465 ConstantInt *DCst = dyn_cast<ConstantInt>(D); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local466 if (!DCst) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()479 ECst = cast<ConstantInt>(ConstantExpr::getXor(DCst, ECst)); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()483 if (BCst->getValue() == 0 || DCst->getValue() == 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()490 if ((BCst->getValue() & DCst->getValue()) == 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()509 if ((((BCst->getValue() & DCst->getValue()) & ECst->getValue()) == 0) && in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()510 (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())).isPowerOf2()) { in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()511 APInt BorD = BCst->getValue() | DCst->getValue(); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()512 APInt BandBxorDorE = (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())) | in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()533 if (!IsSubSetOrEqual(BCst, DCst) && !IsSuperSetOrEqual(BCst, DCst)) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()[all …]
751 ConstantInt *DCst = dyn_cast<ConstantInt>(D); in foldLogOpOfMaskedICmps() local752 if (!DCst) return nullptr; in foldLogOpOfMaskedICmps()760 APInt NewMask = BCst->getValue() & DCst->getValue(); in foldLogOpOfMaskedICmps()764 else if (NewMask == DCst->getValue()) in foldLogOpOfMaskedICmps()772 APInt NewMask = BCst->getValue() | DCst->getValue(); in foldLogOpOfMaskedICmps()776 else if (NewMask == DCst->getValue()) in foldLogOpOfMaskedICmps()797 ECst = cast<ConstantInt>(ConstantExpr::getXor(DCst, ECst)); in foldLogOpOfMaskedICmps()800 if (((BCst->getValue() & DCst->getValue()) & in foldLogOpOfMaskedICmps()
688 ConstantInt *DCst = dyn_cast<ConstantInt>(D); in foldLogOpOfMaskedICmps() local689 if (DCst == 0) return 0; in foldLogOpOfMaskedICmps()701 ECst = dyn_cast<ConstantInt>( ConstantExpr::getXor(DCst, ECst) ); in foldLogOpOfMaskedICmps()703 ConstantExpr::getAnd(ConstantExpr::getAnd(BCst, DCst), in foldLogOpOfMaskedICmps()