LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
llvm::LiveRegSet Struct Reference

A set of live virtual registers and physical register units. More...

#include <RegisterPressure.h>

Collaboration diagram for llvm::LiveRegSet:
Collaboration graph
[legend]

Public Member Functions

bool contains (unsigned Reg) const
 
bool insert (unsigned Reg)
 
bool erase (unsigned Reg)
 

Public Attributes

SparseSet< unsignedPhysRegs
 
SparseSet< unsigned,
VirtReg2IndexFunctor
VirtRegs
 

Detailed Description

A set of live virtual registers and physical register units.

Virtual and physical register numbers require separate sparse sets, but most of the RegisterPressureTracker handles them uniformly.

Definition at line 211 of file RegisterPressure.h.

Member Function Documentation

bool llvm::LiveRegSet::contains ( unsigned  Reg) const
inline
bool llvm::LiveRegSet::erase ( unsigned  Reg)
inline
bool llvm::LiveRegSet::insert ( unsigned  Reg)
inline

Member Data Documentation

SparseSet<unsigned> llvm::LiveRegSet::PhysRegs
SparseSet<unsigned, VirtReg2IndexFunctor> llvm::LiveRegSet::VirtRegs

The documentation for this struct was generated from the following file: