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

References

lib/Analysis/ValueTracking.cpp
 3716   if (!V->getType()->isPointerTy())
 3717     return V;
 3719     if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) {
 3720       V = GEP->getPointerOperand();
 3721     } else if (Operator::getOpcode(V) == Instruction::BitCast ||
 3722                Operator::getOpcode(V) == Instruction::AddrSpaceCast) {
 3723       V = cast<Operator>(V)->getOperand(0);
 3723       V = cast<Operator>(V)->getOperand(0);
 3724     } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
 3726         return V;
 3727       V = GA->getAliasee();
 3728     } else if (isa<AllocaInst>(V)) {
 3730       return V;
 3732       if (auto *Call = dyn_cast<CallBase>(V)) {
 3743           V = RP;
 3749       if (Instruction *I = dyn_cast<Instruction>(V))
 3752           V = Simplified;
 3756       return V;
 3758     assert(V->getType()->isPointerTy() && "Unexpected operand type!");
 3760   return V;