Home
last modified time | relevance | path

Searched refs:InputChunk (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/lld/wasm/
DInputChunks.h36 class InputChunk {
73 InputChunk(ObjFile *f, Kind k) in InputChunk() function
75 virtual ~InputChunk() = default;
95 class InputSegment : public InputChunk {
98 : InputChunk(f, InputChunk::DataSegment), segment(seg) {} in InputSegment()
100 static bool classof(const InputChunk *c) { return c->kind() == DataSegment; } in classof()
123 class InputFunction : public InputChunk {
126 : InputChunk(f, InputChunk::Function), signature(s), function(func), in InputFunction()
131 static bool classof(const InputChunk *c) { in classof()
132 return c->kind() == InputChunk::Function || in classof()
[all …]
DMarkLive.cpp50 SmallVector<InputChunk *, 256> queue;
72 if (InputChunk *chunk = sym->getChunk()) in enqueue()
123 InputChunk *c = queue.pop_back_val(); in mark()
163 for (InputChunk *c : obj->functions) in markLive()
166 for (InputChunk *c : obj->segments) in markLive()
176 for (InputChunk *c : symtab->syntheticFunctions) in markLive()
DOutputSections.cpp116 for (const InputChunk *chunk : functions) in writeTo()
122 for (const InputChunk *func : functions) in getNumRelocations()
128 for (const InputChunk *c : functions) in writeRelocations()
209 for (const InputChunk *chunk : segment->inputSegments) in writeTo()
217 for (const InputChunk *inputSeg : seg->inputSegments) in getNumRelocations()
224 for (const InputChunk *c : seg->inputSegments) in writeRelocations()
DRelocations.h15 class InputChunk; variable
17 void scanRelocations(InputChunk *chunk);
DInputChunks.cpp47 std::string toString(const wasm::InputChunk *c) { in toString()
52 StringRef InputChunk::getComdatName() const { in getComdatName()
59 void InputChunk::verifyRelocTargets() const { in verifyRelocTargets()
122 void InputChunk::writeTo(uint8_t *buf) const { in writeTo()
193 void InputChunk::writeRelocations(raw_ostream &os) const { in writeRelocations()
320 return InputChunk::writeTo(buf); in writeTo()
DSymbols.cpp109 InputChunk *Symbol::getChunk() const { in getChunk()
121 if (InputChunk *c = getChunk()) in isDiscarded()
131 if (InputChunk *c = getChunk()) in isLive()
144 if (InputChunk *c = getChunk()) in markLive()
DInputFiles.h30 class InputChunk; variable
156 bool isExcludedByComdat(InputChunk *chunk) const;
DInputFiles.cpp288 assert(llvm::is_sorted(chunks, [](InputChunk *c1, InputChunk *c2) { in setRelocs()
297 for (InputChunk *c : chunks) { in setRelocs()
429 bool ObjFile::isExcludedByComdat(InputChunk *chunk) const { in isExcludedByComdat()
DRelocations.cpp84 void scanRelocations(InputChunk *chunk) { in scanRelocations()
DMapFile.cpp39 using SymbolMapTy = DenseMap<const InputChunk *, SmallVector<Symbol *, 4>>;
DSymbols.h32 class InputChunk; variable
89 InputChunk *getChunk() const;
DWriter.cpp737 for (InputChunk *chunk : file->functions) in scanRelocations()
739 for (InputChunk *chunk : file->segments) in scanRelocations()
/external/libtextclassifier/native/lang_id/common/flatbuffers/
Dembedding-network-params-from-flatbuffer.cc277 const saft_fbs::InputChunk *
289 const saft_fbs::InputChunk *input_chunk = input_chunks->Get(i); in SafeGetInputChunk()
298 const saft_fbs::InputChunk *input_chunk = SafeGetInputChunk(i); in SafeGetEmbeddingMatrix()
Dembedding-network-params-from-flatbuffer.h177 const saft_fbs::InputChunk *input_chunk = SafeGetInputChunk(i); in embedding_num_features()
200 const saft_fbs::InputChunk *SafeGetInputChunk(int i) const;
Dembedding-network.fbs78 table InputChunk {
111 input_chunks:[InputChunk];