mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
4403b930f8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75909 91177308-0d34-0410-b5e6-96231b3b80d8
40 lines
1.3 KiB
C++
40 lines
1.3 KiB
C++
//==- SystemZMachineFuctionInfo.h - SystemZ machine function info -*- C++ -*-=//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file declares SystemZ-specific per-machine-function information.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef SYSTEMZMACHINEFUNCTIONINFO_H
|
|
#define SYSTEMZMACHINEFUNCTIONINFO_H
|
|
|
|
#include "llvm/CodeGen/MachineFunction.h"
|
|
|
|
namespace llvm {
|
|
|
|
/// SystemZMachineFunctionInfo - This class is derived from MachineFunction and
|
|
/// contains private SystemZ target-specific information for each MachineFunction.
|
|
class SystemZMachineFunctionInfo : public MachineFunctionInfo {
|
|
/// CalleeSavedFrameSize - Size of the callee-saved register portion of the
|
|
/// stack frame in bytes.
|
|
unsigned CalleeSavedFrameSize;
|
|
|
|
public:
|
|
SystemZMachineFunctionInfo() : CalleeSavedFrameSize(0) {}
|
|
|
|
SystemZMachineFunctionInfo(MachineFunction &MF) : CalleeSavedFrameSize(0) {}
|
|
|
|
unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; }
|
|
void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
|
|
};
|
|
|
|
} // End llvm namespace
|
|
|
|
#endif
|