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

#include "llvm/CodeGen/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 97 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

◆ getAliasSet()

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

◆ getMaskUnits()

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

Definition at line 127 of file RDFRegisters.h.

References llvm::Register::stackSlot2Index().

◆ getRefForUnit()

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

Definition at line 123 of file RDFRegisters.h.

◆ getRegMaskBits()

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

Definition at line 109 of file RDFRegisters.h.

References llvm::Register::stackSlot2Index().

Referenced by getAliasSet().

◆ getRegMaskId()

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

◆ getTRI()

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

◆ isRegMaskId()

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

◆ mapTo()

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

◆ normalize()

RegisterRef PhysicalRegisterInfo::normalize ( RegisterRef  RR) const

Definition at line 97 of file RDFRegisters.cpp.

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