LLVM 19.0.0git
Public Member Functions | Friends | List of all members
llvm::PBQP::RegAlloc::AllowedRegVector Class Reference

Holds a vector of the allowed physical regs for a vreg. More...

#include "llvm/CodeGen/RegAllocPBQP.h"

Public Member Functions

 AllowedRegVector ()=default
 
 AllowedRegVector (AllowedRegVector &&)=default
 
 AllowedRegVector (const std::vector< MCRegister > &OptVec)
 
unsigned size () const
 
MCRegister operator[] (size_t I) const
 
bool operator== (const AllowedRegVector &Other) const
 
bool operator!= (const AllowedRegVector &Other) const
 

Friends

hash_code hash_value (const AllowedRegVector &)
 

Detailed Description

Holds a vector of the allowed physical regs for a vreg.

Definition at line 94 of file RegAllocPBQP.h.

Constructor & Destructor Documentation

◆ AllowedRegVector() [1/3]

llvm::PBQP::RegAlloc::AllowedRegVector::AllowedRegVector ( )
default

◆ AllowedRegVector() [2/3]

llvm::PBQP::RegAlloc::AllowedRegVector::AllowedRegVector ( AllowedRegVector &&  )
default

◆ AllowedRegVector() [3/3]

llvm::PBQP::RegAlloc::AllowedRegVector::AllowedRegVector ( const std::vector< MCRegister > &  OptVec)
inline

Definition at line 101 of file RegAllocPBQP.h.

Member Function Documentation

◆ operator!=()

bool llvm::PBQP::RegAlloc::AllowedRegVector::operator!= ( const AllowedRegVector Other) const
inline

Definition at line 115 of file RegAllocPBQP.h.

References llvm::Other.

◆ operator==()

bool llvm::PBQP::RegAlloc::AllowedRegVector::operator== ( const AllowedRegVector Other) const
inline

Definition at line 109 of file RegAllocPBQP.h.

References llvm::Other.

◆ operator[]()

MCRegister llvm::PBQP::RegAlloc::AllowedRegVector::operator[] ( size_t  I) const
inline

Definition at line 107 of file RegAllocPBQP.h.

References I.

◆ size()

unsigned llvm::PBQP::RegAlloc::AllowedRegVector::size ( ) const
inline

Definition at line 106 of file RegAllocPBQP.h.

Friends And Related Function Documentation

◆ hash_value

hash_code hash_value ( const AllowedRegVector OptRegs)
friend

Definition at line 124 of file RegAllocPBQP.h.


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