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

References

include/llvm/ADT/APInt.h
 1478     *this &= Keep;
 1992   a &= b;
 1997   b &= a;
include/llvm/ADT/APSInt.h
  240     static_cast<APInt&>(*this) &= RHS;
lib/Analysis/ConstantFolding.cpp
  736     Known0.One &= Known1.One;
lib/Analysis/DemandedBits.cpp
  242       AB &= ~Known2.Zero;
  244       AB &= ~(Known.Zero & ~Known2.Zero);
  255       AB &= ~Known2.One;
  257       AB &= ~(Known.One & ~Known2.One);
lib/Analysis/ValueTracking.cpp
  459     Known.One &= Range.getUnsignedMax() & Mask;
  460     Known.Zero &= ~Range.getUnsignedMax() & Mask;
  968     Known.Zero &= KZF(Known2.Zero, ShiftAmt);
  969     Known.One  &= KOF(Known2.One, ShiftAmt);
  996     Known.One &= Known2.One;
 1020     Known.Zero &= Known2.Zero;
 1110     Known.One &= Known2.One;
 1111     Known.Zero &= Known2.Zero;
 1274         Known.One &= LowBits;
 1447         Known.Zero &= Known2.Zero;
 1448         Known.One &= Known2.One;
 1671       Known.Zero &= ~Elt;
 1672       Known.One &= Elt;
 1689       Known.Zero &= ~Elt;
 1690       Known.One &= Elt;
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
  218     Known.One &= Known2.One;
  231     Known.Zero &= Known2.Zero;
  266     Known.One &= Known2.One;
  267     Known.Zero &= Known2.Zero;
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 5172             Constant &= SplatValue.extractBits(EltBitWidth, i * EltBitWidth);
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  476       DestLOI.Known.Zero &= ~Val;
  477       DestLOI.Known.One &= Val;
  494     DestLOI.Known.Zero &= SrcLOI->Known.Zero;
  495     DestLOI.Known.One &= SrcLOI->Known.One;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2483       Known.One &= Known2.One;
 2484       Known.Zero &= Known2.Zero;
 2521       Known.One &= Known2.One;
 2522       Known.Zero &= Known2.Zero;
 2530       Known.One &= Known2.One;
 2531       Known.Zero &= Known2.Zero;
 2547         Known.One &= Known2.One;
 2548         Known.Zero &= Known2.Zero;
 2577         Known.One &= Known2.One;
 2578         Known.Zero &= Known2.Zero;
 2585       Known.One &= Known2.One;
 2586       Known.Zero &= Known2.Zero;
 2678           Known.One &= Known2.One.lshr(Offset).trunc(BitWidth);
 2679           Known.Zero &= Known2.Zero.lshr(Offset).trunc(BitWidth);
 2693     Known.One &= Known2.One;
 2702     Known.Zero &= Known2.Zero;
 2760     Known.One &= Known2.One;
 2761     Known.Zero &= Known2.Zero;
 2771     Known.One &= Known2.One;
 2772     Known.Zero &= Known2.Zero;
 2877     Known.One &= InputDemandedBits;
 2878     Known.Zero &= InputDemandedBits;
 2884       Known.One  &= ~NewBits;
 2887       Known.Zero &= ~NewBits;
 2889       Known.Zero &= ~NewBits;
 2890       Known.One  &= ~NewBits;
 2945                 Known.One &= Value;
 2946                 Known.Zero &= ~Value;
 2951                 Known.One &= Value;
 2952                 Known.Zero &= ~Value;
 3026     Known.One  &= (~Known.Zero);
 3190         Known.One &= Known2.One.zextOrTrunc(Known.One.getBitWidth());
 3191         Known.Zero &= Known2.Zero.zextOrTrunc(Known.Zero.getBitWidth());
 3199         Known.One &= Known2.One;
 3200         Known.Zero &= Known2.Zero;
 3206       Known.One &= Known2.One.zextOrTrunc(Known.One.getBitWidth());
 3207       Known.Zero &= Known2.Zero.zextOrTrunc(Known.Zero.getBitWidth());
 3251     Known.Zero &= Known2.Zero;
 3252     Known.One &= Known2.One;
 3265     Known.Zero &= Known2.Zero;
 3266     Known.One &= Known2.One;
 3305     Known.Zero &= Known2.Zero;
 3306     Known.One &= Known2.One;
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  868       Known.One &= KnownVec.One;
  869       Known.Zero &= KnownVec.Zero;
  904         Known.One &= KnownSub.One;
  905         Known.Zero &= KnownSub.Zero;
  908         Known.One &= KnownBase.One;
  909         Known.Zero &= KnownBase.Zero;
  942         Known.One &= Known2.One;
  943         Known.Zero &= Known2.Zero;
  982         Known.One &= Known2.One;
  983         Known.Zero &= Known2.Zero;
  989         Known.One &= Known2.One;
  990         Known.Zero &= Known2.Zero;
 1080     Known.One &= Known2.One;
 1126     Known.Zero &= Known2.Zero;
 1224     Known.One &= Known2.One;
 1225     Known.Zero &= Known2.Zero;
 1242     Known.One &= Known2.One;
 1243     Known.Zero &= Known2.Zero;
 1591       Known.Zero &= Mask;
 1593       Known.Zero &= Mask;
 1594       Known.One &= Mask;
 2532     KnownUndef &= SrcUndef;
 2533     KnownUndef &= ~KnownZero;
