LLVM: lib/Target/SystemZ/SystemZRegisterInfo.cpp File Reference (original) (raw)
#include "[SystemZRegisterInfo.h](SystemZRegisterInfo%5F8h%5Fsource.html)"#include "[SystemZInstrInfo.h](SystemZInstrInfo%5F8h%5Fsource.html)"#include "[SystemZSubtarget.h](SystemZSubtarget%5F8h%5Fsource.html)"#include "[llvm/ADT/SmallSet.h](SmallSet%5F8h%5Fsource.html)"#include "[llvm/CodeGen/LiveIntervals.h](LiveIntervals%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineInstrBuilder.h](MachineInstrBuilder%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineRegisterInfo.h](MachineRegisterInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetFrameLowering.h](TargetFrameLowering%5F8h%5Fsource.html)"#include "[llvm/CodeGen/VirtRegMap.h](VirtRegMap%5F8h%5Fsource.html)"#include "[llvm/IR/DebugInfoMetadata.h](DebugInfoMetadata%5F8h%5Fsource.html)"#include "SystemZGenRegisterInfo.inc"
Go to the source code of this file.
| Macros | |
|---|---|
| #define | GET_REGINFO_TARGET_DESC |
| Functions | |
|---|---|
| static const TargetRegisterClass * | getRC32 (MachineOperand &MO, const VirtRegMap *VRM, const MachineRegisterInfo *MRI) |
| static void | addHints (ArrayRef< MCPhysReg > Order, SmallVectorImpl< MCPhysReg > &Hints, const TargetRegisterClass *RC, const MachineRegisterInfo *MRI) |
Macro Definition Documentation
◆ GET_REGINFO_TARGET_DESC
#define GET_REGINFO_TARGET_DESC
Definition at line 22 of file SystemZRegisterInfo.cpp.
Function Documentation
◆ addHints()
| void addHints ( ArrayRef< MCPhysReg > Order, SmallVectorImpl< MCPhysReg > & Hints, const TargetRegisterClass * RC, const MachineRegisterInfo * MRI ) | static |
|---|
Definition at line 57 of file SystemZRegisterInfo.cpp.
References llvm::SmallVectorImpl< T >::clear(), llvm::TargetRegisterClass::contains(), llvm::SmallSet< T, N, C >::count(), llvm::from_range, MRI, llvm::SmallVectorTemplateBase< T, bool >::push_back(), and Reg.
Referenced by llvm::SystemZRegisterInfo::getRegAllocationHints().
◆ getRC32()
| const TargetRegisterClass * getRC32 ( MachineOperand & MO, const VirtRegMap * VRM, const MachineRegisterInfo * MRI ) | static |
|---|
Definition at line 27 of file SystemZRegisterInfo.cpp.
References assert(), contains(), llvm::VirtRegMap::getPhys(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getSubReg(), llvm::VirtRegMap::hasPhys(), and MRI.
Referenced by llvm::SystemZRegisterInfo::getRegAllocationHints().