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

This pass mainly lowers early terminate pseudo instructions. More...

#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/InitializePasses.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "si-late-branch-lowering"
 

Functions

 INITIALIZE_PASS_BEGIN (SILateBranchLowering, DEBUG_TYPE, "SI insert s_cbranch_execz instructions", false, false) INITIALIZE_PASS_END(SILateBranchLowering
 
static void generateEndPgm (MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, const SIInstrInfo *TII, MachineFunction &MF)
 
static void splitBlock (MachineBasicBlock &MBB, MachineInstr &MI, MachineDominatorTree *MDT)
 

Variables

 DEBUG_TYPE
 
SI insert s_cbranch_execz instructions
 
SI insert s_cbranch_execz false
 

Detailed Description

This pass mainly lowers early terminate pseudo instructions.

Definition in file SILateBranchLowering.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "si-late-branch-lowering"

Definition at line 23 of file SILateBranchLowering.cpp.

Function Documentation

◆ generateEndPgm()

static void generateEndPgm ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  I,
DebugLoc  DL,
const SIInstrInfo TII,
MachineFunction MF 
)
static

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( SILateBranchLowering  ,
DEBUG_TYPE  ,
"SI insert s_cbranch_execz instructions"  ,
false  ,
false   
)

◆ splitBlock()

static void splitBlock ( MachineBasicBlock MBB,
MachineInstr MI,
MachineDominatorTree MDT 
)
static

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 64 of file SILateBranchLowering.cpp.

◆ false

SI insert s_cbranch_execz false

Definition at line 65 of file SILateBranchLowering.cpp.

◆ instructions

SI insert s_cbranch_execz instructions

Definition at line 65 of file SILateBranchLowering.cpp.