1 //===-- SPUTargetMachine.cpp - Define TargetMachine for Cell SPU ----------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Top-level implementation for the Cell SPU target.
12 //===----------------------------------------------------------------------===//
15 #include "SPUFrameInfo.h"
16 #include "SPURegisterNames.h"
19 //===----------------------------------------------------------------------===//
21 //===----------------------------------------------------------------------===//
23 SPUFrameInfo::SPUFrameInfo(const TargetMachine
&tm
):
24 TargetFrameInfo(TargetFrameInfo::StackGrowsDown
, 16, 0),
27 LR
[0].first
= SPU::R0
;