Lines Matching refs:WasmSym
552 auto *WasmSym = cast<MCSymbolWasm>(Sym); in ParseInstruction() local
553 WasmSym->setSignature(Signature.get()); in ParseInstruction()
555 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in ParseInstruction()
557 WasmSym, MCSymbolRefExpr::VK_WASM_TYPEINDEX, Ctx); in ParseInstruction()
735 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective() local
736 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_GLOBAL); in ParseDirective()
737 WasmSym->setGlobalType( in ParseDirective()
740 TOut.emitGlobalType(WasmSym); in ParseDirective()
760 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective() local
761 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_TABLE); in ParseDirective()
762 WasmSym->setTableType(Type.getValue()); in ParseDirective()
763 TOut.emitTableType(WasmSym); in ParseDirective()
776 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective() local
777 if (CurrentState == Label && WasmSym == LastLabel) { in ParseDirective()
788 WasmSym->setSignature(Signature.get()); in ParseDirective()
790 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in ParseDirective()
791 TOut.emitFunctionType(WasmSym); in ParseDirective()
803 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective() local
804 WasmSym->setExportName(storeName(ExportName)); in ParseDirective()
805 TOut.emitExportName(WasmSym, ExportName); in ParseDirective()
815 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective() local
816 WasmSym->setImportModule(storeName(ImportModule)); in ParseDirective()
817 TOut.emitImportModule(WasmSym, ImportModule); in ParseDirective()
827 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective() local
828 WasmSym->setImportName(storeName(ImportName)); in ParseDirective()
829 TOut.emitImportName(WasmSym, ImportName); in ParseDirective()
836 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective() local
840 WasmSym->setSignature(Signature.get()); in ParseDirective()
842 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_EVENT); in ParseDirective()
843 TOut.emitEventType(WasmSym); in ParseDirective()