Lines Matching refs:Sym
63 void WebAssemblyTargetAsmStreamer::emitFunctionType(const MCSymbolWasm *Sym) { in emitFunctionType() argument
64 assert(Sym->isFunction()); in emitFunctionType()
65 OS << "\t.functype\t" << Sym->getName() << " "; in emitFunctionType()
66 OS << WebAssembly::signatureToString(Sym->getSignature()); in emitFunctionType()
70 void WebAssemblyTargetAsmStreamer::emitGlobalType(const MCSymbolWasm *Sym) { in emitGlobalType() argument
71 assert(Sym->isGlobal()); in emitGlobalType()
72 OS << "\t.globaltype\t" << Sym->getName() << ", " in emitGlobalType()
74 static_cast<wasm::ValType>(Sym->getGlobalType().Type)); in emitGlobalType()
75 if (!Sym->getGlobalType().Mutable) in emitGlobalType()
80 void WebAssemblyTargetAsmStreamer::emitTableType(const MCSymbolWasm *Sym) { in emitTableType() argument
81 assert(Sym->isTable()); in emitTableType()
82 const wasm::WasmTableType &Type = Sym->getTableType(); in emitTableType()
83 OS << "\t.tabletype\t" << Sym->getName() << ", " in emitTableType()
94 void WebAssemblyTargetAsmStreamer::emitTagType(const MCSymbolWasm *Sym) { in emitTagType() argument
95 assert(Sym->isTag()); in emitTagType()
96 OS << "\t.tagtype\t" << Sym->getName() << " "; in emitTagType()
97 OS << WebAssembly::typeListToString(Sym->getSignature()->Params); in emitTagType()
101 void WebAssemblyTargetAsmStreamer::emitImportModule(const MCSymbolWasm *Sym, in emitImportModule() argument
103 OS << "\t.import_module\t" << Sym->getName() << ", " in emitImportModule()
107 void WebAssemblyTargetAsmStreamer::emitImportName(const MCSymbolWasm *Sym, in emitImportName() argument
109 OS << "\t.import_name\t" << Sym->getName() << ", " in emitImportName()
113 void WebAssemblyTargetAsmStreamer::emitExportName(const MCSymbolWasm *Sym, in emitExportName() argument
115 OS << "\t.export_name\t" << Sym->getName() << ", " in emitExportName()