LLVM
8.0.1
|
#include "Target/Hexagon/RDFRegisters.h"
Public Member Functions | |
PhysicalRegisterInfo (const TargetRegisterInfo &tri, const MachineFunction &mf) | |
RegisterId | getRegMaskId (const uint32_t *RM) const |
const uint32_t * | getRegMaskBits (RegisterId R) const |
RegisterRef | normalize (RegisterRef RR) const |
bool | alias (RegisterRef RA, RegisterRef RB) const |
std::set< RegisterId > | getAliasSet (RegisterId Reg) const |
RegisterRef | getRefForUnit (uint32_t U) const |
const BitVector & | getMaskUnits (RegisterId MaskId) const |
RegisterRef | mapTo (RegisterRef RR, unsigned R) const |
const TargetRegisterInfo & | getTRI () const |
Static Public Member Functions | |
static bool | isRegMaskId (RegisterId R) |
Definition at line 98 of file RDFRegisters.h.
PhysicalRegisterInfo::PhysicalRegisterInfo | ( | const TargetRegisterInfo & | tri, |
const MachineFunction & | mf | ||
) |
Definition at line 28 of file RDFRegisters.cpp.
References assert(), B, F(), llvm::rdf::IndexedSet< T, N >::get(), llvm::LaneBitmask::getAll(), llvm::MCRegisterInfo::getNumRegs(), llvm::MCRegisterInfo::getNumRegUnits(), llvm::TargetRegisterInfo::getRegMasks(), I, llvm::tgtok::In, llvm::rdf::IndexedSet< T, N >::insert(), llvm::MCRegisterInfo::DiffListIterator::isValid(), llvm::MCRegUnitRootIterator::isValid(), P, Reg, llvm::TargetRegisterInfo::regclasses(), llvm::NVPTX::PTXCvtMode::RM, and llvm::rdf::IndexedSet< T, N >::size().
|
inline |
Definition at line 116 of file RDFRegisters.h.
References llvm::rdf::RegisterRef::Reg.
Referenced by llvm::rdf::DataFlowGraph::getNextShadow(), and llvm::rdf::DataFlowGraph::restrictRef().
std::set< RegisterId > PhysicalRegisterInfo::getAliasSet | ( | RegisterId | Reg | ) | const |
Definition at line 102 of file RDFRegisters.cpp.
References assert(), C, llvm::LaneBitmask::getAll(), llvm::MCRegisterInfo::getNumRegs(), getRegMaskBits(), getRegMaskId(), llvm::TargetRegisterInfo::getSubRegIndexLaneMask(), llvm::TargetRegisterInfo::isPhysicalRegister(), isRegMaskId(), llvm::MCRegUnitMaskIterator::isValid(), llvm::MCRegAliasIterator::isValid(), llvm::TargetRegisterClass::LaneMask, llvm::rdf::RegisterRef::Mask, MI, llvm::LaneBitmask::none(), RA, llvm::rdf::RegisterRef::Reg, llvm::NVPTX::PTXCvtMode::RM, llvm::NVPTX::PTXCvtMode::RN, and SI.
Referenced by llvm::rdf::DataFlowGraph::pushAllDefs().
|
inline |
Definition at line 128 of file RDFRegisters.h.
References llvm::TargetRegisterInfo::stackSlot2Index().
|
inline |
Definition at line 124 of file RDFRegisters.h.
|
inline |
Definition at line 110 of file RDFRegisters.h.
References llvm::TargetRegisterInfo::stackSlot2Index().
Referenced by getAliasSet().
|
inline |
Definition at line 106 of file RDFRegisters.h.
References llvm::TargetRegisterInfo::index2StackSlot().
Referenced by getAliasSet(), and llvm::rdf::DataFlowGraph::makeRegRef().
|
inline |
Definition at line 133 of file RDFRegisters.h.
References llvm::BitmaskEnumDetail::Mask(), RA, llvm::NVPTX::PTXCvtMode::RM, llvm::NVPTX::PTXCvtMode::RN, and TRI.
|
inlinestatic |
Definition at line 102 of file RDFRegisters.h.
References llvm::TargetRegisterInfo::isStackSlot().
Referenced by getAliasSet(), llvm::rdf::RegisterAggr::hasAliasOf(), llvm::rdf::RegisterAggr::hasCoverOf(), llvm::rdf::RegisterAggr::insert(), and llvm::rdf::DataFlowGraph::makeRegRef().
RegisterRef PhysicalRegisterInfo::mapTo | ( | RegisterRef | RR, |
unsigned | R | ||
) | const |
Definition at line 226 of file RDFRegisters.cpp.
References llvm::TargetRegisterInfo::composeSubRegIndexLaneMask(), llvm::LaneBitmask::getAll(), llvm::MCRegisterInfo::getSubRegIndex(), llvm_unreachable, llvm::rdf::RegisterRef::Mask, llvm::rdf::RegisterRef::Reg, and llvm::TargetRegisterInfo::reverseComposeSubRegIndexLaneMask().
RegisterRef PhysicalRegisterInfo::normalize | ( | RegisterRef | RR | ) | const |
Definition at line 98 of file RDFRegisters.cpp.