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

Declarations

lib/Transforms/InstCombine/InstCombineInternal.h
  835   bool SimplifyDemandedBits(Instruction *I, unsigned Op,

References

lib/Transforms/InstCombine/InstCombineCalls.cpp
 2006     if (SimplifyDemandedBits(II, 2, Op2Demanded, Op2Known))
 3319     if (SimplifyDemandedBits(II, CarryOp, APInt::getOneBitSet(32, 29),
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4941   if (SimplifyDemandedBits(&I, 0,
 4946   if (SimplifyDemandedBits(&I, 1, APInt::getAllOnesValue(BitWidth),
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  167     if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) ||
  168         SimplifyDemandedBits(I, 0, DemandedMask & ~RHSKnown.Zero, LHSKnown,
  201     if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) ||
  202         SimplifyDemandedBits(I, 0, DemandedMask & ~RHSKnown.One, LHSKnown,
  234     if (SimplifyDemandedBits(I, 1, DemandedMask, RHSKnown, Depth + 1) ||
  235         SimplifyDemandedBits(I, 0, DemandedMask, LHSKnown, Depth + 1))
  344     if (SimplifyDemandedBits(I, 2, DemandedMask, RHSKnown, Depth + 1) ||
  345         SimplifyDemandedBits(I, 1, DemandedMask, LHSKnown, Depth + 1))
  366     if (SimplifyDemandedBits(I, 0, InputDemandedMask, InputKnown, Depth + 1))
  391     if (SimplifyDemandedBits(I, 0, DemandedMask, Known, Depth + 1))
  407     if (SimplifyDemandedBits(I, 0, InputDemandedBits, InputKnown, Depth + 1))
  434         SimplifyDemandedBits(I, 0, DemandedFromOps, LHSKnown, Depth + 1) ||
  436         SimplifyDemandedBits(I, 1, DemandedFromOps, RHSKnown, Depth + 1)) {
  485       if (SimplifyDemandedBits(I, 0, DemandedMaskIn, Known, Depth + 1))
  509       if (SimplifyDemandedBits(I, 0, DemandedMaskIn, Known, Depth + 1))
  552       if (SimplifyDemandedBits(I, 0, DemandedMaskIn, Known, Depth + 1))
  591       if (SimplifyDemandedBits(I, 0, DemandedMaskIn, LHSKnown, Depth + 1))
  613         if (SimplifyDemandedBits(I, 0, Mask2, LHSKnown, Depth + 1))
  647     if (SimplifyDemandedBits(I, 0, AllOnes, Known2, Depth + 1) ||
  648         SimplifyDemandedBits(I, 1, AllOnes, Known2, Depth + 1))
  705         if (SimplifyDemandedBits(I, 0, DemandedMaskLHS, LHSKnown, Depth + 1) ||
  706             SimplifyDemandedBits(I, 1, DemandedMaskRHS, RHSKnown, Depth + 1))