LLVM  15.0.0git
Public Member Functions | List of all members
llvm::DefaultEvictionAdvisor Class Reference

#include "CodeGen/RegAllocEvictionAdvisor.h"

Inheritance diagram for llvm::DefaultEvictionAdvisor:
Inheritance graph
[legend]
Collaboration diagram for llvm::DefaultEvictionAdvisor:
Collaboration graph
[legend]

Public Member Functions

 DefaultEvictionAdvisor (const MachineFunction &MF, const RAGreedy &RA)
 
- Public Member Functions inherited from llvm::RegAllocEvictionAdvisor
 RegAllocEvictionAdvisor (const RegAllocEvictionAdvisor &)=delete
 
 RegAllocEvictionAdvisor (RegAllocEvictionAdvisor &&)=delete
 
virtual ~RegAllocEvictionAdvisor ()=default
 
bool isUnusedCalleeSavedReg (MCRegister PhysReg) const
 Returns true if the given PhysReg is a callee saved register and has not been used for allocation yet. More...
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::RegAllocEvictionAdvisor
 RegAllocEvictionAdvisor (const MachineFunction &MF, const RAGreedy &RA)
 
Register canReassign (const LiveInterval &VirtReg, Register PrevReg) const
 
Optional< unsigned > getOrderLimit (const LiveInterval &VirtReg, const AllocationOrder &Order, unsigned CostPerUseLimit) const
 
bool canAllocatePhysReg (unsigned CostPerUseLimit, MCRegister PhysReg) const
 
- Protected Attributes inherited from llvm::RegAllocEvictionAdvisor
const MachineFunctionMF
 
const RAGreedyRA
 
LiveRegMatrix *const Matrix
 
LiveIntervals *const LIS
 
VirtRegMap *const VRM
 
MachineRegisterInfo *const MRI
 
const TargetRegisterInfo *const TRI
 
const RegisterClassInfoRegClassInfo
 
const ArrayRef< uint8_t > RegCosts
 
const bool EnableLocalReassign
 Run or not the local reassignment heuristic. More...
 

Detailed Description

Definition at line 206 of file RegAllocEvictionAdvisor.h.

Constructor & Destructor Documentation

◆ DefaultEvictionAdvisor()

llvm::DefaultEvictionAdvisor::DefaultEvictionAdvisor ( const MachineFunction MF,
const RAGreedy RA 
)
inline

Definition at line 208 of file RegAllocEvictionAdvisor.h.


The documentation for this class was generated from the following files: