LLVM: lib/Target/RISCV/GISel/RISCVPostLegalizerCombiner.cpp File Reference (original) (raw)

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

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.

DEBUG_TYPE

#define DEBUG_TYPE "riscv-postlegalizer-combiner"

GET_GICOMBINER_CLASS_MEMBERS

#define GET_GICOMBINER_CLASS_MEMBERS

GET_GICOMBINER_CONSTRUCTOR_INITS

#define GET_GICOMBINER_CONSTRUCTOR_INITS

GET_GICOMBINER_DEPS

#define GET_GICOMBINER_DEPS

GET_GICOMBINER_IMPL

#define GET_GICOMBINER_IMPL

GET_GICOMBINER_TYPES

#define GET_GICOMBINER_TYPES

INITIALIZE_PASS_BEGIN()

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

DEBUG_TYPE

false

Combine RISC V MachineInstrs after false

legalization

Combine RISC V MachineInstrs after legalization