LLVM 20.0.0git
Macros | Functions | Variables
RegUsageInfoCollector.cpp File Reference
#include "llvm/CodeGen/RegUsageInfoCollector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachinePassManager.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/RegisterUsageInfo.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "ip-regalloc"
 

Functions

 STATISTIC (NumCSROpt, "Number of functions optimized for callee saved registers")
 
 INITIALIZE_PASS_BEGIN (RegUsageInfoCollectorLegacy, "RegUsageInfoCollector", "Register Usage Information Collector", false, false) INITIALIZE_PASS_END(RegUsageInfoCollectorLegacy
 
static bool isCallableFunction (const MachineFunction &MF)
 

Variables

 RegUsageInfoCollector
 
Register Usage Information Collector
 
Register Usage Information false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ip-regalloc"

Definition at line 34 of file RegUsageInfoCollector.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( RegUsageInfoCollectorLegacy  ,
"RegUsageInfoCollector"  ,
"Register Usage Information Collector"  ,
false  ,
false   
)

◆ isCallableFunction()

static bool isCallableFunction ( const MachineFunction MF)
static

◆ STATISTIC()

STATISTIC ( NumCSROpt  ,
"Number of functions optimized for callee saved registers"   
)

References RegUsageInfoCollector.

Variable Documentation

◆ Collector

Register Usage Information Collector

◆ false

Register Usage Information false

Definition at line 80 of file RegUsageInfoCollector.cpp.

◆ RegUsageInfoCollector

RegUsageInfoCollector

Definition at line 79 of file RegUsageInfoCollector.cpp.

Referenced by llvm::RegUsageInfoCollectorPass::run(), and STATISTIC().