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

References

lib/Analysis/ValueTracking.cpp
 2001   if (auto *C = dyn_cast<Constant>(V)) {
 2033     if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
 2041   if (auto *I = dyn_cast<Instruction>(V)) {
 2045       if (auto *Ty = dyn_cast<IntegerType>(V->getType())) {
 2058   if (V->getType()->isPointerTy()) {
 2060     if (isa<AllocaInst>(V) && Q.DL.getAllocaAddrSpace() == 0)
 2064     if (const Argument *A = dyn_cast<Argument>(V))
 2069     if (const LoadInst *LI = dyn_cast<LoadInst>(V))
 2073     if (const auto *Call = dyn_cast<CallBase>(V)) {
 2083   if (V->getType()->isPointerTy()) {
 2084     if (isKnownNonNullFromDominatingCondition(V, Q.CxtI, Q.DT))
 2094     if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V))
 2098     if (auto *BCO = dyn_cast<BitCastOperator>(V))
 2101     if (auto *I2P = dyn_cast<IntToPtrInst>(V))
 2109   if (auto *P2I = dyn_cast<PtrToIntInst>(V))
 2114   unsigned BitWidth = getBitWidth(V->getType()->getScalarType(), Q.DL);
 2118   if (match(V, m_Or(m_Value(X), m_Value(Y))))
 2122   if (isa<SExtInst>(V) || isa<ZExtInst>(V))
 2122   if (isa<SExtInst>(V) || isa<ZExtInst>(V))
 2123     return isKnownNonZero(cast<Instruction>(V)->getOperand(0), Depth, Q);
 2127   if (match(V, m_Shl(m_Value(X), m_Value(Y)))) {
 2129     const OverflowingBinaryOperator *BO = cast<OverflowingBinaryOperator>(V);
 2140   else if (match(V, m_Shr(m_Value(X), m_Value(Y)))) {
 2142     const PossiblyExactOperator *BO = cast<PossiblyExactOperator>(V);
 2164   else if (match(V, m_Exact(m_IDiv(m_Value(X), m_Value())))) {
 2168   else if (match(V, m_Add(m_Value(X), m_Value(Y)))) {
 2201   else if (match(V, m_Mul(m_Value(X), m_Value(Y)))) {
 2202     const OverflowingBinaryOperator *BO = cast<OverflowingBinaryOperator>(V);
 2210   else if (const SelectInst *SI = dyn_cast<SelectInst>(V)) {
 2216   else if (const PHINode *PN = dyn_cast<PHINode>(V)) {
 2244   computeKnownBits(V, Known, Depth, Q);