pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / lib / Target / CellSPU / SPUFrameInfo.cpp
blob60d7ba736ac6f5039742b6876dbc617ce168d53e
1 //===-- SPUTargetMachine.cpp - Define TargetMachine for Cell SPU ----------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // Top-level implementation for the Cell SPU target.
12 //===----------------------------------------------------------------------===//
14 #include "SPU.h"
15 #include "SPUFrameInfo.h"
16 #include "SPURegisterNames.h"
17 using namespace llvm;
19 //===----------------------------------------------------------------------===//
20 // SPUFrameInfo:
21 //===----------------------------------------------------------------------===//
23 SPUFrameInfo::SPUFrameInfo(const TargetMachine &tm):
24 TargetFrameInfo(TargetFrameInfo::StackGrowsDown, 16, 0),
25 TM(tm)
27 LR[0].first = SPU::R0;
28 LR[0].second = 16;