LLVM 22.0.0git
RegAllocFast.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "regalloc"

Functions

 STATISTIC (NumStores, "Number of stores added")
 STATISTIC (NumLoads, "Number of loads added")
 STATISTIC (NumCoalesced, "Number of copies coalesced")
 INITIALIZE_PASS (RegAllocFast, "regallocfast", "Fast Register Allocator", false, false) bool RegAllocFastImpl
static bool dominates (InstrPosIndexes &PosIndexes, const MachineInstr &A, const MachineInstr &B)
static bool isCoalescable (const MachineInstr &MI)
static bool isTiedToNotUndef (const MachineOperand &MO)

Variables

static cl::opt< boolIgnoreMissingDefs ("rafast-ignore-missing-defs", cl::Hidden)
static RegisterRegAlloc fastRegAlloc ("fast", "fast register allocator", createFastRegisterAllocator)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "regalloc"

Definition at line 51 of file RegAllocFast.cpp.

Function Documentation

◆ dominates()

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( RegAllocFast ,
"regallocfast" ,
"Fast Register Allocator" ,
false ,
false  )

Definition at line 440 of file RegAllocFast.cpp.

References assert(), const, MRI, Reg, and TRI.

◆ isCoalescable()

bool isCoalescable ( const MachineInstr & MI)
static

Definition at line 878 of file RegAllocFast.cpp.

References MI.

◆ isTiedToNotUndef()

◆ STATISTIC() [1/3]

STATISTIC ( NumCoalesced ,
"Number of copies coalesced"  )

◆ STATISTIC() [2/3]

STATISTIC ( NumLoads ,
"Number of loads added"  )

◆ STATISTIC() [3/3]

STATISTIC ( NumStores ,
"Number of stores added"  )

Variable Documentation

◆ fastRegAlloc

RegisterRegAlloc fastRegAlloc("fast", "fast register allocator", createFastRegisterAllocator) ( "fast" ,
"fast register allocator" ,
createFastRegisterAllocator  )
static

◆ IgnoreMissingDefs

cl::opt< bool > IgnoreMissingDefs("rafast-ignore-missing-defs", cl::Hidden) ( "rafast-ignore-missing-defs" ,
cl::Hidden  )
static