Home
last modified time | relevance | path

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

/external/llvm-project/lld/wasm/
DInputChunks.cpp60 for (const WasmRelocation &rel : relocations) { in verifyRelocTargets()
139 for (const WasmRelocation &rel : relocations) { in writeTo()
201 for (const WasmRelocation &rel : relocations) { in writeRelocations()
227 static unsigned writeCompressedReloc(uint8_t *buf, const WasmRelocation &rel, in writeCompressedReloc()
247 static unsigned getRelocWidthPadded(const WasmRelocation &rel) { in getRelocWidthPadded()
266 static unsigned getRelocWidth(const WasmRelocation &rel, uint64_t value) { in getRelocWidth()
298 for (const WasmRelocation &rel : relocations) { in calculateSize()
337 for (const WasmRelocation &rel : relocations) { in writeTo()
370 for (const WasmRelocation &rel : relocations) { in generateRelocationCode()
DInputFiles.h120 uint32_t calcNewIndex(const WasmRelocation &reloc) const;
121 uint64_t calcNewValue(const WasmRelocation &reloc, uint64_t tombstone) const;
122 uint64_t calcNewAddend(const WasmRelocation &reloc) const;
123 uint64_t calcExpectedValue(const WasmRelocation &reloc) const;
124 Symbol *getSymbol(const WasmRelocation &reloc) const { in getSymbol()
DInputFiles.cpp103 uint32_t ObjFile::calcNewIndex(const WasmRelocation &reloc) const { in calcNewIndex()
116 uint64_t ObjFile::calcNewAddend(const WasmRelocation &reloc) const { in calcNewAddend()
139 uint64_t ObjFile::calcExpectedValue(const WasmRelocation &reloc) const { in calcExpectedValue()
200 uint64_t ObjFile::calcNewValue(const WasmRelocation &reloc, uint64_t tombstone) const { in calcNewValue()
283 ArrayRef<WasmRelocation> relocs = section->Relocations; in setRelocs()
285 relocs, [](const WasmRelocation &r1, const WasmRelocation &r2) { in setRelocs()
294 auto relocLess = [](const WasmRelocation &r, uint32_t val) { in setRelocs()
303 c->setRelocations(ArrayRef<WasmRelocation>(relocsStart, relocsNext)); in setRelocs()
369 for (const WasmRelocation &reloc : section.Relocations) in parse()
DInputChunks.h47 ArrayRef<WasmRelocation> getRelocations() const { return relocations; } in getRelocations()
48 void setRelocations(ArrayRef<WasmRelocation> rs) { relocations = rs; } in setRelocations()
83 ArrayRef<WasmRelocation> relocations;
DRelocations.cpp89 for (const WasmRelocation &reloc : chunk->getRelocations()) { in scanRelocations()
DMarkLive.cpp125 for (const WasmRelocation reloc : c->getRelocations()) { in mark()
/external/llvm-project/lld/include/lld/Common/
DLLVM.h52 struct WasmRelocation;
91 using llvm::wasm::WasmRelocation;
/external/llvm-project/llvm/tools/llvm-objdump/
DWasmDump.cpp34 const wasm::WasmRelocation &Rel = Obj->getWasmRelocation(RelRef); in getWasmRelocationValueString()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DWasm.h110 std::vector<wasm::WasmRelocation> Relocations; // Relocations for this section
127 const wasm::WasmRelocation &getWasmRelocation(const RelocationRef &Ref) const;
231 const wasm::WasmRelocation &getWasmRelocation(DataRefImpl Ref) const;
/external/llvm-project/llvm/include/llvm/Object/
DWasm.h113 std::vector<wasm::WasmRelocation> Relocations; // Relocations for this section
130 const wasm::WasmRelocation &getWasmRelocation(const RelocationRef &Ref) const;
239 const wasm::WasmRelocation &getWasmRelocation(DataRefImpl Ref) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWasmObjectFile.cpp760 wasm::WasmRelocation Reloc = {}; in parseRelocSection()
1478 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationOffset()
1483 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationSymbol()
1493 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationType()
1499 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationTypeName()
1552 const wasm::WasmRelocation &
1557 const wasm::WasmRelocation &
/external/llvm-project/llvm/lib/Object/
DWasmObjectFile.cpp844 wasm::WasmRelocation Reloc = {}; in parseRelocSection()
1638 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationOffset()
1643 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationSymbol()
1653 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationType()
1659 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationTypeName()
1716 const wasm::WasmRelocation &
1721 const wasm::WasmRelocation &
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DWasm.h165 struct WasmRelocation { struct
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DWasm.h172 struct WasmRelocation { struct
/external/llvm-project/llvm/tools/llvm-readobj/
DWasmDumper.cpp88 const wasm::WasmRelocation &WasmReloc = Obj->getWasmRelocation(Reloc); in printRelocation()