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

References

lib/Transforms/IPO/GlobalSplit.cpp
   43   if (!GV.hasLocalLinkage())
   47   auto *Init = dyn_cast_or_null<ConstantStruct>(GV.getInitializer());
   55   for (User *U : GV.users()) {
   68   GV.getMetadata(LLVMContext::MD_type, Types);
   70   const DataLayout &DL = GV.getParent()->getDataLayout();
   73   IntegerType *Int32Ty = Type::getInt32Ty(GV.getContext());
   79         new GlobalVariable(*GV.getParent(), Init->getOperand(I)->getType(),
   80                            GV.isConstant(), GlobalValue::PrivateLinkage,
   81                            Init->getOperand(I), GV.getName() + "." + utostr(I));
  108           *MDNode::get(GV.getContext(),
  115   for (User *U : GV.users()) {
  134   if (!GV.use_empty())
  135     GV.replaceAllUsesWith(UndefValue::get(GV.getType()));
  135     GV.replaceAllUsesWith(UndefValue::get(GV.getType()));
  136   GV.eraseFromParent();