blob: 405b8f2b9f280385718b8fe3398be263a5a38bc9 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//===-- ARMTargetFrameInfo.h - Define TargetFrameInfo for ARM ---*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner081ce942007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10//
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef ARM_FRAMEINFO_H
15#define ARM_FRAMEINFO_H
16
17#include "ARM.h"
18#include "llvm/Target/TargetFrameInfo.h"
19#include "ARMSubtarget.h"
20
21namespace llvm {
22
23class ARMFrameInfo : public TargetFrameInfo {
24public:
Dan Gohman29146612007-07-30 14:51:59 +000025 explicit ARMFrameInfo(const ARMSubtarget &ST)
Dan Gohmanf17a25c2007-07-18 16:29:46 +000026 : TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
27 }
28};
29
30} // End llvm namespace
31
32#endif