LLVM 22.0.0git
WebAssemblyRefTypeMem2Local.cpp File Reference

Assign reference type allocas to local addrspace (addrspace(1)) so that their loads and stores can be lowered to local.gets/local.sets. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "wasm-ref-type-mem2local"

Functions

 INITIALIZE_PASS (WebAssemblyRefTypeMem2Local, DEBUG_TYPE, "Assign reference type allocas to local address space", true, false) FunctionPass *llvm

Detailed Description

Assign reference type allocas to local addrspace (addrspace(1)) so that their loads and stores can be lowered to local.gets/local.sets.

Definition in file WebAssemblyRefTypeMem2Local.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "wasm-ref-type-mem2local"

Definition at line 24 of file WebAssemblyRefTypeMem2Local.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( WebAssemblyRefTypeMem2Local ,
DEBUG_TYPE ,
"Assign reference type allocas to local address space" ,
true ,
false  )