LLVM: lib/CodeGen/RegAllocFast.cpp File Reference (original) (raw)

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< bool > IgnoreMissingDefs ("rafast-ignore-missing-defs", cl::Hidden)
static RegisterRegAlloc fastRegAlloc ("fast", "fast register allocator", createFastRegisterAllocator)

DEBUG_TYPE

#define DEBUG_TYPE "regalloc"

dominates()

INITIALIZE_PASS()

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

isCoalescable()

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" )

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