Lines Matching refs:BCst

342   const APInt *BCst, *CCst, *DCst, *OrigECst;  in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()  local
343 if (!match(B, m_APInt(BCst)) || !match(C, m_APInt(CCst)) || in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
359 if (*BCst == 0 || *DCst == 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
366 if ((*BCst & *DCst) == 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
385 if ((((*BCst & *DCst) & ECst) == 0) && in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
386 (*BCst & (*BCst ^ *DCst)).isPowerOf2()) { in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
387 APInt BorD = *BCst | *DCst; in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
388 APInt BandBxorDorE = (*BCst & (*BCst ^ *DCst)) | ECst; in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
408 if (!IsSubSetOrEqual(BCst, DCst) && !IsSuperSetOrEqual(BCst, DCst)) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
420 if (IsSubSetOrEqual(BCst, DCst)) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
431 if (IsSuperSetOrEqual(BCst, DCst)) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
436 assert(IsSubSetOrEqual(BCst, DCst) && "Precondition due to above code"); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
437 if ((*BCst & ECst) != 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
949 const APInt *BCst, *DCst, *ECst; in foldNegativePower2AndShiftedMask() local
950 return match(B, m_APIntAllowUndef(BCst)) && match(D, m_APInt(DCst)) && in foldNegativePower2AndShiftedMask()
953 (BCst->countLeadingOnes() == DCst->countLeadingZeros())); in foldNegativePower2AndShiftedMask()