LLVM 20.0.0git
Namespaces | Enumerations | Functions
WebAssemblyMCTypeUtilities.h File Reference

This file contains the declaration of the WebAssembly-specific type parsing utility functions. More...

#include "llvm/BinaryFormat/Wasm.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::WebAssembly
 

Enumerations

enum class  llvm::WebAssembly::BlockType : unsigned {
  llvm::WebAssembly::Invalid = 0x00 , llvm::WebAssembly::Void = 0x40 , llvm::WebAssembly::I32 = unsigned(wasm::ValType::I32) , llvm::WebAssembly::I64 = unsigned(wasm::ValType::I64) ,
  llvm::WebAssembly::F32 = unsigned(wasm::ValType::F32) , llvm::WebAssembly::F64 = unsigned(wasm::ValType::F64) , llvm::WebAssembly::V128 = unsigned(wasm::ValType::V128) , llvm::WebAssembly::Externref = unsigned(wasm::ValType::EXTERNREF) ,
  llvm::WebAssembly::Funcref = unsigned(wasm::ValType::FUNCREF) , llvm::WebAssembly::Exnref = unsigned(wasm::ValType::EXNREF) , llvm::WebAssembly::Multivalue = 0xffff
}
 Used as immediate MachineOperands for block signatures. More...
 

Functions

bool llvm::WebAssembly::isRefType (wasm::ValType Type)
 
const charllvm::WebAssembly::anyTypeToString (unsigned Type)
 
const charllvm::WebAssembly::typeToString (wasm::ValType Type)
 
std::string llvm::WebAssembly::typeListToString (ArrayRef< wasm::ValType > List)
 
std::string llvm::WebAssembly::signatureToString (const wasm::WasmSignature *Sig)
 
wasm::ValType llvm::WebAssembly::regClassToValType (unsigned RC)
 
std::optional< wasm::ValTypellvm::WebAssembly::parseType (StringRef Type)
 
BlockType llvm::WebAssembly::parseBlockType (StringRef Type)
 

Detailed Description

This file contains the declaration of the WebAssembly-specific type parsing utility functions.

Definition in file WebAssemblyMCTypeUtilities.h.