2006-08-16 22:43:33 +08: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 15:51:42 +08:00
|
|
|
#include "ARMSubtarget.h"
|
2006-08-16 22:43:33 +08:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2007-01-19 15:51:42 +08:00
|
|
|
class ARMFrameInfo : public TargetFrameInfo {
|
2006-08-16 22:43:33 +08:00
|
|
|
public:
|
2007-01-19 15:51:42 +08:00
|
|
|
ARMFrameInfo(const ARMSubtarget &ST)
|
|
|
|
: TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
|
2006-08-16 22:43:33 +08:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End llvm namespace
|
|
|
|
|
|
|
|
#endif
|