LLVM 24.0.0git
RISCVPostLegalizerCombiner.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   "riscv-postlegalizer-combiner"
#define GET_GICOMBINER_TYPES
#define GET_GICOMBINER_CLASS_MEMBERS
#define GET_GICOMBINER_IMPL
#define GET_GICOMBINER_CONSTRUCTOR_INITS

Functions

static bool runCombinerOnMachineFunction (MachineFunction &MF, function_ref< bool()> ShouldSkip, function_ref< GISelValueTracking *()> GetVT, function_ref< MachineDominatorTree *()> GetMDT, function_ref< GISelCSEInfo *()> GetCSEInfo)
 INITIALIZE_PASS_BEGIN (RISCVPostLegalizerCombinerLegacy, DEBUG_TYPE, "Combine RISC-V MachineInstrs after legalization", false, false) INITIALIZE_PASS_END(RISCVPostLegalizerCombinerLegacy

Variables

 DEBUG_TYPE
Combine RISC V MachineInstrs after legalization
Combine RISC V 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 RISCVPreLegalizerCombiner.

Definition in file RISCVPostLegalizerCombiner.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "riscv-postlegalizer-combiner"

Definition at line 42 of file RISCVPostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_CLASS_MEMBERS

#define GET_GICOMBINER_CLASS_MEMBERS

Definition at line 117 of file RISCVPostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_CONSTRUCTOR_INITS

#define GET_GICOMBINER_CONSTRUCTOR_INITS

◆ GET_GICOMBINER_DEPS

#define GET_GICOMBINER_DEPS

Definition at line 38 of file RISCVPostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_IMPL

#define GET_GICOMBINER_IMPL

Definition at line 122 of file RISCVPostLegalizerCombiner.cpp.

◆ GET_GICOMBINER_TYPES

#define GET_GICOMBINER_TYPES

Definition at line 49 of file RISCVPostLegalizerCombiner.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( RISCVPostLegalizerCombinerLegacy ,
DEBUG_TYPE ,
"Combine RISC-V MachineInstrs after legalization" ,
false ,
false  )

◆ runCombinerOnMachineFunction()

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 210 of file RISCVPostLegalizerCombiner.cpp.

◆ false

Combine RISC V MachineInstrs after false

Definition at line 211 of file RISCVPostLegalizerCombiner.cpp.

◆ legalization

Combine RISC V MachineInstrs after legalization

Definition at line 211 of file RISCVPostLegalizerCombiner.cpp.