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

References

tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
   37     if (GV.hasInitializer() && !GVsToKeep.count(&GV)) {
   37     if (GV.hasInitializer() && !GVsToKeep.count(&GV)) {
   38       for (auto U : GV.users())
   42       GV.replaceAllUsesWith(UndefValue::get(GV.getType()));
   42       GV.replaceAllUsesWith(UndefValue::get(GV.getType()));
   43       ToRemove.push_back(&GV);