Home
last modified time | relevance | path

Searched refs:GlobalInits (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceThreading.cpp23 : Sequence(Seq), Kind(WI_Nop), GlobalInits(nullptr), Function(nullptr), in EmitterWorkItem()
27 : Sequence(Seq), Kind(WI_GlobalInits), GlobalInits(std::move(D)), in EmitterWorkItem()
30 : Sequence(Seq), Kind(WI_Asm), GlobalInits(nullptr), Function(std::move(A)), in EmitterWorkItem()
33 : Sequence(Seq), Kind(WI_Cfg), GlobalInits(nullptr), Function(nullptr), in EmitterWorkItem()
39 GlobalInits = std::move(GloblInits); in setGlobalInits()
45 return std::move(GlobalInits); in getGlobalInits()
DIceCfg.h148 return std::move(GlobalInits); in getGlobalInits()
151 if (GlobalInits == nullptr) { in addGlobal()
152 GlobalInits.reset(new VariableDeclarationList); in addGlobal()
154 GlobalInits->push_back(Global); in addGlobal()
157 if (GlobalInits == nullptr) { in getGlobalPool()
158 GlobalInits.reset(new VariableDeclarationList); in getGlobalPool()
160 return GlobalInits.get(); in getGlobalPool()
339 std::unique_ptr<VariableDeclarationList> GlobalInits; variable
DIceCfg.cpp154 auto *Var = VariableDeclaration::create(GlobalInits.get()); in createNodeNameDeclaration()
158 GlobalInits.get(), NodeAsmName.data(), NodeAsmName.size() + 1)); in createNodeNameDeclaration()
161 GlobalInits->push_back(Var); in createNodeNameDeclaration()
166 auto *Var = VariableDeclaration::create(GlobalInits.get()); in createBlockProfilingInfoDeclaration()
170 GlobalInits.get(), Int64ByteSize)); in createBlockProfilingInfoDeclaration()
174 GlobalInits.get(), NodeNameDeclaration, in createBlockProfilingInfoDeclaration()
177 GlobalInits->push_back(Var); in createBlockProfilingInfoDeclaration()
181 if (GlobalInits == nullptr) in profileBlocks()
182 GlobalInits.reset(new VariableDeclarationList()); in profileBlocks()
187 createBlockProfilingInfoDeclaration(NodeAsmName, GlobalInits->back()); in profileBlocks()
[all …]
DIceThreading.h194 std::unique_ptr<VariableDeclarationList> GlobalInits; variable
DIceASanInstrumentation.cpp130 std::vector<VariableDeclaration::Initializer *> GlobalInits = in instrumentGlobals() local
132 for (VariableDeclaration::Initializer *Init : GlobalInits) { in instrumentGlobals()
DIceGlobalContext.cpp437 std::unique_ptr<VariableDeclarationList> GlobalInits = in translateFunctions() local
441 Item->setGlobalInits(std::move(GlobalInits)); in translateFunctions()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp499 std::vector<Constant *> GlobalInits; in buildBitSetsFromGlobalVariables() local
502 GlobalInits.push_back(G->getInitializer()); in buildBitSetsFromGlobalVariables()
513 GlobalInits.push_back( in buildBitSetsFromGlobalVariables()
516 if (!GlobalInits.empty()) in buildBitSetsFromGlobalVariables()
517 GlobalInits.pop_back(); in buildBitSetsFromGlobalVariables()
518 Constant *NewInit = ConstantStruct::getAnon(M->getContext(), GlobalInits); in buildBitSetsFromGlobalVariables()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.h139 std::vector<std::pair<GlobalVariable*, unsigned> > GlobalInits; variable
DBitcodeReader.cpp1165 GlobalInitWorklist.swap(GlobalInits); in ResolveGlobalAndAliasInits()
1172 GlobalInits.push_back(GlobalInitWorklist.back()); in ResolveGlobalAndAliasInits()
1558 if (!GlobalInits.empty() || !AliasInits.empty()) in ParseModule()
1579 std::vector<std::pair<GlobalVariable*, unsigned> >().swap(GlobalInits); in ParseModule()
1742 GlobalInits.push_back(std::make_pair(NewGV, InitID-1)); in ParseModule()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp207 std::vector<std::pair<GlobalVariable*, unsigned> > GlobalInits; member in __anon8e406d270111::BitcodeReader
2780 GlobalInitWorklist.swap(GlobalInits); in resolveGlobalAndIndirectSymbolInits()
2790 GlobalInits.push_back(GlobalInitWorklist.back()); in resolveGlobalAndIndirectSymbolInits()
3445 if (!GlobalInits.empty() || !IndirectSymbolInits.empty()) in globalCleanup()
3466 std::vector<std::pair<GlobalVariable*, unsigned> >().swap(GlobalInits); in globalCleanup()
3850 GlobalInits.push_back(std::make_pair(NewGV, InitID-1)); in parseModule()