LLVM  8.0.1
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< unsigned > &OptVec)
 
unsigned size () const
 
unsigned 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 93 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< unsigned > &  OptVec)
inline

Definition at line 100 of file RegAllocPBQP.h.

References llvm::copy().

Member Function Documentation

◆ operator!=()

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

Definition at line 114 of file RegAllocPBQP.h.

◆ operator==()

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

Definition at line 108 of file RegAllocPBQP.h.

References llvm::lltok::equal.

◆ operator[]()

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

Definition at line 106 of file RegAllocPBQP.h.

References I.

◆ size()

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

Definition at line 105 of file RegAllocPBQP.h.

Friends And Related Function Documentation

◆ hash_value

hash_code hash_value ( const AllowedRegVector OptRegs)
friend

Definition at line 123 of file RegAllocPBQP.h.


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