Home
last modified time | relevance | path

Searched refs:isNeeded (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/lld/wasm/
DSyntheticSections.h78 bool isNeeded() const override { return config->isPic; } in isNeeded() function
89 bool isNeeded() const override { return types.size() > 0; }; in isNeeded() function
102 bool isNeeded() const override { return getNumImports() > 0; } in isNeeded() function
135 bool isNeeded() const override { return inputFunctions.size() > 0; }; in isNeeded() function
148 bool isNeeded() const override { in isNeeded() function
167 bool isNeeded() const override { return !config->importMemory; } in isNeeded() function
188 bool isNeeded() const override { return inputEvents.size() > 0; } in isNeeded() function
202 bool isNeeded() const override { return numGlobals() > 0; } in isNeeded() function
233 bool isNeeded() const override { return exports.size() > 0; } in isNeeded() function
245 bool isNeeded() const override;
[all …]
DOutputSections.h41 virtual bool isNeeded() const { return true; } in isNeeded() function
72 bool isNeeded() const override { return functions.size() > 0; } in isNeeded() function
95 bool isNeeded() const override;
DOutputSections.cpp228 bool DataSection::isNeeded() const { in isNeeded() function in lld::wasm::DataSection
DSyntheticSections.cpp374 bool StartSection::isNeeded() const { in isNeeded() function in lld::wasm::StartSection
427 bool DataCountSection::isNeeded() const { in isNeeded() function in lld::wasm::DataCountSection
DWriter.cpp202 assert(s->isNeeded()); in writeSections()
369 if (!sec->isNeeded()) in addSection()
/external/llvm-project/lld/MachO/
DSyntheticSections.h130 bool isNeeded() const override { return !entries.empty(); } in isNeeded() function
179 bool isNeeded() const override { return !locations.empty(); } in isNeeded() function
206 bool isNeeded() const override { return !bindings.empty(); } in isNeeded() function
242 bool isNeeded() const override { in isNeeded() function
309 bool isNeeded() const override { return !entries.empty(); } in isNeeded() function
324 bool isNeeded() const override;
348 bool isNeeded() const override;
357 bool isNeeded() const override { return !entries.empty(); } in isNeeded() function
474 bool isNeeded() const override;
DWriter.cpp84 if (rebaseSection->isNeeded()) { in writeTo()
88 if (bindingSection->isNeeded()) { in writeTo()
92 if (weakBindingSection->isNeeded()) { in writeTo()
96 if (lazyBindingSection->isNeeded()) { in writeTo()
100 if (exportSection->isNeeded()) { in writeTo()
616 if (ssec->isNeeded()) in createOutputSections()
632 if (!osec->isNeeded()) in assignAddresses()
686 if (in.stubHelper->isNeeded()) in run()
DSyntheticSections.cpp421 bool StubHelperSection::isNeeded() const { return in.lazyBinding->isNeeded(); } in isNeeded() function in StubHelperSection
464 bool LazyPointerSection::isNeeded() const { in isNeeded() function in LazyPointerSection
770 bool IndirectSymtabSection::isNeeded() const { in isNeeded() function in IndirectSymtabSection
771 return in.got->isNeeded() || in.tlvPointers->isNeeded() || in isNeeded()
772 in.stubs->isNeeded(); in isNeeded()
DOutputSection.h48 virtual bool isNeeded() const { return true; } in isNeeded() function
DUnwindInfoSection.h45 bool isNeeded() const override;
DUnwindInfoSection.cpp75 bool UnwindInfoSection::isNeeded() const { in isNeeded() function in UnwindInfoSection
/external/llvm-project/lld/ELF/
DSyntheticSections.h55 virtual bool isNeeded() const { return true; } in isNeeded() function
73 bool isNeeded() const override { return !sections.empty(); } in isNeeded() function
129 bool isNeeded() const override;
193 bool isNeeded() const override { return size != 0; } in isNeeded() function
207 bool isNeeded() const override;
383 bool isNeeded() const override;
403 bool isNeeded() const override { return !entries.empty(); } in isNeeded() function
504 bool isNeeded() const override { return !relocs.empty(); } in isNeeded() function
556 bool isNeeded() const override { return !relocs.empty(); } in isNeeded() function
623 bool isNeeded() const override;
[all …]
DSyntheticSections.cpp692 bool GotSection::isNeeded() const { in isNeeded() function in GotSection
1045 bool MipsGotSection::isNeeded() const { in isNeeded() function in MipsGotSection
1156 bool GotPltSection::isNeeded() const { in isNeeded() function in GotPltSection
1333 if (file->isNeeded) in finalizeContents()
1396 if (part.relaDyn->isNeeded() || in finalizeContents()
1397 (in.relaIplt->isNeeded() && in finalizeContents()
1429 if (isMain && (in.relaPlt->isNeeded() || in.relaIplt->isNeeded())) { in finalizeContents()
1486 if (part.verSym && part.verSym->isNeeded()) in finalizeContents()
1492 if (part.verNeed && part.verNeed->isNeeded()) { in finalizeContents()
1529 if (config->emachine == EM_PPC64 && in.plt->isNeeded()) { in finalizeContents()
[all …]
DMarkLive.cpp123 ss->getFile().isNeeded = true; in resolveReloc()
342 s->getFile().isNeeded = true; in markLive()
DInputFiles.h366 isNeeded(!config->asNeeded) {} in SharedFile()
389 bool isNeeded; variable
DWriter.cpp1144 if (ElfSym::relaIpltStart && in.relaIplt->isNeeded()) { in setReservedSymbolSections()
1689 if (sec && sec->isNeeded() && sec->getParent()) { in finalizeSynthetic()
1882 if (!os || ss->isNeeded()) in removeUnusedSyntheticSections()
1986 if (in.plt && in.plt->isNeeded()) in finalizeSections()
1988 if (in.iplt && in.iplt->isNeeded()) in finalizeSections()
2031 if (file->isNeeded && !sym->isUndefined()) in finalizeSections()
2424 if (part.ehFrame->isNeeded() && part.ehFrameHdr && in createPhdrs()
DInputFiles.cpp1495 it->second->isNeeded |= isNeeded; in parse()
DDriver.cpp1719 if (!s || s->getFile().isNeeded) in demoteSharedSymbols()
/external/angle/src/compiler/translator/
DCompiler.h207 bool *isNeeded,
DCompiler.cpp1267 bool *isNeeded, in emulatePrecisionIfNeeded() argument
1270 *isNeeded = getResources().WEBGL_debug_shader_precision && getPragma().debugShaderPrecision; in emulatePrecisionIfNeeded()
1272 if (*isNeeded) in emulatePrecisionIfNeeded()