Home
last modified time | relevance | path

Searched refs:WasmGlobalType (Results 1 – 11 of 11) sorted by relevance

/src/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasmTraits.h48 template <> struct DenseMapInfo<wasm::WasmGlobalType, void> {
49 static wasm::WasmGlobalType getEmptyKey() {
50 return wasm::WasmGlobalType{1, true};
52 static wasm::WasmGlobalType getTombstoneKey() {
53 return wasm::WasmGlobalType{2, true};
55 static unsigned getHashValue(const wasm::WasmGlobalType &GlobalType) {
58 static bool isEqual(const wasm::WasmGlobalType &LHS,
59 const wasm::WasmGlobalType &RHS) {
H A DWasm.h346 struct WasmGlobalType { struct
353 WasmGlobalType Type; argument
372 WasmGlobalType Global;
513 inline bool operator==(const WasmGlobalType &LHS, const WasmGlobalType &RHS) {
517 inline bool operator!=(const WasmGlobalType &LHS, const WasmGlobalType &RHS) {
/src/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolWasm.h29 std::optional<wasm::WasmGlobalType> GlobalType;
134 const wasm::WasmGlobalType &getGlobalType() const { in getGlobalType()
138 void setGlobalType(wasm::WasmGlobalType GT) { GlobalType = GT; } in setGlobalType()
/src/contrib/llvm-project/lld/include/lld/Common/
H A DLLVM.h50 struct WasmGlobalType;
91 using llvm::wasm::WasmGlobalType;
/src/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.cpp97 Sym->setGlobalType(wasm::WasmGlobalType{uint8_t(ValTy), /*Mutable=*/true}); in wasmSymbolSetType()
/src/contrib/llvm-project/llvm/include/llvm/Object/
H A DWasm.h38 const wasm::WasmGlobalType *GlobalType, in WasmSymbol()
49 const wasm::WasmGlobalType *GlobalType;
/src/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp235 WasmSym->setGlobalType(wasm::WasmGlobalType{ in getOrCreateWasmSymbol()
/src/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp543 const wasm::WasmGlobalType *GlobalType = nullptr; in parseNameSection()
716 const wasm::WasmGlobalType *GlobalType = nullptr; in parseLinkingSectionSymtab()
1441 const wasm::WasmGlobalType *GlobalType = nullptr; in parseExportSection()
/src/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp809 WasmSym->setGlobalType(wasm::WasmGlobalType{uint8_t(*Type), Mutable}); in parseDirective()
/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp492 Sym->setGlobalType(wasm::WasmGlobalType{ in addWasmRelocBaseGlobal()
/src/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp79 wasm::WasmGlobalType Type;