Searched refs:WasmSym (Results 1 – 7 of 7) sorted by relevance
55 !WasmSym->getType()) { in GetGlobalAddressSymbol()69 return WasmSym; in GetGlobalAddressSymbol()84 auto *WasmSym = Printer.getMCSymbolForFunction( in GetGlobalAddressSymbol() local86 WasmSym->setSignature(Signature.get()); in GetGlobalAddressSymbol()89 return WasmSym; in GetGlobalAddressSymbol()127 if (WasmSym->isFunction()) in lowerSymbolOperand()129 if (WasmSym->isGlobal()) in lowerSymbolOperand()131 if (WasmSym->isTag()) in lowerSymbolOperand()133 if (WasmSym->isTable()) in lowerSymbolOperand()149 auto *WasmSym = cast<MCSymbolWasm>(Sym); in lowerTypeIndexOperand() local[all …]
155 MCSymbolWasm *WasmSym = nullptr; in getMCSymbolForFunction() local166 WasmSym = cast<MCSymbolWasm>( in getMCSymbolForFunction()171 return WasmSym; in getMCSymbolForFunction()215 if (WasmSym->getType().hasValue()) in getOrCreateWasmSymbol()216 return WasmSym; in getOrCreateWasmSymbol()234 return WasmSym; in getOrCreateWasmSymbol()243 WasmSym->setTagType( in getOrCreateWasmSymbol()248 WasmSym->setWeak(true); in getOrCreateWasmSymbol()249 WasmSym->setExternal(true); in getOrCreateWasmSymbol()263 WasmSym->setSignature(Signature.get()); in getOrCreateWasmSymbol()[all …]
649 WasmSym->setSignature(Signature.get()); in ParseInstruction()830 WasmSym->setGlobalType( in ParseDirective()833 TOut.emitGlobalType(WasmSym); in ParseDirective()862 WasmSym->setTableType(Type); in ParseDirective()863 TOut.emitTableType(WasmSym); in ParseDirective()877 if (WasmSym->isDefined()) { in ParseDirective()882 LastFunctionLabel = WasmSym; in ParseDirective()889 WasmSym->setSignature(Signature.get()); in ParseDirective()892 TOut.emitFunctionType(WasmSym); in ParseDirective()944 TOut.emitTagType(WasmSym); in ParseDirective()[all …]
151 auto WasmSym = cast<MCSymbolWasm>(&SymRef->getSymbol()); in getGlobal() local152 switch (WasmSym->getType().getValueOr(wasm::WASM_SYMBOL_TYPE_DATA)) { in getGlobal()154 Type = static_cast<wasm::ValType>(WasmSym->getGlobalType().Type); in getGlobal()164 return typeError(ErrorLoc, StringRef("symbol ") + WasmSym->getName() + in getGlobal()227 auto WasmSym = cast<MCSymbolWasm>(&SymRef->getSymbol()); in typeCheck() local228 auto Sig = WasmSym->getSignature(); in typeCheck()229 if (!Sig || WasmSym->getType() != wasm::WASM_SYMBOL_TYPE_FUNCTION) in typeCheck()230 return typeError(ErrorLoc, StringRef("symbol ") + WasmSym->getName() + in typeCheck()
227 auto WasmSym = cast<MCSymbolWasm>( in parseDirectiveType() local236 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in parseDirectiveType()240 WasmSym->setComdat(true); in parseDirectiveType()242 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_GLOBAL); in parseDirectiveType()244 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_DATA); in parseDirectiveType()
236 auto *WasmSym = cast<MCSymbolWasm>(Sym); in getInstruction() local237 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in getInstruction()239 WasmSym, MCSymbolRefExpr::VK_WASM_TYPEINDEX, getContext()); in getInstruction()
416 const auto *WasmSym = static_cast<const MCSymbolWasm *>(Sym); in executePostLayoutBinding() local417 if (WasmSym->isNoStrip()) in executePostLayoutBinding()