mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-20 10:30:03 +00:00
e8bd0a332a
function that is being lowered is forced to use FP. Currently this is only true for main() / Cygwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28703 91177308-0d34-0410-b5e6-96231b3b80d8
31 lines
1.0 KiB
C++
31 lines
1.0 KiB
C++
//====- X86MachineFuctionInfo.h - X86 machine function info -----*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file was developed by the Evan Cheng and is distributed under
|
|
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file declares X86-specific per-machine-function information.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef X86MACHINEFUNCTIONINFO_H
|
|
#define X86MACHINEFUNCTIONINFO_H
|
|
|
|
#include "llvm/CodeGen/MachineFunction.h"
|
|
|
|
namespace llvm {
|
|
|
|
class X86FunctionInfo : public MachineFunctionInfo {
|
|
bool ForceFramePointer; // Function requires use of frame pointer.
|
|
public:
|
|
X86FunctionInfo(MachineFunction& MF) : ForceFramePointer(false) {}
|
|
bool getForceFramePointer() const { return ForceFramePointer;}
|
|
void setForceFramePointer(bool forceFP) { ForceFramePointer = forceFP; }
|
|
};
|
|
} // End llvm namespace
|
|
|
|
#endif
|