2006-08-16 14:43:33 +00:00
|
|
|
//===-- ARMTargetFrameInfo.h - Define TargetFrameInfo for ARM ---*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file was developed by the "Instituto Nokia de Tecnologia" and
|
|
|
|
// is distributed under the University of Illinois Open Source
|
|
|
|
// 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-01-19 07:51:42 +00:00
|
|
|
ARMFrameInfo(const ARMSubtarget &ST)
|
|
|
|
: TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
|
2006-08-16 14:43:33 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End llvm namespace
|
|
|
|
|
|
|
|
#endif
|