blob: 67ea7b6ce37d89e32d12fc0acb5466460f4db28b [file] [log] [blame]
Rafael Espindolaec46ea32006-08-16 14:43:33 +00001//===-- ARMTargetFrameInfo.h - Define TargetFrameInfo for ARM ---*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file was developed by the "Instituto Nokia de Tecnologia" and
6// is distributed under the University of Illinois Open Source
7// License. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10//
11//
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef ARM_FRAMEINFO_H
16#define ARM_FRAMEINFO_H
17
18#include "ARM.h"
19#include "llvm/Target/TargetFrameInfo.h"
Evan Chenga8e29892007-01-19 07:51:42 +000020#include "ARMSubtarget.h"
Rafael Espindolaec46ea32006-08-16 14:43:33 +000021
22namespace llvm {
23
Evan Chenga8e29892007-01-19 07:51:42 +000024class ARMFrameInfo : public TargetFrameInfo {
Rafael Espindolaec46ea32006-08-16 14:43:33 +000025public:
Dan Gohmanf4522072007-07-30 14:51:59 +000026 explicit ARMFrameInfo(const ARMSubtarget &ST)
Evan Chenga8e29892007-01-19 07:51:42 +000027 : TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
Rafael Espindolaec46ea32006-08-16 14:43:33 +000028 }
Rafael Espindolaec46ea32006-08-16 14:43:33 +000029};
30
31} // End llvm namespace
32
33#endif