blob: d304bc8d7a232fa6e58110c6eb27a5a8cfb7a5cd [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"
Dan Gohmanf17a25c2007-07-18 16:29:46 +000018#include "ARMSubtarget.h"
Evan Chengac0e7d62009-07-09 06:49:09 +000019#include "llvm/Target/TargetFrameInfo.h"
Dan Gohmanf17a25c2007-07-18 16:29:46 +000020
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