Lines Matching refs:Type

19 Optional<wasm::ValType> WebAssembly::parseType(StringRef Type) {  in parseType()  argument
22 if (Type == "i32") in parseType()
24 if (Type == "i64") in parseType()
26 if (Type == "f32") in parseType()
28 if (Type == "f64") in parseType()
30 if (Type == "v128" || Type == "i8x16" || Type == "i16x8" || Type == "i32x4" || in parseType()
31 Type == "i64x2" || Type == "f32x4" || Type == "f64x2") in parseType()
33 if (Type == "funcref") in parseType()
35 if (Type == "externref") in parseType()
40 WebAssembly::HeapType WebAssembly::parseHeapType(StringRef Type) { in parseHeapType() argument
41 return StringSwitch<WebAssembly::HeapType>(Type) in parseHeapType()
47 WebAssembly::BlockType WebAssembly::parseBlockType(StringRef Type) { in parseBlockType() argument
49 return StringSwitch<WebAssembly::BlockType>(Type) in parseBlockType()
61 MVT WebAssembly::parseMVT(StringRef Type) { in parseMVT() argument
62 return StringSwitch<MVT>(Type) in parseMVT()
79 const char *WebAssembly::anyTypeToString(unsigned Type) { in anyTypeToString() argument
80 switch (Type) { in anyTypeToString()
104 const char *WebAssembly::typeToString(wasm::ValType Type) { in typeToString() argument
105 return anyTypeToString(static_cast<unsigned>(Type)); in typeToString()
110 for (const auto &Type : List) { in typeListToString() local
111 if (&Type != &List[0]) in typeListToString()
113 S += WebAssembly::typeToString(Type); in typeListToString()
127 wasm::ValType WebAssembly::toValType(MVT Type) { in toValType() argument
128 switch (Type.SimpleTy) { in toValType()