Home
last modified time | relevance | path

Searched refs:WasmSignature (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasmTraits.h21 // Traits for using WasmSignature in a DenseMap.
22 template <> struct DenseMapInfo<wasm::WasmSignature, void> {
23 static wasm::WasmSignature getEmptyKey() {
24 wasm::WasmSignature Sig;
25 Sig.State = wasm::WasmSignature::Empty;
28 static wasm::WasmSignature getTombstoneKey() {
29 wasm::WasmSignature Sig;
30 Sig.State = wasm::WasmSignature::Tombstone;
33 static unsigned getHashValue(const wasm::WasmSignature &Sig) {
41 static bool isEqual(const wasm::WasmSignature
[all...]
H A DWasm.h487 struct WasmSignature { struct
497 WasmSignature(SmallVector<ValType, 1> &&InReturns, in WasmSignature() argument
500 WasmSignature() = default;
504 inline bool operator==(const WasmSignature &LHS, const WasmSignature &RHS) {
509 inline bool operator!=(const WasmSignature &LHS, const WasmSignature &RHS) {
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmTypeCheck.h35 wasm::WasmSignature LastSig;
47 bool checkSig(SMLoc ErrorLoc, const wasm::WasmSignature &Sig);
57 void funcDecl(const wasm::WasmSignature &Sig);
59 void setLastSig(const wasm::WasmSignature &Sig) { LastSig = Sig; } in setLastSig()
H A DWebAssemblyAsmParser.cpp229 wasm::WasmSignature Sig;
308 void push(NestingType NT, wasm::WasmSignature Sig = wasm::WasmSignature()) { in push()
472 wasm::WasmSignature Sig({static_cast<wasm::ValType>(BT)}, {}); in addBlockTypeOperand()
739 bool parseSignature(wasm::WasmSignature *Signature) { in parseSignature()
H A DWebAssemblyAsmTypeCheck.cpp50 void WebAssemblyAsmTypeCheck::funcDecl(const wasm::WasmSignature &Sig) { in funcDecl()
173 const wasm::WasmSignature &Sig) { in checkSig()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolWasm.h28 wasm::WasmSignature *Signature = nullptr;
131 const wasm::WasmSignature *getSignature() const { return Signature; } in getSignature()
132 void setSignature(wasm::WasmSignature *Sig) { Signature = Sig; } in setSignature()
H A DMCContext.h77 struct WasmSignature;
152 SpecificBumpPtrAllocator<wasm::WasmSignature> WasmSignatureAllocator;
523 wasm::WasmSignature *createWasmSignature();
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DWasm.h40 const wasm::WasmSignature *Signature) in WasmSymbol()
43 assert(!Signature || Signature->Kind != wasm::WasmSignature::Placeholder); in WasmSymbol()
51 const wasm::WasmSignature *Signature;
144 ArrayRef<wasm::WasmSignature> types() const { return Signatures; } in types()
283 std::vector<wasm::WasmSignature> Signatures;
/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DLLVM.h54 struct WasmSignature;
95 using llvm::wasm::WasmSignature;
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTypeUtilities.h62 std::string signatureToString(const wasm::WasmSignature *Sig);
H A DWebAssemblyMCTypeUtilities.cpp92 std::string WebAssembly::signatureToString(const wasm::WasmSignature *Sig) { in signatureToString()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.h73 wasm::WasmSignature *Sig,
H A DWebAssemblyMachineFunctionInfo.cpp116 wasm::WasmSignature *
H A DWebAssemblyMachineFunctionInfo.h174 wasm::WasmSignature *signatureFromMVTs(MCContext &Ctx,
H A DWebAssemblyAsmPrinter.cpp138 static std::string getEmscriptenInvokeSymbolName(wasm::WasmSignature *Sig) { in getEmscriptenInvokeSymbolName()
157 const Function *F, bool EnableEmEH, wasm::WasmSignature *Sig, in getMCSymbolForFunction()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp234 DenseMap<wasm::WasmSignature, uint32_t> SignatureIndices;
235 SmallVector<wasm::WasmSignature, 4> Signatures;
327 void writeTypeSection(ArrayRef<wasm::WasmSignature> Signatures);
822 ArrayRef<wasm::WasmSignature> Signatures) { in writeTypeSection()
831 for (const wasm::WasmSignature &Sig : Signatures) { in writeTypeSection()
1272 wasm::WasmSignature S; in registerFunctionType()
1294 wasm::WasmSignature S; in registerTagType()
H A DMCContext.cpp429 wasm::WasmSignature *MCContext::createWasmSignature() { in createWasmSignature()
430 return new (WasmSignatureAllocator.Allocate()) wasm::WasmSignature; in createWasmSignature()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp542 const wasm::WasmSignature *Signature = nullptr; in parseNameSection()
715 const wasm::WasmSignature *Signature = nullptr; in parseLinkingSectionSymtab()
1194 wasm::WasmSignature Sig; in parseTypeSection()
1205 Sig.Kind = wasm::WasmSignature::Placeholder; in parseTypeSection()
1235 Sig.Kind = wasm::WasmSignature::Placeholder; in parseTypeSection()
1397 Signatures[Type].Kind = wasm::WasmSignature::Tag; in parseTagSection()
1440 const wasm::WasmSignature *Signature = nullptr; in parseExportSection()