LLVM 17.0.0git
Namespaces | Enumerations | Functions
WebAssemblyTypeUtilities.h File Reference

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

#include "MCTargetDesc/WebAssemblyMCTypeUtilities.h"
#include "llvm/BinaryFormat/Wasm.h"
#include "llvm/CodeGen/MachineValueType.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/MC/MCSymbolWasm.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  llvm::WebAssembly::WasmAddressSpace : unsigned { llvm::WebAssembly::WASM_ADDRESS_SPACE_DEFAULT = 0 , llvm::WebAssembly::WASM_ADDRESS_SPACE_VAR = 1 , llvm::WebAssembly::WASM_ADDRESS_SPACE_EXTERNREF = 10 , llvm::WebAssembly::WASM_ADDRESS_SPACE_FUNCREF = 20 }
 

Functions

bool llvm::WebAssembly::isDefaultAddressSpace (unsigned AS)
 
bool llvm::WebAssembly::isWasmVarAddressSpace (unsigned AS)
 
bool llvm::WebAssembly::isValidAddressSpace (unsigned AS)
 
bool llvm::WebAssembly::isFuncrefType (const Type *Ty)
 
bool llvm::WebAssembly::isExternrefType (const Type *Ty)
 
bool llvm::WebAssembly::isRefType (const Type *Ty)
 
MVT llvm::WebAssembly::parseMVT (StringRef Type)
 
wasm::ValType llvm::WebAssembly::toValType (MVT Type)
 
wasm::ValType llvm::WebAssembly::regClassToValType (const TargetRegisterClass *RC)
 
void llvm::WebAssembly::wasmSymbolSetType (MCSymbolWasm *Sym, const Type *GlobalVT, const ArrayRef< MVT > &VTs)
 Sets a Wasm Symbol Type.
 

Detailed Description

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

Definition in file WebAssemblyTypeUtilities.h.