| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | WasmTraits.h | 48 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 D | Wasm.h | 112 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 D | MCSymbolWasm.h | 28 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 D | WriterUtils.h | 59 void writeGlobalType(raw_ostream &os, const llvm::wasm::WasmGlobalType &type); 71 std::string toString(const llvm::wasm::WasmGlobalType &type);
|
| H A D | InputElement.h | 63 const WasmGlobalType &getType() const { return type; } in getType() 71 WasmGlobalType type;
|
| H A D | Symbols.h | 334 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 D | WriterUtils.cpp | 56 std::string toString(const WasmGlobalType &type) { in toString() 200 void writeGlobalType(raw_ostream &os, const WasmGlobalType &type) { in writeGlobalType()
|
| H A D | Driver.cpp | 574 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 D | SymbolTable.h | 76 const WasmGlobalType *type);
|
| H A D | SymbolTable.cpp | 156 const WasmGlobalType *newType) { in checkGlobalType() 162 const WasmGlobalType *oldType = cast<GlobalSymbol>(existing)->getGlobalType(); in checkGlobalType() 583 const WasmGlobalType *type) { in addUndefinedGlobal()
|
| H A D | SyntheticSections.cpp | 199 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 D | SyntheticSections.h | 198 llvm::DenseMap<ImportKey<WasmGlobalType>, uint32_t> importedGlobals;
|
| H A D | InputFiles.cpp | 336 const WasmGlobalType *globalType = nullptr; in addLegacyIndirectFunctionTableIfNeeded()
|
| /llvm-project-15.0.7/lld/include/lld/Common/ |
| H A D | LLVM.h | 50 struct WasmGlobalType; 91 using llvm::wasm::WasmGlobalType;
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | Wasm.h | 38 const wasm::WasmGlobalType *GlobalType, in WasmSymbol() 45 const wasm::WasmGlobalType *GlobalType;
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Utils/ |
| H A D | WebAssemblyTypeUtilities.cpp | 206 Sym->setGlobalType(wasm::WasmGlobalType{uint8_t(ValTy), /*Mutable=*/true}); in wasmSymbolSetType()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyAsmPrinter.cpp | 229 WasmSym->setGlobalType(wasm::WasmGlobalType{ in getOrCreateWasmSymbol()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmParser.cpp | 820 WasmSym->setGlobalType(wasm::WasmGlobalType{uint8_t(*Type), Mutable}); in ParseDirective()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfCompileUnit.cpp | 494 SPSym->setGlobalType(wasm::WasmGlobalType{ in updateSubprogramScopeDIE()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | WasmObjectWriter.cpp | 80 wasm::WasmGlobalType Type;
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | WasmObjectFile.cpp | 613 const wasm::WasmGlobalType *GlobalType = nullptr; in parseLinkingSectionSymtab()
|