Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.h112 struct WasmGlobalType { struct
119 WasmGlobalType Type; argument
136 WasmGlobalType Global;
456 inline bool operator==(const WasmGlobalType &LHS, const WasmGlobalType &RHS) {
460 inline bool operator!=(const WasmGlobalType &LHS, const WasmGlobalType &RHS) {
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCSymbolWasm.h28 Optional<wasm::WasmGlobalType> GlobalType;
131 const wasm::WasmGlobalType &getGlobalType() const { in getGlobalType()
135 void setGlobalType(wasm::WasmGlobalType GT) { GlobalType = GT; } in setGlobalType()
/llvm-project-15.0.7/lld/wasm/
H A DWriterUtils.h59 void writeGlobalType(raw_ostream &os, const llvm::wasm::WasmGlobalType &type);
71 std::string toString(const llvm::wasm::WasmGlobalType &type);
H A DInputElement.h63 const WasmGlobalType &getType() const { return type; } in getType()
71 WasmGlobalType type;
H A DSymbols.h334 const WasmGlobalType *getGlobalType() const { return globalType; } in getGlobalType()
343 const WasmGlobalType *globalType) in GlobalSymbol()
346 const WasmGlobalType *globalType;
367 const WasmGlobalType *type = nullptr)
H A DWriterUtils.cpp56 std::string toString(const WasmGlobalType &type) { in toString()
200 void writeGlobalType(raw_ostream &os, const WasmGlobalType &type) { in writeGlobalType()
H A DDriver.cpp574 createUndefinedGlobal(StringRef name, llvm::wasm::WasmGlobalType *type) { in createUndefinedGlobal()
609 static llvm::wasm::WasmGlobalType globalTypeI32 = {WASM_TYPE_I32, false}; in createSyntheticSymbols()
610 static llvm::wasm::WasmGlobalType globalTypeI64 = {WASM_TYPE_I64, false}; in createSyntheticSymbols()
611 static llvm::wasm::WasmGlobalType mutableGlobalTypeI32 = {WASM_TYPE_I32, in createSyntheticSymbols()
613 static llvm::wasm::WasmGlobalType mutableGlobalTypeI64 = {WASM_TYPE_I64, in createSyntheticSymbols()
H A DSymbolTable.h76 const WasmGlobalType *type);
H A DSymbolTable.cpp156 const WasmGlobalType *newType) { in checkGlobalType()
162 const WasmGlobalType *oldType = cast<GlobalSymbol>(existing)->getGlobalType(); in checkGlobalType()
583 const WasmGlobalType *type) { in addUndefinedGlobal()
H A DSyntheticSections.cpp199 ImportKey<WasmGlobalType> key(*(g->getGlobalType()), module, name); in addImport()
483 WasmGlobalType type{itype, mutable_}; in writeBody()
513 WasmGlobalType type{itype, false}; in writeBody()
H A DSyntheticSections.h198 llvm::DenseMap<ImportKey<WasmGlobalType>, uint32_t> importedGlobals;
H A DInputFiles.cpp336 const WasmGlobalType *globalType = nullptr; in addLegacyIndirectFunctionTableIfNeeded()
/llvm-project-15.0.7/lld/include/lld/Common/
H A DLLVM.h50 struct WasmGlobalType;
91 using llvm::wasm::WasmGlobalType;
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DWasm.h38 const wasm::WasmGlobalType *GlobalType, in WasmSymbol()
45 const wasm::WasmGlobalType *GlobalType;
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.cpp206 Sym->setGlobalType(wasm::WasmGlobalType{uint8_t(ValTy), /*Mutable=*/true}); in wasmSymbolSetType()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp229 WasmSym->setGlobalType(wasm::WasmGlobalType{ in getOrCreateWasmSymbol()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp820 WasmSym->setGlobalType(wasm::WasmGlobalType{uint8_t(*Type), Mutable}); in ParseDirective()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp494 SPSym->setGlobalType(wasm::WasmGlobalType{ in updateSubprogramScopeDIE()
/llvm-project-15.0.7/llvm/lib/MC/
H A DWasmObjectWriter.cpp80 wasm::WasmGlobalType Type;
/llvm-project-15.0.7/llvm/lib/Object/
H A DWasmObjectFile.cpp613 const wasm::WasmGlobalType *GlobalType = nullptr; in parseLinkingSectionSymtab()