LLVM  13.0.0git
Macros | Functions | Variables
SILateBranchLowering.cpp File Reference
#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/InitializePasses.h"
Include dependency graph for SILateBranchLowering.cpp:

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, bool IsPS)
 
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,
bool  IsPS 
)
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 63 of file SILateBranchLowering.cpp.

◆ false

SI insert s_cbranch_execz false

Definition at line 64 of file SILateBranchLowering.cpp.

◆ instructions

SI insert s_cbranch_execz instructions

Definition at line 64 of file SILateBranchLowering.cpp.