Searched refs:InputChunk (Results 1 - 19 of 19) sorted by relevance

/openbsd-current/gnu/llvm/lld/wasm/
H A DRelocations.h15 class InputChunk;
17 void scanRelocations(InputChunk *chunk);
H A DInputChunks.h39 class InputChunk { class in namespace:lld::wasm
111 InputChunk(ObjFile *f, Kind k, StringRef name, uint32_t alignment = 0, function in class:lld::wasm::InputChunk
130 class InputSegment : public InputChunk {
133 : InputChunk(f, InputChunk::DataSegment, seg.Data.Name,
141 static bool classof(const InputChunk *c) { return c->kind() == DataSegment; }
169 class MergeInputChunk : public InputChunk {
172 : InputChunk(f, Merge, seg.Data.Name, seg.Data.Alignment,
180 : InputChunk(f, Merge, s.Name, 0, llvm::wasm::WASM_SEG_FLAG_STRINGS) {
186 static bool classof(const InputChunk *
[all...]
H A DOutputSegment.h25 void addInputSegment(InputChunk *inSeg);
43 std::vector<InputChunk *> inputSegments;
H A DOutputSegment.cpp22 void OutputSegment::addInputSegment(InputChunk *inSeg) {
43 std::vector<InputChunk *> newSegments;
44 for (InputChunk *s : inputSegments) {
76 for (InputChunk *seg : inputSegments) {
H A DOutputSections.cpp83 for (const InputChunk *chunk : functions)
89 for (const InputChunk *func : functions)
95 for (const InputChunk *c : functions)
157 for (InputChunk *inputSeg : segment->inputSegments) {
187 for (const InputChunk *chunk : segment->inputSegments)
195 for (const InputChunk *inputSeg : seg->inputSegments)
202 for (const InputChunk *c : seg->inputSegments)
216 std::vector<InputChunk *> newSections;
218 for (InputChunk *s : inputSections) {
250 for (InputChunk *sectio
[all...]
H A DMarkLive.cpp14 // Here's how it works. Each InputChunk has a "Live" bit. The bit is off by
49 SmallVector<InputChunk *, 256> queue;
71 if (InputChunk *chunk = sym->getChunk())
116 InputChunk *c = queue.pop_back_val();
156 for (InputChunk *c : obj->functions)
159 for (InputChunk *c : obj->segments)
172 for (InputChunk *c : symtab->syntheticFunctions)
H A DInputChunks.cpp53 std::string toString(const wasm::InputChunk *c) {
58 StringRef InputChunk::getComdatName() const {
65 uint32_t InputChunk::getSize() const {
78 uint32_t InputChunk::getInputSize() const {
85 void InputChunk::writeTo(uint8_t *buf) const {
103 void InputChunk::relocate(uint8_t *buf) const {
172 void InputChunk::writeRelocations(raw_ostream &os) const {
190 uint64_t InputChunk::getTombstone() const {
340 uint64_t InputChunk::getChunkOffset(uint64_t offset) const {
352 uint64_t InputChunk
[all...]
H A DInputFiles.h31 class InputChunk;
123 const InputChunk *chunk) const;
139 std::vector<InputChunk *> segments;
144 std::vector<InputChunk *> customSections;
145 llvm::DenseMap<uint32_t, InputChunk *> customSectionsByIndex;
159 bool isExcludedByComdat(const InputChunk *chunk) const;
H A DOutputSections.h111 CustomSection(std::string name, ArrayRef<InputChunk *> inputSections)
130 std::vector<InputChunk *> inputSections;
H A DSymbols.h35 class InputChunk;
99 InputChunk *getChunk() const;
105 // Marks the symbol's InputChunk as Live, so that it will be included in the
275 SectionSymbol(uint32_t flags, const InputChunk *s, InputFile *f = nullptr)
282 const InputChunk *section;
299 DefinedData(StringRef name, uint32_t flags, InputFile *f, InputChunk *segment,
319 InputChunk *segment = nullptr;
H A DInputFiles.cpp141 const InputChunk *chunk) const {
233 assert(llvm::is_sorted(chunks, [](InputChunk *c1, InputChunk *c2) {
242 for (InputChunk *c : chunks) {
457 InputChunk *customSec;
480 InputChunk *seg;
542 bool ObjFile::isExcludedByComdat(const InputChunk *chunk) const {
588 InputChunk *seg = segments[sym.Info.DataRef.Segment];
610 InputChunk *section = customSectionsByIndex[sym.Info.ElementIndex];
H A DSymbols.cpp129 InputChunk *Symbol::getChunk() const {
141 if (InputChunk *c = getChunk())
153 if (InputChunk *c = getChunk())
169 if (InputChunk *c = getChunk()) {
H A DMapFile.cpp39 using SymbolMapTy = DenseMap<const InputChunk *, SmallVector<Symbol *, 4>>;
H A DRelocations.cpp83 void scanRelocations(InputChunk *chunk) {
H A DWriter.cpp109 llvm::StringMap<std::vector<InputChunk *>> customSectionMapping;
130 for (InputChunk *section : file->customSections) {
514 auto isTLS = [](InputChunk *segment) {
840 for (InputChunk *chunk : file->functions)
842 for (InputChunk *chunk : file->segments)
891 static StringRef getOutputDataSegmentName(const InputChunk &seg) {
922 for (InputChunk *segment : file->segments) {
978 for (InputChunk *inSeg : s->inputSegments) {
1335 for (const InputChunk *inSeg : seg->inputSegments)
H A DSymbolTable.h57 InputChunk *segment, uint64_t address, uint64_t size);
H A DDriver.cpp1003 for (InputChunk *seg : file->segments) {
1007 for (InputChunk *sec : file->customSections) {
H A DSyntheticSections.cpp707 for (const InputChunk *isec : inputSegments)
H A DSymbolTable.cpp369 InputFile *file, InputChunk *segment,

Completed in 108 milliseconds