mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
75473b49ea
llvm-svn: 40589
34 lines
853 B
C++
34 lines
853 B
C++
//===-- 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"
|
|
#include "ARMSubtarget.h"
|
|
|
|
namespace llvm {
|
|
|
|
class ARMFrameInfo : public TargetFrameInfo {
|
|
public:
|
|
explicit ARMFrameInfo(const ARMSubtarget &ST)
|
|
: TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
|
|
}
|
|
};
|
|
|
|
} // End llvm namespace
|
|
|
|
#endif
|