Updated source file headers to llvm coding standard.
[oota-llvm.git] / lib / Target / CellSPU / SPUFrameInfo.cpp
1 //===-- SPUTargetMachine.cpp - Define TargetMachine for Cell SPU ----------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by a team from the Computer Systems Research
6 // Department at The Aerospace Corporation and is distributed under the
7 // University of Illinois Open Source License. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10 //
11 // Top-level implementation for the Cell SPU target.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #include "SPU.h"
16 #include "SPUFrameInfo.h"
17 #include "SPURegisterNames.h"
18
19 using namespace llvm;
20
21 //===----------------------------------------------------------------------===//
22 // SPUFrameInfo:
23 //===----------------------------------------------------------------------===//
24
25 SPUFrameInfo::SPUFrameInfo(const TargetMachine &tm):
26   TargetFrameInfo(TargetFrameInfo::StackGrowsDown, 16, 0),
27   TM(tm)
28 {
29   LR[0].first = SPU::R0;
30   LR[0].second = 16;
31 }