LLVM 20.0.0git
Macros | Functions | Variables
LiveRegMatrix.cpp File Reference
#include "llvm/CodeGen/LiveRegMatrix.h"
#include "RegisterCoalescer.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LiveInterval.h"
#include "llvm/CodeGen/LiveIntervalUnion.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/InitializePasses.h"
#include "llvm/MC/LaneBitmask.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "regalloc"
 

Functions

 STATISTIC (NumAssigned, "Number of registers assigned")
 
 STATISTIC (NumUnassigned, "Number of registers unassigned")
 
 INITIALIZE_PASS_BEGIN (LiveRegMatrix, "liveregmatrix", "Live Register Matrix", false, false) INITIALIZE_PASS_END(LiveRegMatrix
 
template<typename Callable >
static bool foreachUnit (const TargetRegisterInfo *TRI, const LiveInterval &VRegInterval, MCRegister PhysReg, Callable Func)
 

Variables

 liveregmatrix
 
Live Register Matrix
 
Live Register false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "regalloc"

Definition at line 33 of file LiveRegMatrix.cpp.

Function Documentation

◆ foreachUnit()

template<typename Callable >
static bool foreachUnit ( const TargetRegisterInfo TRI,
const LiveInterval VRegInterval,
MCRegister  PhysReg,
Callable  Func 
)
static

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( LiveRegMatrix  ,
"liveregmatrix"  ,
"Live Register Matrix"  ,
false  ,
false   
)

◆ STATISTIC() [1/2]

STATISTIC ( NumAssigned  ,
"Number of registers assigned"   
)

◆ STATISTIC() [2/2]

STATISTIC ( NumUnassigned  ,
"Number of registers unassigned"   
)

Variable Documentation

◆ false

Live Register false

Definition at line 44 of file LiveRegMatrix.cpp.

◆ liveregmatrix

liveregmatrix

Definition at line 43 of file LiveRegMatrix.cpp.

◆ Matrix

Live Register Matrix