LLVM  7.0.0svn
Public Member Functions | List of all members
llvm::SystemZRegisterInfo Struct Reference

#include "Target/SystemZ/SystemZRegisterInfo.h"

Inheritance diagram for llvm::SystemZRegisterInfo:
Inheritance graph
Collaboration diagram for llvm::SystemZRegisterInfo:
Collaboration graph

Public Member Functions

 SystemZRegisterInfo ()
const TargetRegisterClassgetPointerRegClass (const MachineFunction &MF, unsigned Kind=0) const override
 getPointerRegClass - Return the register class to use to hold pointers. More...
bool getRegAllocationHints (unsigned VirtReg, ArrayRef< MCPhysReg > Order, SmallVectorImpl< MCPhysReg > &Hints, const MachineFunction &MF, const VirtRegMap *VRM, const LiveRegMatrix *Matrix) const override
bool enableMultipleCopyHints () const override
bool requiresRegisterScavenging (const MachineFunction &MF) const override
bool requiresFrameIndexScavenging (const MachineFunction &MF) const override
bool trackLivenessAfterRegAlloc (const MachineFunction &MF) const override
const MCPhysReggetCalleeSavedRegs (const MachineFunction *MF) const override
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID CC) const override
BitVector getReservedRegs (const MachineFunction &MF) const override
void eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS) const override
bool shouldCoalesce (MachineInstr *MI, const TargetRegisterClass *SrcRC, unsigned SubReg, const TargetRegisterClass *DstRC, unsigned DstSubReg, const TargetRegisterClass *NewRC, LiveIntervals &LIS) const override
 SrcRC and DstRC will be morphed into NewRC if this returns true. More...
unsigned getFrameRegister (const MachineFunction &MF) const override

Detailed Description

Definition at line 34 of file SystemZRegisterInfo.h.

Constructor & Destructor Documentation

◆ SystemZRegisterInfo()

SystemZRegisterInfo::SystemZRegisterInfo ( )

Definition at line 25 of file SystemZRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

void SystemZRegisterInfo::eliminateFrameIndex ( MachineBasicBlock::iterator  MI,
int  SPAdj,
unsigned  FIOperandNum,
RegScavenger RS 
) const

◆ enableMultipleCopyHints()

bool llvm::SystemZRegisterInfo::enableMultipleCopyHints ( ) const

Definition at line 54 of file SystemZRegisterInfo.h.

◆ getCalleeSavedRegs()

const MCPhysReg * SystemZRegisterInfo::getCalleeSavedRegs ( const MachineFunction MF) const

◆ getCallPreservedMask()

const uint32_t * SystemZRegisterInfo::getCallPreservedMask ( const MachineFunction MF,
CallingConv::ID  CC 
) const

◆ getFrameRegister()

unsigned SystemZRegisterInfo::getFrameRegister ( const MachineFunction MF) const

Definition at line 306 of file SystemZRegisterInfo.cpp.

References llvm::SystemZFrameLowering::hasFP().

◆ getPointerRegClass()

const TargetRegisterClass* llvm::SystemZRegisterInfo::getPointerRegClass ( const MachineFunction MF,
unsigned  Kind = 0 
) const

getPointerRegClass - Return the register class to use to hold pointers.

This is currently only used by LOAD_STACK_GUARD, which requires a non-r0 register, hence ADDR64.

Definition at line 42 of file SystemZRegisterInfo.h.

References Matrix.

◆ getRegAllocationHints()

bool SystemZRegisterInfo::getRegAllocationHints ( unsigned  VirtReg,
ArrayRef< MCPhysReg Order,
SmallVectorImpl< MCPhysReg > &  Hints,
const MachineFunction MF,
const VirtRegMap VRM,
const LiveRegMatrix Matrix 
) const

◆ getReservedRegs()

BitVector SystemZRegisterInfo::getReservedRegs ( const MachineFunction MF) const

◆ requiresFrameIndexScavenging()

bool llvm::SystemZRegisterInfo::requiresFrameIndexScavenging ( const MachineFunction MF) const

Definition at line 60 of file SystemZRegisterInfo.h.

◆ requiresRegisterScavenging()

bool llvm::SystemZRegisterInfo::requiresRegisterScavenging ( const MachineFunction MF) const

Definition at line 57 of file SystemZRegisterInfo.h.

◆ shouldCoalesce()

bool SystemZRegisterInfo::shouldCoalesce ( MachineInstr MI,
const TargetRegisterClass SrcRC,
unsigned  SubReg,
const TargetRegisterClass DstRC,
unsigned  DstSubReg,
const TargetRegisterClass NewRC,
LiveIntervals LIS 
) const

◆ trackLivenessAfterRegAlloc()

bool llvm::SystemZRegisterInfo::trackLivenessAfterRegAlloc ( const MachineFunction MF) const

Definition at line 63 of file SystemZRegisterInfo.h.

References MI, and SubReg.

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