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

References

lib/Analysis/ValueTracking.cpp
  983   switch (I->getOpcode()) {
  987             Q.IIQ.getMetadata(cast<LoadInst>(I), LLVMContext::MD_range))
  992     computeKnownBits(I->getOperand(1), Known, Depth + 1, Q);
  993     computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1007         match(I, m_c_BinOp(m_Value(X), m_Add(m_Deferred(X), m_Value(Y))))) {
 1016     computeKnownBits(I->getOperand(1), Known, Depth + 1, Q);
 1017     computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1025     computeKnownBits(I->getOperand(1), Known, Depth + 1, Q);
 1026     computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1036     bool NSW = Q.IIQ.hasNoSignedWrap(cast<OverflowingBinaryOperator>(I));
 1037     computeKnownBitsMul(I->getOperand(0), I->getOperand(1), NSW, Known,
 1037     computeKnownBitsMul(I->getOperand(0), I->getOperand(1), NSW, Known,
 1045     computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1049     computeKnownBits(I->getOperand(1), Known2, Depth + 1, Q);
 1059     SelectPatternFlavor SPF = matchSelectPattern(I, LHS, RHS).Flavor;
 1064       computeKnownBits(I->getOperand(2), Known, Depth + 1, Q);
 1065       computeKnownBits(I->getOperand(1), Known2, Depth + 1, Q);
 1131     Type *SrcTy = I->getOperand(0)->getType();
 1143     computeKnownBits(I->getOperand(0), Known, Depth + 1, Q);
 1148     Type *SrcTy = I->getOperand(0)->getType();
 1152         !I->getType()->isVectorTy()) {
 1153       computeKnownBits(I->getOperand(0), Known, Depth + 1, Q);
 1160     unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits();
 1163     computeKnownBits(I->getOperand(0), Known, Depth + 1, Q);
 1171     bool NSW = Q.IIQ.hasNoSignedWrap(cast<OverflowingBinaryOperator>(I));
 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);
 1222     bool NSW = Q.IIQ.hasNoSignedWrap(cast<OverflowingBinaryOperator>(I));
 1223     computeKnownBitsAddSub(false, I->getOperand(0), I->getOperand(1), NSW,
 1223     computeKnownBitsAddSub(false, I->getOperand(0), I->getOperand(1), NSW,
 1228     bool NSW = Q.IIQ.hasNoSignedWrap(cast<OverflowingBinaryOperator>(I));
 1229     computeKnownBitsAddSub(true, I->getOperand(0), I->getOperand(1), NSW,
 1229     computeKnownBitsAddSub(true, I->getOperand(0), I->getOperand(1), NSW,
 1234     if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) {
 1238         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1261     computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1268     if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) {
 1272         computeKnownBits(I->getOperand(0), Known, Depth + 1, Q);
 1281     computeKnownBits(I->getOperand(0), Known, Depth + 1, Q);
 1282     computeKnownBits(I->getOperand(1), Known2, Depth + 1, Q);
 1292     const AllocaInst *AI = cast<AllocaInst>(I);
 1305     computeKnownBits(I->getOperand(0), LocalKnown, Depth + 1, Q);
 1308     gep_type_iterator GTI = gep_type_begin(I);
 1309     for (unsigned i = 1, e = I->getNumOperands(); i != e; ++i, ++GTI) {
 1310       Value *Index = I->getOperand(i);
 1348     const PHINode *P = cast<PHINode>(I);
 1371           if (LL == I)
 1373           else if (LR == I)
 1408             else if (Opcode == Instruction::Sub && LL == I) {
 1463             Q.IIQ.getMetadata(cast<Instruction>(I), LLVMContext::MD_range))
 1465     if (const Value *RV = ImmutableCallSite(I).getReturnedArgOperand()) {
 1470     if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
 1474         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1479         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1484         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1495         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1506         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1519         if (!match(I->getOperand(2), m_APInt(SA)))
 1528         computeKnownBits(I->getOperand(0), Known2, Depth + 1, Q);
 1529         computeKnownBits(I->getOperand(1), Known3, Depth + 1, Q);
 1540         computeKnownBits(I->getOperand(0), Known, Depth + 1, Q);
 1541         computeKnownBits(I->getOperand(1), Known2, Depth + 1, Q);
 1579     computeKnownBits(I->getOperand(0), Known, Depth + 1, Q);
 1582     if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I->getOperand(0))) {
 1583       const ExtractValueInst *EVI = cast<ExtractValueInst>(I);