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

References

include/llvm/Transforms/Utils/GlobalStatus.h
   79   static bool analyzeGlobal(const Value *V, GlobalStatus &GS);
lib/Transforms/IPO/GlobalOpt.cpp
 1923 processInternalGlobal(GlobalVariable *GV, const GlobalStatus &GS,
 1989   if (GS.StoredType <= GlobalStatus::InitializerStored) {
 2018   if (GS.StoredType == GlobalStatus::StoredOnce && GS.StoredOnceValue) {
 2071   GlobalStatus GS;
 2073   if (GlobalStatus::analyzeGlobal(&GV, GS))
lib/Transforms/Utils/GlobalStatus.cpp
   61 static bool analyzeGlobalAux(const Value *V, GlobalStatus &GS,
   65       GS.StoredType = GlobalStatus::StoredOnce;
  108         if (GS.StoredType != GlobalStatus::Stored) {
  121               if (GS.StoredType < GlobalStatus::InitializerStored)
  122                 GS.StoredType = GlobalStatus::InitializerStored;
  125               if (GS.StoredType < GlobalStatus::InitializerStored)
  126                 GS.StoredType = GlobalStatus::InitializerStored;
  127             } else if (GS.StoredType < GlobalStatus::StoredOnce) {
  128               GS.StoredType = GlobalStatus::StoredOnce;
  130             } else if (GS.StoredType == GlobalStatus::StoredOnce &&
  134               GS.StoredType = GlobalStatus::Stored;
  137             GS.StoredType = GlobalStatus::Stored;
  159           GS.StoredType = GlobalStatus::Stored;
  166         GS.StoredType = GlobalStatus::Stored;
  191 bool GlobalStatus::analyzeGlobal(const Value *V, GlobalStatus &GS) {