LLVM 22.0.0git
SILowerWWMCopies.cpp File Reference

Lowering the WWM_COPY instructions for various register classes. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "si-lower-wwm-copies"

Functions

 INITIALIZE_PASS_BEGIN (SILowerWWMCopiesLegacy, DEBUG_TYPE, "SI Lower WWM Copies", false, false) INITIALIZE_PASS_END(SILowerWWMCopiesLegacy

Variables

 DEBUG_TYPE
SI Lower WWM Copies
SI Lower WWM false

Detailed Description

Lowering the WWM_COPY instructions for various register classes.

AMDGPU target generates WWM_COPY instruction to differentiate WWM copy from COPY. This pass generates the necessary exec mask manipulation instructions to replicate 'Whole Wave Mode' and lowers WWM_COPY back to COPY.

Definition in file SILowerWWMCopies.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "si-lower-wwm-copies"

Definition at line 30 of file SILowerWWMCopies.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( SILowerWWMCopiesLegacy ,
DEBUG_TYPE ,
"SI Lower WWM Copies" ,
false ,
false  )

Variable Documentation

◆ Copies

SI Lower WWM Copies

Definition at line 79 of file SILowerWWMCopies.cpp.

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 79 of file SILowerWWMCopies.cpp.

◆ false

SI Lower WWM false

Definition at line 80 of file SILowerWWMCopies.cpp.