1 //===-- ARMTargetFrameInfo.h - Define TargetFrameInfo for ARM ---*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
14 #ifndef ARM_FRAMEINFO_H
15 #define ARM_FRAMEINFO_H
18 #include "ARMSubtarget.h"
19 #include "llvm/Target/TargetFrameInfo.h"
23 class ARMFrameInfo : public TargetFrameInfo {
25 explicit ARMFrameInfo(const ARMSubtarget &ST)
26 : TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0, 4) {
30 } // End llvm namespace