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

References

lib/IR/Value.cpp
  565     if (auto *GEP = dyn_cast<GEPOperator>(V)) {
  568         return V;
  576       APInt GEPOffset(DL.getIndexTypeSizeInBits(V->getType()), 0);
  578         return V;
  584         return V;
  587       V = GEP->getPointerOperand();
  588     } else if (Operator::getOpcode(V) == Instruction::BitCast ||
  589                Operator::getOpcode(V) == Instruction::AddrSpaceCast) {
  590       V = cast<Operator>(V)->getOperand(0);
  590       V = cast<Operator>(V)->getOperand(0);
  591     } else if (auto *GA = dyn_cast<GlobalAlias>(V)) {
  593         V = GA->getAliasee();
  594     } else if (const auto *Call = dyn_cast<CallBase>(V)) {
  596           V = RV;
  598     assert(V->getType()->isPtrOrPtrVectorTy() && "Unexpected operand type!");
  599   } while (Visited.insert(V).second);
  601   return V;