reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2012 if (Q.DL.getTypeSizeInBits(CE->getOperand(0)->getType()) <= 2013 Q.DL.getTypeSizeInBits(CE->getType())) 2014 return isKnownNonZero(CE->getOperand(0), Depth, Q); 2042 if (MDNode *Ranges = Q.IIQ.getMetadata(I, LLVMContext::MD_range)) { 2060 if (isa<AllocaInst>(V) && Q.DL.getAllocaAddrSpace() == 0) 2070 if (Q.IIQ.getMetadata(LI, LLVMContext::MD_nonnull)) 2077 return isKnownNonZero(RP, Depth, Q); 2084 if (isKnownNonNullFromDominatingCondition(V, Q.CxtI, Q.DT)) 2084 if (isKnownNonNullFromDominatingCondition(V, Q.CxtI, Q.DT)) 2095 if (isGEPKnownNonNull(GEP, Depth, Q)) 2099 return isKnownNonZero(BCO->getOperand(0), Depth, Q); 2102 if (Q.DL.getTypeSizeInBits(I2P->getSrcTy()) <= 2103 Q.DL.getTypeSizeInBits(I2P->getDestTy())) 2104 return isKnownNonZero(I2P->getOperand(0), Depth, Q); 2110 if (Q.DL.getTypeSizeInBits(P2I->getSrcTy()) <= 2111 Q.DL.getTypeSizeInBits(P2I->getDestTy())) 2112 return isKnownNonZero(P2I->getOperand(0), Depth, Q); 2114 unsigned BitWidth = getBitWidth(V->getType()->getScalarType(), Q.DL); 2119 return isKnownNonZero(X, Depth, Q) || isKnownNonZero(Y, Depth, Q); 2119 return isKnownNonZero(X, Depth, Q) || isKnownNonZero(Y, Depth, Q); 2123 return isKnownNonZero(cast<Instruction>(V)->getOperand(0), Depth, Q); 2130 if (Q.IIQ.hasNoUnsignedWrap(BO)) 2131 return isKnownNonZero(X, Depth, Q); 2134 computeKnownBits(X, Known, Depth, Q); 2144 return isKnownNonZero(X, Depth, Q); 2146 KnownBits Known = computeKnownBits(X, Depth, Q); 2160 return isKnownNonZero(X, Depth, Q); 2165 return isKnownNonZero(X, Depth, Q); 2169 KnownBits XKnown = computeKnownBits(X, Depth, Q); 2170 KnownBits YKnown = computeKnownBits(Y, Depth, Q); 2175 if (isKnownNonZero(X, Depth, Q) || isKnownNonZero(Y, Depth, Q)) 2175 if (isKnownNonZero(X, Depth, Q) || isKnownNonZero(Y, Depth, Q)) 2194 isKnownToBeAPowerOfTwo(Y, /*OrZero*/ false, Depth, Q)) 2197 isKnownToBeAPowerOfTwo(X, /*OrZero*/ false, Depth, Q)) 2205 if ((Q.IIQ.hasNoSignedWrap(BO) || Q.IIQ.hasNoUnsignedWrap(BO)) && 2205 if ((Q.IIQ.hasNoSignedWrap(BO) || Q.IIQ.hasNoUnsignedWrap(BO)) && 2206 isKnownNonZero(X, Depth, Q) && isKnownNonZero(Y, Depth, Q)) 2206 isKnownNonZero(X, Depth, Q) && isKnownNonZero(Y, Depth, Q)) 2211 if (isKnownNonZero(SI->getTrueValue(), Depth, Q) && 2212 isKnownNonZero(SI->getFalseValue(), Depth, Q)) 2227 if (Q.IIQ.UseInstrInfo && 2244 computeKnownBits(V, Known, Depth, Q);