Home
last modified time | relevance | path

Searched full:initfunctions (Results 1 – 15 of 15) sorted by relevance

/llvm-project/llvm/test/ObjectYAML/wasm/
H A Dlinking_section.yaml49 InitFunctions:
68 # CHECK-NEXT: InitFunctions:
/llvm-project/llvm/tools/llvm-readobj/
H A DWasmDumper.cpp167 if (!LinkingData.InitFunctions.empty()) { in printSectionHeaders()
168 ListScope Group(W, "InitFunctions"); in printSectionHeaders()
169 for (const wasm::WasmInitFunc &F : LinkingData.InitFunctions) in printSectionHeaders()
/llvm-project/lld/wasm/
H A DSyntheticSections.h352 LinkingSection(const std::vector<WasmInitEntry> &initFunctions,
355 initFunctions(initFunctions), dataSegments(dataSegments) {}
365 const std::vector<WasmInitEntry> &initFunctions;
H A DMarkLive.cpp92 for (const WasmInitFunc &f : l.InitFunctions) { in enqueueInitFunctions()
222 for (const WasmInitFunc &f : l.InitFunctions) { in isCallCtorsLive()
H A DWriter.cpp115 std::vector<WasmInitEntry> initFunctions; member in lld::wasm::__anon6c9455020111::Writer
882 if (initFunctions.empty() && WasmSym::callDtors == nullptr) in createCommandExportWrappers()
1540 if (!WasmSym::callCtors->isLive() && initFunctions.empty()) in createCallCtorsFunction()
1550 for (const WasmInitEntry &f : initFunctions) {
1655 // Populate InitFunctions vector with init functions from all input objects. in calculateInitFunctions()
1664 for (const WasmInitFunc &f : l.InitFunctions) { in calculateInitFunctions()
1671 LLVM_DEBUG(dbgs() << "initFunctions: " << toString(*sym) << "\n"); in createSyntheticSections()
1672 initFunctions.emplace_back(WasmInitEntry{sym, f.Priority}); in createSyntheticSections()
1678 llvm::stable_sort(initFunctions, in createSyntheticSections()
1703 out.linkingSec = make<LinkingSection>(initFunctions, segment in run()
[all...]
H A DSyntheticSections.cpp698 if (!initFunctions.empty()) { in writeBody()
700 writeUleb128(sub.os, initFunctions.size(), "num init functions"); in writeBody()
701 for (const WasmInitEntry &f : initFunctions) { in writeBody()
/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLLJIT.cpp217 // will trigger a lookup to materialize the module) and the InitFunctions in notifyAdding()
223 InitFunctions[&JD].add(KV.first); in notifyAdding()
275 InitFunctions[&JD].add(InitName); in registerDeInitFunc()
299 auto IFItr = InitFunctions.find(NextJD.get()); in getInitializers()
300 if (IFItr != InitFunctions.end()) { in getInitializers()
302 InitFunctions.erase(IFItr); in getInitializers()
492 DenseMap<JITDylib *, SymbolLookupSet> InitFunctions; in setupJITDylib()
487 DenseMap<JITDylib *, SymbolLookupSet> InitFunctions; global() member in __anon531b824e0111::GenericLLVMIRPlatformSupport
/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp243 if (Section.InitFunctions.size()) { in writeSectionContent()
245 encodeULEB128(Section.InitFunctions.size(), SubSection.getStream()); in writeSectionContent()
246 for (const WasmYAML::InitFunction &Func : Section.InitFunctions) { in writeSectionContent()
H A DWasmYAML.cpp78 IO.mapOptional("InitFunctions", Section.InitFunctions); in sectionMapping()
/llvm-project/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp151 for (const wasm::WasmInitFunc &Func : Obj.linkingData().InitFunctions) { in dumpCustomSection()
153 LinkingSec->InitFunctions.emplace_back(F); in dumpCustomSection()
/llvm-project/lld/test/wasm/
H A Dinit-fini.ll140 ; RELOC-NEXT: InitFunctions [
/llvm-project/llvm/test/MC/WebAssembly/
H A Dglobal-ctor-dtor.ll178 ; CHECK-NEXT: InitFunctions:
/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h490 std::vector<WasmInitFunc> InitFunctions;
479 std::vector<WasmInitFunc> InitFunctions; global() member
/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h259 std::vector<InitFunction> InitFunctions; member
/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp652 LinkingData.InitFunctions.reserve(Count); in parseLinkingSection()
661 LinkingData.InitFunctions.emplace_back(Init); in parseLinkingSection()