LLVM 24.0.0git
MSP430RegisterInfo.h
Go to the documentation of this file.
1//===-- MSP430RegisterInfo.h - MSP430 Register Information Impl -*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file contains the MSP430 implementation of the MRegisterInfo class.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_LIB_TARGET_MSP430_MSP430REGISTERINFO_H
14#define LLVM_LIB_TARGET_MSP430_MSP430REGISTERINFO_H
15
17
18#define GET_REGINFO_HEADER
19#include "MSP430GenRegisterInfo.inc"
20
21namespace llvm {
22
24public:
26
27 /// Code Generation virtual methods...
28 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
29
30 BitVector getReservedRegs(const MachineFunction &MF) const override;
31
33 int SPAdj, unsigned FIOperandNum,
34 RegScavenger *RS = nullptr) const override;
35
36 // Debug information queries.
37 Register getFrameRegister(const MachineFunction &MF) const override;
38};
39
40} // end namespace llvm
41
42#endif
uint64_t IntrinsicInst * II
bool eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
const MCPhysReg * getCalleeSavedRegs(const MachineFunction *MF) const override
Code Generation virtual methods...
BitVector getReservedRegs(const MachineFunction &MF) const override
Register getFrameRegister(const MachineFunction &MF) const override
MachineInstrBundleIterator< MachineInstr > iterator
Wrapper class representing virtual and physical registers.
Definition Register.h:20
This is an optimization pass for GlobalISel generic memory operations.
uint16_t MCPhysReg
An unsigned integer type large enough to represent all physical registers, but not necessarily virtua...
Definition MCRegister.h:21