Home
last modified time | relevance | path

Searched refs:MCSymbolWasm (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyTargetStreamer.h24 class MCSymbolWasm; variable
37 virtual void emitFunctionType(const MCSymbolWasm *Sym) = 0;
41 virtual void emitGlobalType(const MCSymbolWasm *Sym) = 0;
43 virtual void emitTableType(const MCSymbolWasm *Sym) = 0;
45 virtual void emitEventType(const MCSymbolWasm *Sym) = 0;
47 virtual void emitImportModule(const MCSymbolWasm *Sym,
50 virtual void emitImportName(const MCSymbolWasm *Sym,
53 virtual void emitExportName(const MCSymbolWasm *Sym,
69 void emitFunctionType(const MCSymbolWasm *Sym) override;
71 void emitGlobalType(const MCSymbolWasm *Sym) override;
[all …]
DWebAssemblyTargetStreamer.cpp63 void WebAssemblyTargetAsmStreamer::emitFunctionType(const MCSymbolWasm *Sym) { in emitFunctionType()
70 void WebAssemblyTargetAsmStreamer::emitGlobalType(const MCSymbolWasm *Sym) { in emitGlobalType()
80 void WebAssemblyTargetAsmStreamer::emitTableType(const MCSymbolWasm *Sym) { in emitTableType()
87 void WebAssemblyTargetAsmStreamer::emitEventType(const MCSymbolWasm *Sym) { in emitEventType()
94 void WebAssemblyTargetAsmStreamer::emitImportModule(const MCSymbolWasm *Sym, in emitImportModule()
100 void WebAssemblyTargetAsmStreamer::emitImportName(const MCSymbolWasm *Sym, in emitImportName()
106 void WebAssemblyTargetAsmStreamer::emitExportName(const MCSymbolWasm *Sym, in emitExportName()
DWebAssemblyInstPrinter.cpp257 auto &Sym = static_cast<const MCSymbolWasm &>(SRE->getSymbol()); in printOperand()
295 auto *Sym = cast<MCSymbolWasm>(&Expr->getSymbol()); in printWebAssemblySignatureOperand()
DWebAssemblyWasmObjectWriter.cpp69 auto& SymA = cast<MCSymbolWasm>(RefA->getSymbol()); in getRelocType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyTargetStreamer.h25 class MCSymbolWasm; variable
38 virtual void emitFunctionType(const MCSymbolWasm *Sym) = 0;
42 virtual void emitGlobalType(const MCSymbolWasm *Sym) = 0;
44 virtual void emitEventType(const MCSymbolWasm *Sym) = 0;
46 virtual void emitImportModule(const MCSymbolWasm *Sym,
49 virtual void emitImportName(const MCSymbolWasm *Sym,
52 virtual void emitExportName(const MCSymbolWasm *Sym,
68 void emitFunctionType(const MCSymbolWasm *Sym) override;
70 void emitGlobalType(const MCSymbolWasm *Sym) override;
71 void emitEventType(const MCSymbolWasm *Sym) override;
[all …]
DWebAssemblyTargetStreamer.cpp63 void WebAssemblyTargetAsmStreamer::emitFunctionType(const MCSymbolWasm *Sym) { in emitFunctionType()
70 void WebAssemblyTargetAsmStreamer::emitGlobalType(const MCSymbolWasm *Sym) { in emitGlobalType()
78 void WebAssemblyTargetAsmStreamer::emitEventType(const MCSymbolWasm *Sym) { in emitEventType()
85 void WebAssemblyTargetAsmStreamer::emitImportModule(const MCSymbolWasm *Sym, in emitImportModule()
91 void WebAssemblyTargetAsmStreamer::emitImportName(const MCSymbolWasm *Sym, in emitImportName()
97 void WebAssemblyTargetAsmStreamer::emitExportName(const MCSymbolWasm *Sym, in emitExportName()
DWebAssemblyWasmObjectWriter.cpp69 auto& SymA = cast<MCSymbolWasm>(RefA->getSymbol()); in getRelocType()
DWebAssemblyInstPrinter.cpp245 auto &Sym = static_cast<const MCSymbolWasm &>(SRE->getSymbol()); in printOperand()
283 auto *Sym = cast<MCSymbolWasm>(&Expr->getSymbol()); in printWebAssemblySignatureOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DWasmObjectWriter.cpp119 const MCSymbolWasm *Sym;
139 const MCSymbolWasm *Symbol; // The symbol to relocate with.
144 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol, in WasmRelocationEntry()
228 DenseMap<const MCSymbolWasm *, uint32_t> TypeIndices;
231 DenseMap<const MCSymbolWasm *, uint32_t> TableIndices;
234 DenseMap<const MCSymbolWasm *, uint32_t> WasmIndices;
235 DenseMap<const MCSymbolWasm *, uint32_t> GOTIndices;
237 DenseMap<const MCSymbolWasm *, wasm::WasmDataReference> DataLocations;
341 uint32_t getFunctionType(const MCSymbolWasm &Symbol);
342 uint32_t getEventType(const MCSymbolWasm &Symbol);
[all …]
DMCWasmStreamer.cpp83 auto *Symbol = cast<MCSymbolWasm>(S); in EmitSymbolAttribute()
143 cast<MCSymbolWasm>(Symbol)->setSize(Value); in emitELFSize()
DMCContext.cpp170 return new (Name, *this) MCSymbolWasm(Name, IsTemporary); in createSymbolImpl()
499 MCSymbolWasm *GroupSym = nullptr; in getWasmSection()
501 GroupSym = cast<MCSymbolWasm>(getOrCreateSymbol(Group)); in getWasmSection()
509 const MCSymbolWasm *GroupSym, in getWasmSection()
525 cast<MCSymbolWasm>(Begin)->setType(wasm::WASM_SYMBOL_TYPE_SECTION); in getWasmSection()
/external/llvm-project/llvm/include/llvm/MC/
DMCSectionWasm.h21 class MCSymbolWasm; variable
29 const MCSymbolWasm *Group;
45 MCSectionWasm(StringRef Name, SectionKind K, const MCSymbolWasm *group, in MCSectionWasm()
54 const MCSymbolWasm *getGroup() const { return Group; } in getGroup()
DMCSymbolWasm.h16 class MCSymbolWasm : public MCSymbol {
36 MCSymbolWasm(const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbolWasm() function
/external/llvm-project/llvm/lib/MC/
DWasmObjectWriter.cpp77 const MCSymbolWasm *Sym;
97 const MCSymbolWasm *Symbol; // The symbol to relocate with.
102 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol, in WasmRelocationEntry()
193 DenseMap<const MCSymbolWasm *, uint32_t> TypeIndices;
196 DenseMap<const MCSymbolWasm *, uint32_t> TableIndices;
199 DenseMap<const MCSymbolWasm *, uint32_t> WasmIndices;
200 DenseMap<const MCSymbolWasm *, uint32_t> GOTIndices;
202 DenseMap<const MCSymbolWasm *, wasm::WasmDataReference> DataLocations;
338 uint32_t getFunctionType(const MCSymbolWasm &Symbol);
339 uint32_t getEventType(const MCSymbolWasm &Symbol);
[all …]
DMCWasmStreamer.cpp83 auto *Symbol = cast<MCSymbolWasm>(S); in emitSymbolAttribute()
143 cast<MCSymbolWasm>(Symbol)->setSize(Value); in emitELFSize()
DMCContext.cpp179 static_assert(std::is_trivially_destructible<MCSymbolWasm>(), in createSymbolImpl()
192 return new (Name, *this) MCSymbolWasm(Name, IsTemporary); in createSymbolImpl()
622 MCSymbolWasm *GroupSym = nullptr; in getWasmSection()
624 GroupSym = cast<MCSymbolWasm>(getOrCreateSymbol(Group)); in getWasmSection()
632 const MCSymbolWasm *GroupSym, in getWasmSection()
648 cast<MCSymbolWasm>(Begin)->setType(wasm::WASM_SYMBOL_TYPE_SECTION); in getWasmSection()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCSectionWasm.h34 const MCSymbolWasm *Group;
49 MCSectionWasm(StringRef Section, SectionKind K, const MCSymbolWasm *group, in MCSectionWasm()
60 const MCSymbolWasm *getGroup() const { return Group; } in getGroup()
DMCSymbolWasm.h16 class MCSymbolWasm : public MCSymbol {
36 MCSymbolWasm(const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbolWasm() function
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyAsmPrinter.cpp152 MCSymbolWasm *WebAssemblyAsmPrinter::getMCSymbolForFunction( in getMCSymbolForFunction()
155 MCSymbolWasm *WasmSym = nullptr; in getMCSymbolForFunction()
166 WasmSym = cast<MCSymbolWasm>( in getMCSymbolForFunction()
169 WasmSym = cast<MCSymbolWasm>(getSymbol(F)); in getMCSymbolForFunction()
177 auto Sym = cast<MCSymbolWasm>(It.getValue()); in emitEndOfAsmFile()
240 auto *Sym = cast<MCSymbolWasm>(getSymbol(&F)); in emitEndOfAsmFile()
404 auto *WasmSym = cast<MCSymbolWasm>(CurrentFnSym); in emitFunctionBodyStart()
DWebAssemblyMCInstLower.cpp50 return cast<MCSymbolWasm>(Printer.getSymbol(Global)); in GetGlobalAddressSymbol()
75 auto *WasmSym = cast<MCSymbolWasm>(Printer.GetExternalSymbolSymbol(Name)); in GetExternalSymbolSymbol()
155 const auto *WasmSym = cast<MCSymbolWasm>(Sym); in lowerSymbolOperand()
178 auto *WasmSym = cast<MCSymbolWasm>(Sym); in lowerTypeIndexOperand()
DWebAssemblyAsmPrinter.h80 MCSymbolWasm *getMCSymbolForFunction(const Function *F, bool EnableEmEH,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.cpp50 auto *WasmSym = cast<MCSymbolWasm>(Printer.getSymbol(Global)); in GetGlobalAddressSymbol()
73 auto *WasmSym = cast<MCSymbolWasm>(Printer.GetExternalSymbolSymbol(Name)); in GetExternalSymbolSymbol()
149 const auto *WasmSym = cast<MCSymbolWasm>(Sym); in lowerSymbolOperand()
172 auto *WasmSym = cast<MCSymbolWasm>(Sym); in lowerTypeIndexOperand()
DWebAssemblyAsmPrinter.cpp91 auto Sym = cast<MCSymbolWasm>(It.getValue()); in EmitEndOfAsmFile()
107 auto *Sym = cast<MCSymbolWasm>(getSymbol(&F)); in EmitEndOfAsmFile()
138 auto *Sym = cast<MCSymbolWasm>(getSymbol(&F)); in EmitEndOfAsmFile()
295 auto *WasmSym = cast<MCSymbolWasm>(CurrentFnSym); in EmitFunctionBodyStart()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp516 auto *WasmSym = cast<MCSymbolWasm>(Sym); in ParseInstruction()
677 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
695 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
722 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
734 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
746 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
755 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
/external/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp552 auto *WasmSym = cast<MCSymbolWasm>(Sym); in ParseInstruction()
735 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
760 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
776 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
803 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
815 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
827 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()
836 auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName)); in ParseDirective()

12