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

References

lib/IR/Value.cpp
  467   if (!V->getType()->isPointerTy())
  468     return V;
  474   Visited.insert(V);
  476     if (auto *GEP = dyn_cast<GEPOperator>(V)) {
  483           return V;
  487           return V;
  491           return V;
  494       V = GEP->getPointerOperand();
  495     } else if (Operator::getOpcode(V) == Instruction::BitCast) {
  496       V = cast<Operator>(V)->getOperand(0);
  496       V = cast<Operator>(V)->getOperand(0);
  498                Operator::getOpcode(V) == Instruction::AddrSpaceCast) {
  501       V = cast<Operator>(V)->getOperand(0);
  501       V = cast<Operator>(V)->getOperand(0);
  502     } else if (StripKind == PSK_ZeroIndicesAndAliases && isa<GlobalAlias>(V)) {
  503       V = cast<GlobalAlias>(V)->getAliasee();
  503       V = cast<GlobalAlias>(V)->getAliasee();
  505       if (const auto *Call = dyn_cast<CallBase>(V)) {
  507           V = RV;
  516           V = Call->getArgOperand(0);
  520       return V;
  522     assert(V->getType()->isPointerTy() && "Unexpected operand type!");
  523   } while (Visited.insert(V).second);
  525   return V;