lib/Support/APInt.cpp
  572   Result &= *this;
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
 1904   UsefulBits &= APInt(UsefulBits.getBitWidth(), Imm);
 1932   UsefulBits &= OpUsefulBits;
 1970   UsefulBits &= Mask;
 2025   UsefulBits &= Mask;
 2064     UsefulBits &= APInt(UsefulBits.getBitWidth(), 0xff);
 2071     UsefulBits &= APInt(UsefulBits.getBitWidth(), 0xffff);
 2097   UsefulBits &= UsersUsefulBits;
lib/Target/AArch64/AArch64ISelLowering.cpp
 1062     Known.Zero &= Known2.Zero;
 1063     Known.One &= Known2.One;
lib/Target/ARM/ARMISelLowering.cpp
15410     Known.Zero &= KnownRHS.Zero;
15411     Known.One  &= KnownRHS.One;
15437     Known.Zero &= Mask;
15438     Known.One &= Mask;
lib/Target/Lanai/LanaiISelLowering.cpp
 1503     Known.Zero &= Known2.Zero;
 1504     Known.One &= Known2.One;
lib/Target/Sparc/SparcISelLowering.cpp
 1873     Known.One &= Known2.One;
 1874     Known.Zero &= Known2.Zero;
lib/Target/X86/X86ISelDAGToDAG.cpp
 3811     NeededMask &= ~Cst->getAPIntValue();
lib/Target/X86/X86ISelLowering.cpp
31557       Known.One &= Known2.One;
31558       Known.Zero &= Known2.Zero;
31562       Known.One &= Known2.One;
31563       Known.Zero &= Known2.Zero;
31577     Known.One &= Known2.Zero;
31587     Known.Zero &= Known2.Zero;
31609     Known.One &= Known2.One;
31610     Known.Zero &= Known2.Zero;
31659           Known.One &= Known2.One;
31660           Known.Zero &= Known2.Zero;
35043         IdentityOp &= APInt::getOneBitSet(NumOps, Op);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  922   Known.Zero &= DemandedMask;
 1724     UndefElts &= UndefElts2;
tools/clang/lib/CodeGen/CGExprConstant.cpp
  241       BitsThisChar &= UpdateMask;
tools/lldb/source/Utility/Scalar.cpp
 2008       m_integer &= rhs.m_integer;
unittests/Support/KnownBitsTest.cpp
   66               Known.One &= Add;
   67               Known.Zero &= ~Add;
  100           Known.One &= Res;
  101           Known.Zero &= ~Res;
  104             KnownNSW.One &= Res;
  105             KnownNSW.Zero &= ~Res;