2006-08-16 14:43:33 +00:00
|
|
|
//===-- ARMTargetFrameInfo.h - Define TargetFrameInfo for ARM ---*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 20:36:04 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
2006-08-16 14:43:33 +00:00
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef ARM_FRAMEINFO_H
|
|
|
|
#define ARM_FRAMEINFO_H
|
|
|
|
|
|
|
|
#include "ARM.h"
|
|
|
|
#include "llvm/Target/TargetFrameInfo.h"
|
2007-01-19 07:51:42 +00:00
|
|
|
#include "ARMSubtarget.h"
|
2006-08-16 14:43:33 +00:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2007-01-19 07:51:42 +00:00
|
|
|
class ARMFrameInfo : public TargetFrameInfo {
|
2006-08-16 14:43:33 +00:00
|
|
|
public:
|
2007-07-30 14:51:59 +00:00
|
|
|
explicit ARMFrameInfo(const ARMSubtarget &ST)
|
2007-01-19 07:51:42 +00:00
|
|
|
: TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
|
2006-08-16 14:43:33 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End llvm namespace
|
|
|
|
|
|
|
|
#endif
|