LLVM: lib/CodeGen/LocalStackSlotAllocation.cpp File Reference (original) (raw)
Go to the source code of this file.
Functions |
|
|
STATISTIC (NumAllocations, "Number of frame indices allocated into local block") |
|
|
|
STATISTIC (NumBaseRegisters, "Number of virtual frame base registers allocated") |
|
|
|
STATISTIC (NumReplacements, "Number of frame indices references replaced") |
|
|
|
INITIALIZE_PASS (LocalStackSlotPass, DEBUG_TYPE, "Local Stack Slot Allocation", false, false) bool LocalStackSlotImpl |
|
|
static bool |
lookupCandidateBaseReg (unsigned BaseReg, int64_t BaseOffset, int64_t FrameSizeAdjust, int64_t LocalFrameOffset, const MachineInstr &MI, const TargetRegisterInfo *TRI) |
|
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "localstackalloc"
◆ INITIALIZE_PASS()
INITIALIZE_PASS |
( |
LocalStackSlotPass |
, |
DEBUG_TYPE |
, |
|
|
"Local Stack Slot Allocation" |
, |
|
|
false |
, |
|
|
false |
|
|
|
) |
|
|
|
◆ lookupCandidateBaseReg()
◆ STATISTIC() [1/3]
STATISTIC |
( |
NumAllocations |
, |
"Number of frame indices allocated into local block" |
|
|
|
) |
|
|
|
◆ STATISTIC() [2/3]
STATISTIC |
( |
NumBaseRegisters |
, |
"Number of virtual frame base registers allocated" |
|
|
|
) |
|
|
|
◆ STATISTIC() [3/3]
STATISTIC |
( |
NumReplacements |
, |
"Number of frame indices references replaced" |
|
|
|
) |
|
|
|
References MI.