Home
last modified time | relevance | path

Searched refs:GlobalStatus (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DGlobalStatus.cpp62 static bool analyzeGlobalAux(const Value *V, GlobalStatus &GS, in analyzeGlobalAux()
66 GS.StoredType = GlobalStatus::StoredOnce; in analyzeGlobalAux()
109 if (GS.StoredType != GlobalStatus::Stored) { in analyzeGlobalAux()
122 if (GS.StoredType < GlobalStatus::InitializerStored) in analyzeGlobalAux()
123 GS.StoredType = GlobalStatus::InitializerStored; in analyzeGlobalAux()
126 if (GS.StoredType < GlobalStatus::InitializerStored) in analyzeGlobalAux()
127 GS.StoredType = GlobalStatus::InitializerStored; in analyzeGlobalAux()
128 } else if (GS.StoredType < GlobalStatus::StoredOnce) { in analyzeGlobalAux()
129 GS.StoredType = GlobalStatus::StoredOnce; in analyzeGlobalAux()
131 } else if (GS.StoredType == GlobalStatus::StoredOnce && in analyzeGlobalAux()
[all …]
DCMakeLists.txt20 GlobalStatus.cpp
/external/llvm/lib/Transforms/Utils/
DGlobalStatus.cpp50 static bool analyzeGlobalAux(const Value *V, GlobalStatus &GS, in analyzeGlobalAux()
54 GS.StoredType = GlobalStatus::StoredOnce; in analyzeGlobalAux()
96 if (GS.StoredType != GlobalStatus::Stored) { in analyzeGlobalAux()
109 if (GS.StoredType < GlobalStatus::InitializerStored) in analyzeGlobalAux()
110 GS.StoredType = GlobalStatus::InitializerStored; in analyzeGlobalAux()
113 if (GS.StoredType < GlobalStatus::InitializerStored) in analyzeGlobalAux()
114 GS.StoredType = GlobalStatus::InitializerStored; in analyzeGlobalAux()
115 } else if (GS.StoredType < GlobalStatus::StoredOnce) { in analyzeGlobalAux()
116 GS.StoredType = GlobalStatus::StoredOnce; in analyzeGlobalAux()
118 } else if (GS.StoredType == GlobalStatus::StoredOnce && in analyzeGlobalAux()
[all …]
DCMakeLists.txt17 GlobalStatus.cpp
/external/llvm/include/llvm/Transforms/Utils/
DGlobalStatus.h28 struct GlobalStatus { struct
76 static bool analyzeGlobal(const Value *V, GlobalStatus &GS);
78 GlobalStatus();
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DGlobalStatus.h30 struct GlobalStatus { struct
75 GlobalStatus(); argument
80 static bool analyzeGlobal(const Value *V, GlobalStatus &GS);
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1811 GlobalVariable *GV, const GlobalStatus &GS, TargetLibraryInfo *TLI, in processInternalGlobal()
1873 if (GS.StoredType <= GlobalStatus::InitializerStored) { in processInternalGlobal()
1897 if (GS.StoredType == GlobalStatus::StoredOnce && GS.StoredOnceValue) { in processInternalGlobal()
1948 GlobalStatus GS; in processGlobal()
1950 if (GlobalStatus::analyzeGlobal(&GV, GS)) in processGlobal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1901 GlobalVariable *GV, const GlobalStatus &GS, TargetLibraryInfo *TLI, in processInternalGlobal()
1965 if (GS.StoredType <= GlobalStatus::InitializerStored) { in processInternalGlobal()
1989 if (GS.StoredType == GlobalStatus::StoredOnce && GS.StoredOnceValue) { in processInternalGlobal()
2040 GlobalStatus GS; in processGlobal()
2042 if (GlobalStatus::analyzeGlobal(&GV, GS)) in processGlobal()