• Home
  • Raw
  • Download

Lines Matching refs:WasmSym

64   auto *WasmSym = Printer.getMCSymbolForFunction(  in GetGlobalAddressSymbol()  local
66 WasmSym->setSignature(Signature.get()); in GetGlobalAddressSymbol()
68 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in GetGlobalAddressSymbol()
69 return WasmSym; in GetGlobalAddressSymbol()
75 auto *WasmSym = cast<MCSymbolWasm>(Printer.GetExternalSymbolSymbol(Name)); in GetExternalSymbolSymbol() local
87 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_GLOBAL); in GetExternalSymbolSymbol()
88 WasmSym->setGlobalType(wasm::WasmGlobalType{ in GetExternalSymbolSymbol()
93 return WasmSym; in GetExternalSymbolSymbol()
99 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_EVENT); in GetExternalSymbolSymbol()
102 WasmSym->setEventType( in GetExternalSymbolSymbol()
107 WasmSym->setWeak(true); in GetExternalSymbolSymbol()
108 WasmSym->setExternal(true); in GetExternalSymbolSymbol()
117 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in GetExternalSymbolSymbol()
122 WasmSym->setSignature(Signature.get()); in GetExternalSymbolSymbol()
125 return WasmSym; in GetExternalSymbolSymbol()
155 const auto *WasmSym = cast<MCSymbolWasm>(Sym); in lowerSymbolOperand() local
158 if (WasmSym->isFunction()) in lowerSymbolOperand()
160 if (WasmSym->isGlobal()) in lowerSymbolOperand()
162 if (WasmSym->isEvent()) in lowerSymbolOperand()
178 auto *WasmSym = cast<MCSymbolWasm>(Sym); in lowerTypeIndexOperand() local
179 WasmSym->setSignature(Signature.get()); in lowerTypeIndexOperand()
181 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in lowerTypeIndexOperand()
183 MCSymbolRefExpr::create(WasmSym, MCSymbolRefExpr::VK_WASM_TYPEINDEX, Ctx); in lowerTypeIndexOperand()