LLVM 23.0.0git
X86PostLegalizerCombiner.cpp File Reference

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

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Macros

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

Functions

 INITIALIZE_PASS_BEGIN (X86PostLegalizerCombiner, DEBUG_TYPE, "Combine X86 MachineInstrs after legalization", false, false) INITIALIZE_PASS_END(X86PostLegalizerCombiner
FunctionPassllvm::createX86PostLegalizerCombiner ()

Variables

 DEBUG_TYPE
Combine X86 MachineInstrs after legalization
Combine X86 MachineInstrs after false

Detailed Description

Post-legalization combines on generic MachineInstrs.

The combines here must preserve instruction legality.

Lowering combines (e.g. pseudo matching) should be handled by X86PostLegalizerLowering.

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

Definition in file X86PostLegalizerCombiner.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "X86-postlegalizer-combiner"

Definition at line 47 of file X86PostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_CLASS_MEMBERS

#define GET_GICOMBINER_CLASS_MEMBERS

Definition at line 78 of file X86PostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_CONSTRUCTOR_INITS

#define GET_GICOMBINER_CONSTRUCTOR_INITS

◆ GET_GICOMBINER_DEPS

#define GET_GICOMBINER_DEPS

Definition at line 43 of file X86PostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_IMPL

#define GET_GICOMBINER_IMPL

Definition at line 83 of file X86PostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_TYPES

#define GET_GICOMBINER_TYPES

Definition at line 54 of file X86PostLegalizerCombiner.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( X86PostLegalizerCombiner ,
DEBUG_TYPE ,
"Combine X86 MachineInstrs after legalization" ,
false ,
false  )

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 179 of file X86PostLegalizerCombiner.cpp.

◆ false

Combine X86 MachineInstrs after false

Definition at line 180 of file X86PostLegalizerCombiner.cpp.

◆ legalization

Combine X86 MachineInstrs after legalization

Definition at line 180 of file X86PostLegalizerCombiner.cpp.