Lines Matching refs:Sym
93 void WebAssemblyTargetAsmStreamer::emitFunctionType(const MCSymbolWasm *Sym) { in emitFunctionType() argument
94 assert(Sym->isFunction()); in emitFunctionType()
95 OS << "\t.functype\t" << Sym->getName() << " "; in emitFunctionType()
96 emitSignature(Sym->getSignature()); in emitFunctionType()
100 void WebAssemblyTargetAsmStreamer::emitGlobalType(const MCSymbolWasm *Sym) { in emitGlobalType() argument
101 assert(Sym->isGlobal()); in emitGlobalType()
102 OS << "\t.globaltype\t" << Sym->getName() << ", " in emitGlobalType()
104 static_cast<wasm::ValType>(Sym->getGlobalType().Type)) in emitGlobalType()
108 void WebAssemblyTargetAsmStreamer::emitEventType(const MCSymbolWasm *Sym) { in emitEventType() argument
109 assert(Sym->isEvent()); in emitEventType()
110 OS << "\t.eventtype\t" << Sym->getName() << " "; in emitEventType()
111 emitParamList(Sym->getSignature()); in emitEventType()
115 void WebAssemblyTargetAsmStreamer::emitImportModule(const MCSymbolWasm *Sym, in emitImportModule() argument
117 OS << "\t.import_module\t" << Sym->getName() << ", " in emitImportModule()
121 void WebAssemblyTargetAsmStreamer::emitImportName(const MCSymbolWasm *Sym, in emitImportName() argument
123 OS << "\t.import_name\t" << Sym->getName() << ", " in emitImportName()