LLVM: lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTypeUtilities.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYMCTYPEUTILITIES_H
16#define LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYMCTYPEUTILITIES_H
17
19
20namespace llvm {
21
23
24
36
37
38
39
40
41
42
43
44
46};
47
52
53
54
55
56
57
60
61
63
64
65
67
68
70
71
72
75
76}
77}
78
79#endif
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
StringRef - Represent a constant reference to a string, i.e.
The instances of the Type class are immutable: once they are created, they are never changed.
const char * typeToString(wasm::ValType Type)
BlockType parseBlockType(StringRef Type)
wasm::ValType regClassToValType(unsigned RC)
bool isRefType(wasm::ValType Type)
Definition WebAssemblyMCTypeUtilities.h:48
BlockType
Used as immediate MachineOperands for block signatures.
Definition WebAssemblyMCTypeUtilities.h:25
@ F64
Definition WebAssemblyMCTypeUtilities.h:31
@ Funcref
Definition WebAssemblyMCTypeUtilities.h:34
@ F32
Definition WebAssemblyMCTypeUtilities.h:30
@ Invalid
Definition WebAssemblyMCTypeUtilities.h:26
@ Void
Definition WebAssemblyMCTypeUtilities.h:27
@ Exnref
Definition WebAssemblyMCTypeUtilities.h:35
@ Multivalue
Definition WebAssemblyMCTypeUtilities.h:45
@ V128
Definition WebAssemblyMCTypeUtilities.h:32
@ Externref
Definition WebAssemblyMCTypeUtilities.h:33
@ I32
Definition WebAssemblyMCTypeUtilities.h:28
@ I64
Definition WebAssemblyMCTypeUtilities.h:29
std::string signatureToString(const wasm::WasmSignature *Sig)
const char * anyTypeToString(unsigned Type)
std::string typeListToString(ArrayRef< wasm::ValType > List)
std::optional< wasm::ValType > parseType(StringRef Type)
This is an optimization pass for GlobalISel generic memory operations.