LLVM API Documentation

ARMFrameInfo.h

Go to the documentation of this file.
00001 //===-- ARMTargetFrameInfo.h - Define TargetFrameInfo for ARM ---*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 //
00011 //
00012 //===----------------------------------------------------------------------===//
00013 
00014 #ifndef ARM_FRAMEINFO_H
00015 #define ARM_FRAMEINFO_H
00016 
00017 #include "ARM.h"
00018 #include "llvm/Target/TargetFrameInfo.h"
00019 #include "ARMSubtarget.h"
00020 
00021 namespace llvm {
00022 
00023 class ARMFrameInfo : public TargetFrameInfo {
00024 public:
00025   explicit ARMFrameInfo(const ARMSubtarget &ST)
00026     : TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
00027   }
00028 };
00029 
00030 } // End llvm namespace
00031 
00032 #endif