LLVM 20.0.0git
|
#include "SIOptimizeExecMasking.h"
#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIRegisterInfo.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/LiveRegUnits.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/InitializePasses.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "si-optimize-exec-masking" |
Functions | |
INITIALIZE_PASS_BEGIN (SIOptimizeExecMaskingLegacy, DEBUG_TYPE, "SI optimize exec mask operations", false, false) INITIALIZE_PASS_END(SIOptimizeExecMaskingLegacy | |
static Register | isLogicalOpOnExec (const MachineInstr &MI) |
If MI is a logical operation on an exec value, return the register copied to. | |
static unsigned | getSaveExecOp (unsigned Opc) |
static bool | isLiveOut (const MachineBasicBlock &MBB, unsigned Reg) |
Variables | |
DEBUG_TYPE | |
SI optimize exec mask | operations |
SI optimize exec mask | false |
#define DEBUG_TYPE "si-optimize-exec-masking" |
Definition at line 23 of file SIOptimizeExecMasking.cpp.
Definition at line 191 of file SIOptimizeExecMasking.cpp.
INITIALIZE_PASS_BEGIN | ( | SIOptimizeExecMaskingLegacy | , |
DEBUG_TYPE | , | ||
"SI optimize exec mask operations" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 338 of file SIOptimizeExecMasking.cpp.
References MBB, and llvm::MachineBasicBlock::successors().
Referenced by llvm::MachineBasicBlock::SplitCriticalEdge().
|
static |
If MI
is a logical operation on an exec value, return the register copied to.
Definition at line 152 of file SIOptimizeExecMasking.cpp.
References llvm::MachineOperand::getReg(), llvm::MachineOperand::isReg(), and MI.
DEBUG_TYPE |
Definition at line 107 of file SIOptimizeExecMasking.cpp.
SI optimize exec mask false |
Definition at line 108 of file SIOptimizeExecMasking.cpp.
SI optimize exec mask operations |
Definition at line 108 of file SIOptimizeExecMasking.cpp.