reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  457   if (!BCst)
  480   if (BCst->getValue() == 0 || DCst->getValue() == 0)
  487   if ((BCst->getValue() & DCst->getValue()) == 0)
  506   if ((((BCst->getValue() & DCst->getValue()) & ECst->getValue()) == 0) &&
  507       (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())).isPowerOf2()) {
  507       (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())).isPowerOf2()) {
  508     APInt BorD = BCst->getValue() | DCst->getValue();
  509     APInt BandBxorDorE = (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())) |
  509     APInt BandBxorDorE = (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())) |
  511     Value *NewMask = ConstantInt::get(BCst->getType(), BorD);
  512     Value *NewMaskedValue = ConstantInt::get(BCst->getType(), BandBxorDorE);
  530   if (!IsSubSetOrEqual(BCst, DCst) && !IsSuperSetOrEqual(BCst, DCst))
  530   if (!IsSubSetOrEqual(BCst, DCst) && !IsSuperSetOrEqual(BCst, DCst))
  542     if (IsSubSetOrEqual(BCst, DCst))
  553   if (IsSuperSetOrEqual(BCst, DCst))
  558   assert(IsSubSetOrEqual(BCst, DCst) && "Precondition due to above code");
  559   if ((BCst->getValue() & ECst->getValue()) != 0)