LLVM 23.0.0git
WebAssemblyPostLegalizerCombiner.cpp File Reference

Post-legalization combines on generic MachineInstrs. More...

Go to the source code of this file.

Macros

#define GET_GICOMBINER_DEPS
#define DEBUG_TYPE   "wasm-postlegalizer-combiner"
#define GET_GICOMBINER_TYPES
#define GET_GICOMBINER_CLASS_MEMBERS
#define GET_GICOMBINER_IMPL
#define GET_GICOMBINER_CONSTRUCTOR_INITS

Functions

 INITIALIZE_PASS_BEGIN (WebAssemblyPostLegalizerCombiner, DEBUG_TYPE, "Combine WebAssembly MachineInstrs after legalization", false, false) INITIALIZE_PASS_END(WebAssemblyPostLegalizerCombiner

Variables

 DEBUG_TYPE
Combine WebAssembly MachineInstrs after legalization
Combine WebAssembly MachineInstrs after false

Detailed Description

Post-legalization combines on generic MachineInstrs.

The combines here must preserve instruction legality.

Combines which don't rely on instruction legality should go in the WebAssemblyPreLegalizerCombiner.

Definition in file WebAssemblyPostLegalizerCombiner.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "wasm-postlegalizer-combiner"

Definition at line 36 of file WebAssemblyPostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_CLASS_MEMBERS

#define GET_GICOMBINER_CLASS_MEMBERS

Definition at line 65 of file WebAssemblyPostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_CONSTRUCTOR_INITS

#define GET_GICOMBINER_CONSTRUCTOR_INITS

◆ GET_GICOMBINER_DEPS

#define GET_GICOMBINER_DEPS

Definition at line 32 of file WebAssemblyPostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_IMPL

#define GET_GICOMBINER_IMPL

Definition at line 70 of file WebAssemblyPostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_TYPES

#define GET_GICOMBINER_TYPES

Definition at line 42 of file WebAssemblyPostLegalizerCombiner.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( WebAssemblyPostLegalizerCombiner ,
DEBUG_TYPE ,
"Combine WebAssembly MachineInstrs after legalization" ,
false ,
false  )

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 170 of file WebAssemblyPostLegalizerCombiner.cpp.

◆ false

Combine WebAssembly MachineInstrs after false

Definition at line 172 of file WebAssemblyPostLegalizerCombiner.cpp.

◆ legalization

Combine WebAssembly MachineInstrs after legalization

Definition at line 171 of file WebAssemblyPostLegalizerCombiner.cpp.