LLVM 20.0.0git
Macros | Functions
WebAssemblyMCLowerPrePass.cpp File Reference

Some information in MC lowering / asm printing gets generated as instructions get emitted, but may be necessary at the start, such as for .globaltype declarations. More...

#include "WebAssembly.h"
#include "WebAssemblyUtilities.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "wasm-mclower-prepass"
 

Functions

 INITIALIZE_PASS (WebAssemblyMCLowerPrePass, DEBUG_TYPE, "Collects information ahead of time for MC lowering", false, false) ModulePass *llvm
 

Detailed Description

Some information in MC lowering / asm printing gets generated as instructions get emitted, but may be necessary at the start, such as for .globaltype declarations.

This pass collects this information.

Definition in file WebAssemblyMCLowerPrePass.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "wasm-mclower-prepass"

Definition at line 27 of file WebAssemblyMCLowerPrePass.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( WebAssemblyMCLowerPrePass  ,
DEBUG_TYPE  ,
"Collects information ahead of time for MC lowering"  ,
false  ,
false   
)

Definition at line 49 of file WebAssemblyMCLowerPrePass.cpp.