LLVM 24.0.0git
SPIRVPreLegalizerCombiner.cpp File Reference

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   "spirv-prelegalizer-combiner"
#define GET_GICOMBINER_TYPES
#define GET_GICOMBINER_CLASS_MEMBERS
#define GET_GICOMBINER_IMPL
#define GET_GICOMBINER_CONSTRUCTOR_INITS

Functions

static bool runPreLegalizerCombiner (MachineFunction &MF, bool ShouldSkip, function_ref< GISelValueTracking *()> GetVT, function_ref< MachineDominatorTree *()> GetMDT)
 INITIALIZE_PASS_BEGIN (SPIRVPreLegalizerCombinerLegacy, DEBUG_TYPE, "Combine SPIRV machine instrs before legalization", false, false) INITIALIZE_PASS_END(SPIRVPreLegalizerCombinerLegacy
FunctionPassllvm::createSPIRVPreLegalizerCombinerLegacyPass ()

Variables

 DEBUG_TYPE
Combine SPIRV machine instrs before legalization
Combine SPIRV machine instrs before false

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "spirv-prelegalizer-combiner"

Definition at line 34 of file SPIRVPreLegalizerCombiner.cpp.

◆ GET_GICOMBINER_CLASS_MEMBERS

#define GET_GICOMBINER_CLASS_MEMBERS

Definition at line 66 of file SPIRVPreLegalizerCombiner.cpp.

◆ GET_GICOMBINER_CONSTRUCTOR_INITS

#define GET_GICOMBINER_CONSTRUCTOR_INITS

◆ GET_GICOMBINER_DEPS

#define GET_GICOMBINER_DEPS

Definition at line 30 of file SPIRVPreLegalizerCombiner.cpp.

◆ GET_GICOMBINER_IMPL

#define GET_GICOMBINER_IMPL

Definition at line 71 of file SPIRVPreLegalizerCombiner.cpp.

◆ GET_GICOMBINER_TYPES

#define GET_GICOMBINER_TYPES

Definition at line 41 of file SPIRVPreLegalizerCombiner.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( SPIRVPreLegalizerCombinerLegacy ,
DEBUG_TYPE ,
"Combine SPIRV machine instrs before legalization" ,
false ,
false  )

◆ runPreLegalizerCombiner()

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 163 of file SPIRVPreLegalizerCombiner.cpp.

◆ false

Combine SPIRV machine instrs before false

Definition at line 164 of file SPIRVPreLegalizerCombiner.cpp.

◆ legalization

Combine SPIRV machine instrs before legalization

Definition at line 164 of file SPIRVPreLegalizerCombiner.cpp.