LLVM 20.0.0git
Macros | Functions | Variables
VirtRegMap.cpp File Reference
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LiveDebugVariables.h"
#include "llvm/CodeGen/LiveInterval.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/LiveRegMatrix.h"
#include "llvm/CodeGen/LiveStacks.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/SlotIndexes.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetOpcodes.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/MC/LaneBitmask.h"
#include "llvm/Pass.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <iterator>
#include <utility>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "regalloc"
 

Functions

 STATISTIC (NumSpillSlots, "Number of spill slots allocated")
 
 STATISTIC (NumIdCopies, "Number of identity moves eliminated after rewriting")
 
 INITIALIZE_PASS (VirtRegMapWrapperLegacy, "virtregmap", "Virtual Register Map", false, true) void VirtRegMap
 
 INITIALIZE_PASS_BEGIN (VirtRegRewriter, "virtregrewriter", "Virtual Register Rewriter", false, false) INITIALIZE_PASS_END(VirtRegRewriter
 

Variables

 virtregrewriter
 
Virtual Register Rewriter
 
Virtual Register false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "regalloc"

Definition at line 51 of file VirtRegMap.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( VirtRegMapWrapperLegacy  ,
"virtregmap"  ,
"Virtual Register Map"  ,
false  ,
true   
)

Definition at line 62 of file VirtRegMap.cpp.

References MRI, TII, and TRI.

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( VirtRegRewriter  ,
"virtregrewriter"  ,
"Virtual Register Rewriter"  ,
false  ,
false   
)

◆ STATISTIC() [1/2]

STATISTIC ( NumIdCopies  ,
"Number of identity moves eliminated after rewriting"   
)

◆ STATISTIC() [2/2]

STATISTIC ( NumSpillSlots  ,
"Number of spill slots allocated"   
)

Variable Documentation

◆ false

Virtual Register false

Definition at line 261 of file VirtRegMap.cpp.

◆ Rewriter

Virtual Register Rewriter

◆ virtregrewriter

virtregrewriter

Definition at line 260 of file VirtRegMap.cpp.