2006-08-16 22:43:33 +08:00
|
|
|
//===-- ARMTargetFrameInfo.h - Define TargetFrameInfo for ARM ---*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-30 04:36:04 +08:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
2006-08-16 22:43:33 +08:00
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef ARM_FRAMEINFO_H
|
|
|
|
#define ARM_FRAMEINFO_H
|
|
|
|
|
|
|
|
#include "ARM.h"
|
|
|
|
#include "llvm/Target/TargetFrameInfo.h"
|
2007-01-19 15:51:42 +08:00
|
|
|
#include "ARMSubtarget.h"
|
2006-08-16 22:43:33 +08:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2007-01-19 15:51:42 +08:00
|
|
|
class ARMFrameInfo : public TargetFrameInfo {
|
2006-08-16 22:43:33 +08:00
|
|
|
public:
|
2007-07-30 22:51:59 +08:00
|
|
|
explicit ARMFrameInfo(const ARMSubtarget &ST)
|
2007-01-19 15:51:42 +08:00
|
|
|
: TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
|
2006-08-16 22:43:33 +08:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End llvm namespace
|
|
|
|
|
|
|
|
#endif
|