LLVM 20.0.0git
Macros | Functions | Variables
SILowerWWMCopies.cpp File Reference

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

#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/InitializePasses.h"

Go to the source code of this file.

Macros

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

Functions

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

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 29 of file SILowerWWMCopies.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

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

Variable Documentation

◆ Copies

SI Lower WWM Copies

Definition at line 68 of file SILowerWWMCopies.cpp.

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 68 of file SILowerWWMCopies.cpp.

◆ false

SI Lower WWM false

Definition at line 68 of file SILowerWWMCopies.cpp.