LLVM  8.0.1
Classes | Public Member Functions | Static Public Member Functions | List of all members
llvm::rdf::PhysicalRegisterInfo Struct Reference

#include "Target/Hexagon/RDFRegisters.h"

Public Member Functions

 PhysicalRegisterInfo (const TargetRegisterInfo &tri, const MachineFunction &mf)
 
RegisterId getRegMaskId (const uint32_t *RM) const
 
const uint32_tgetRegMaskBits (RegisterId R) const
 
RegisterRef normalize (RegisterRef RR) const
 
bool alias (RegisterRef RA, RegisterRef RB) const
 
std::set< RegisterIdgetAliasSet (RegisterId Reg) const
 
RegisterRef getRefForUnit (uint32_t U) const
 
const BitVectorgetMaskUnits (RegisterId MaskId) const
 
RegisterRef mapTo (RegisterRef RR, unsigned R) const
 
const TargetRegisterInfogetTRI () const
 

Static Public Member Functions

static bool isRegMaskId (RegisterId R)
 

Detailed Description

Definition at line 98 of file RDFRegisters.h.

Constructor & Destructor Documentation

◆ PhysicalRegisterInfo()

PhysicalRegisterInfo::PhysicalRegisterInfo ( const TargetRegisterInfo tri,
const MachineFunction mf 
)

Member Function Documentation

◆ alias()

bool llvm::rdf::PhysicalRegisterInfo::alias ( RegisterRef  RA,
RegisterRef  RB 
) const
inline

◆ getAliasSet()

std::set< RegisterId > PhysicalRegisterInfo::getAliasSet ( RegisterId  Reg) const

◆ getMaskUnits()

const BitVector& llvm::rdf::PhysicalRegisterInfo::getMaskUnits ( RegisterId  MaskId) const
inline

Definition at line 128 of file RDFRegisters.h.

References llvm::TargetRegisterInfo::stackSlot2Index().

◆ getRefForUnit()

RegisterRef llvm::rdf::PhysicalRegisterInfo::getRefForUnit ( uint32_t  U) const
inline

Definition at line 124 of file RDFRegisters.h.

◆ getRegMaskBits()

const uint32_t* llvm::rdf::PhysicalRegisterInfo::getRegMaskBits ( RegisterId  R) const
inline

Definition at line 110 of file RDFRegisters.h.

References llvm::TargetRegisterInfo::stackSlot2Index().

Referenced by getAliasSet().

◆ getRegMaskId()

RegisterId llvm::rdf::PhysicalRegisterInfo::getRegMaskId ( const uint32_t RM) const
inline

◆ getTRI()

const TargetRegisterInfo& llvm::rdf::PhysicalRegisterInfo::getTRI ( ) const
inline

◆ isRegMaskId()

static bool llvm::rdf::PhysicalRegisterInfo::isRegMaskId ( RegisterId  R)
inlinestatic

◆ mapTo()

RegisterRef PhysicalRegisterInfo::mapTo ( RegisterRef  RR,
unsigned  R 
) const

◆ normalize()

RegisterRef PhysicalRegisterInfo::normalize ( RegisterRef  RR) const

Definition at line 98 of file RDFRegisters.cpp.


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