LLVM 19.0.0git
Macros | Functions
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...

#include "Utils/WasmAddressSpaces.h"
#include "Utils/WebAssemblyTypeUtilities.h"
#include "WebAssembly.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstVisitor.h"
#include "llvm/IR/ValueHandle.h"
#include "llvm/Pass.h"

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   
)

Definition at line 51 of file WebAssemblyRefTypeMem2Local.cpp.