LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::AVRRegisterInfo Class Reference

Utilities relating to AVR registers. More...

#include "Target/AVR/AVRRegisterInfo.h"

Inheritance diagram for llvm::AVRRegisterInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::AVRRegisterInfo:
Collaboration graph
[legend]

Public Member Functions

 AVRRegisterInfo ()
 
const uint16_t * getCalleeSavedRegs (const MachineFunction *MF=0) const override
 
const uint32_tgetCallPreservedMask (const MachineFunction &MF, CallingConv::ID CC) const override
 
BitVector getReservedRegs (const MachineFunction &MF) const override
 
const TargetRegisterClassgetLargestLegalSuperClass (const TargetRegisterClass *RC, const MachineFunction &MF) const override
 
void eliminateFrameIndex (MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=NULL) const override
 Stack Frame Processing Methods. More...
 
unsigned getFrameRegister (const MachineFunction &MF) const override
 
const TargetRegisterClassgetPointerRegClass (const MachineFunction &MF, unsigned Kind=0) const override
 
void splitReg (unsigned Reg, unsigned &LoReg, unsigned &HiReg) const
 Splits a 16-bit DREGS register into the lo/hi register pair. More...
 

Detailed Description

Utilities relating to AVR registers.

Definition at line 25 of file AVRRegisterInfo.h.

Constructor & Destructor Documentation

◆ AVRRegisterInfo()

llvm::AVRRegisterInfo::AVRRegisterInfo ( )

Definition at line 33 of file AVRRegisterInfo.cpp.

Member Function Documentation

◆ eliminateFrameIndex()

void llvm::AVRRegisterInfo::eliminateFrameIndex ( MachineBasicBlock::iterator  MI,
int  SPAdj,
unsigned  FIOperandNum,
RegScavenger RS = NULL 
) const
override

◆ getCalleeSavedRegs()

const uint16_t * llvm::AVRRegisterInfo::getCalleeSavedRegs ( const MachineFunction MF = 0) const
override

◆ getCallPreservedMask()

const uint32_t * llvm::AVRRegisterInfo::getCallPreservedMask ( const MachineFunction MF,
CallingConv::ID  CC 
) const
override

◆ getFrameRegister()

unsigned llvm::AVRRegisterInfo::getFrameRegister ( const MachineFunction MF) const
override

◆ getLargestLegalSuperClass()

const TargetRegisterClass * llvm::AVRRegisterInfo::getLargestLegalSuperClass ( const TargetRegisterClass RC,
const MachineFunction MF 
) const
override

◆ getPointerRegClass()

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

Definition at line 258 of file AVRRegisterInfo.cpp.

◆ getReservedRegs()

BitVector llvm::AVRRegisterInfo::getReservedRegs ( const MachineFunction MF) const
override

Definition at line 52 of file AVRRegisterInfo.cpp.

References llvm::BitVector::set().

◆ splitReg()

void llvm::AVRRegisterInfo::splitReg ( unsigned  Reg,
unsigned LoReg,
unsigned HiReg 
) const

Splits a 16-bit DREGS register into the lo/hi register pair.

Parameters
RegA 16-bit register to split.

Definition at line 266 of file AVRRegisterInfo.cpp.

References assert(), and contains().


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