2006-08-16 16:43:33 +02:00
|
|
|
//===-- ARMTargetFrameInfo.h - Define TargetFrameInfo for ARM ---*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 21:36:04 +01:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
2006-08-16 16:43:33 +02: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 08:51:42 +01:00
|
|
|
#include "ARMSubtarget.h"
|
2006-08-16 16:43:33 +02:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2007-01-19 08:51:42 +01:00
|
|
|
class ARMFrameInfo : public TargetFrameInfo {
|
2006-08-16 16:43:33 +02:00
|
|
|
public:
|
2007-07-30 16:51:59 +02:00
|
|
|
explicit ARMFrameInfo(const ARMSubtarget &ST)
|
2007-01-19 08:51:42 +01:00
|
|
|
: TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
|
2006-08-16 16:43:33 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End llvm namespace
|
|
|
|
|
|
|
|
#endif
|