Lines Matching refs:Sym
61 void WebAssemblyTargetAsmStreamer::emitFunctionType(const MCSymbolWasm *Sym) { in emitFunctionType() argument
62 assert(Sym->isFunction()); in emitFunctionType()
63 OS << "\t.functype\t" << Sym->getName() << " "; in emitFunctionType()
64 OS << WebAssembly::signatureToString(Sym->getSignature()); in emitFunctionType()
68 void WebAssemblyTargetAsmStreamer::emitGlobalType(const MCSymbolWasm *Sym) { in emitGlobalType() argument
69 assert(Sym->isGlobal()); in emitGlobalType()
70 OS << "\t.globaltype\t" << Sym->getName() << ", " in emitGlobalType()
72 static_cast<wasm::ValType>(Sym->getGlobalType().Type)); in emitGlobalType()
73 if (!Sym->getGlobalType().Mutable) in emitGlobalType()
78 void WebAssemblyTargetAsmStreamer::emitTableType(const MCSymbolWasm *Sym) { in emitTableType() argument
79 assert(Sym->isTable()); in emitTableType()
80 const wasm::WasmTableType &Type = Sym->getTableType(); in emitTableType()
81 OS << "\t.tabletype\t" << Sym->getName() << ", " in emitTableType()
92 void WebAssemblyTargetAsmStreamer::emitTagType(const MCSymbolWasm *Sym) { in emitTagType() argument
93 assert(Sym->isTag()); in emitTagType()
94 OS << "\t.tagtype\t" << Sym->getName() << " "; in emitTagType()
95 OS << WebAssembly::typeListToString(Sym->getSignature()->Params); in emitTagType()
99 void WebAssemblyTargetAsmStreamer::emitImportModule(const MCSymbolWasm *Sym, in emitImportModule() argument
101 OS << "\t.import_module\t" << Sym->getName() << ", " in emitImportModule()
105 void WebAssemblyTargetAsmStreamer::emitImportName(const MCSymbolWasm *Sym, in emitImportName() argument
107 OS << "\t.import_name\t" << Sym->getName() << ", " in emitImportName()
111 void WebAssemblyTargetAsmStreamer::emitExportName(const MCSymbolWasm *Sym, in emitExportName() argument
113 OS << "\t.export_name\t" << Sym->getName() << ", " in emitExportName()