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

References

lib/Analysis/ValueTracking.cpp
  993     computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
  996     Known.One &= Known2.One;
  998     Known.Zero |= Known2.Zero;
 1008       Known2.resetAll();
 1009       computeKnownBits(Y, Known2, Depth + 1, Q);
 1010       if (Known2.countMinTrailingOnes() > 0)
 1017     computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1020     Known.Zero &= Known2.Zero;
 1022     Known.One |= Known2.One;
 1026     computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1029     APInt KnownZeroOut = (Known.Zero & Known2.Zero) | (Known.One & Known2.One);
 1029     APInt KnownZeroOut = (Known.Zero & Known2.Zero) | (Known.One & Known2.One);
 1031     Known.One = (Known.Zero & Known2.One) | (Known.One & Known2.Zero);
 1031     Known.One = (Known.Zero & Known2.One) | (Known.One & Known2.Zero);
 1038                         Known2, Depth, Q);
 1045     computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1046     unsigned LeadZ = Known2.countMinLeadingZeros();
 1048     Known2.resetAll();
 1049     computeKnownBits(I->getOperand(1), Known2, Depth + 1, Q);
 1050     unsigned RHSMaxLeadingZeros = Known2.countMaxLeadingZeros();
 1062       computeKnownBits(LHS, Known2, Depth + 1, Q);
 1065       computeKnownBits(I->getOperand(1), Known2, Depth + 1, Q);
 1072       if (Known.isNegative() && Known2.isNegative())
 1076             std::max(Known.countMinLeadingOnes(), Known2.countMinLeadingOnes());
 1078       else if (Known.isNonNegative() || Known2.isNonNegative())
 1082       if (Known.isNonNegative() && Known2.isNonNegative())
 1086                                 Known2.countMinLeadingZeros());
 1088       else if (Known.isNegative() || Known2.isNegative())
 1094           std::max(Known.countMinLeadingOnes(), Known2.countMinLeadingOnes());
 1099           std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros());
 1110     Known.One &= Known2.One;
 1111     Known.Zero &= Known2.Zero;
 1189     computeKnownBitsFromShiftOperator(I, Known, Known2, Depth, Q, KZF, KOF);
 1205     computeKnownBitsFromShiftOperator(I, Known, Known2, Depth, Q, KZF, KOF);
 1218     computeKnownBitsFromShiftOperator(I, Known, Known2, Depth, Q, KZF, KOF);
 1224                            Known, Known2, Depth, Q);
 1230                            Known, Known2, Depth, Q);
 1238         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1241         Known.Zero = Known2.Zero & LowBits;
 1242         Known.One = Known2.One & LowBits;
 1246         if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero))
 1246         if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero))
 1251         if (Known2.isNegative() && LowBits.intersects(Known2.One))
 1251         if (Known2.isNegative() && LowBits.intersects(Known2.One))
 1261     computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1263     if (Known2.isNonNegative())
 1282     computeKnownBits(I->getOperand(1), Known2, Depth + 1, Q);
 1285         std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros());
 1379           computeKnownBits(R, Known2, Depth + 1, Q);
 1385           Known.Zero.setLowBits(std::min(Known2.countMinTrailingZeros(),
 1400               if (Known2.isNonNegative() && Known3.isNonNegative())
 1402               else if (Known2.isNegative() && Known3.isNegative())
 1409               if (Known2.isNonNegative() && Known3.isNegative())
 1411               else if (Known2.isNegative() && Known3.isNonNegative())
 1416             else if (Opcode == Instruction::Mul && Known2.isNonNegative() &&
 1443         Known2 = KnownBits(BitWidth);
 1446         computeKnownBits(IncValue, Known2, MaxDepth - 1, Q);
 1447         Known.Zero &= Known2.Zero;
 1448         Known.One &= Known2.One;
 1466       computeKnownBits(RV, Known2, Depth + 1, Q);
 1467       Known.Zero |= Known2.Zero;
 1468       Known.One |= Known2.One;
 1474         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1475         Known.Zero |= Known2.Zero.reverseBits();
 1476         Known.One |= Known2.One.reverseBits();
 1479         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1480         Known.Zero |= Known2.Zero.byteSwap();
 1481         Known.One |= Known2.One.byteSwap();
 1484         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1486         unsigned PossibleLZ = Known2.One.countLeadingZeros();
 1495         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1497         unsigned PossibleTZ = Known2.One.countTrailingZeros();
 1506         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1509         unsigned BitsPossiblySet = Known2.countMaxPopulation();
 1528         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1532             Known2.Zero.shl(ShiftAmt) | Known3.Zero.lshr(BitWidth - ShiftAmt);
 1534             Known2.One.shl(ShiftAmt) | Known3.One.lshr(BitWidth - ShiftAmt);
 1541         computeKnownBits(I->getOperand(1), Known2, Depth + 1, Q);
 1549                                   Known2.countMinLeadingOnes());
 1552                                   Known2.countMinLeadingOnes());
 1555             IsAdd, /* NSW */ false, Known, Known2);
 1591                                  II->getArgOperand(1), false, Known, Known2,
 1597                                  II->getArgOperand(1), false, Known, Known2,
 1603                               Known, Known2, Depth, Q);