1894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman//===-- SPU.h - Top-level interface for Cell SPU Target ----------*- C++ -*-==//
2894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman//
3894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman//                     The LLVM Compiler Infrastructure
4894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman//
5894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman// This file is distributed under the University of Illinois Open Source
6894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman// License. See LICENSE.TXT for details.
7894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman//
8894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman//===----------------------------------------------------------------------===//
9894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman//
10894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman// This file contains the entry points for global functions defined in the LLVM
11894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman// Cell SPU back-end.
12894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman//
13894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman//===----------------------------------------------------------------------===//
14894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman
15894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman#ifndef LLVM_TARGET_IBMCELLSPU_H
16894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman#define LLVM_TARGET_IBMCELLSPU_H
17894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman
1819bac1e08be200c31efd26f0f5fd144c9b3eefd3John Bauman#include "MCTargetDesc/SPUMCTargetDesc.h"
19894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman#include "llvm/Target/TargetMachine.h"
20894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman
21894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Baumannamespace llvm {
22894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman  class SPUTargetMachine;
23894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman  class FunctionPass;
24894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman  class formatted_raw_ostream;
25894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman
26894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman  FunctionPass *createSPUISelDag(SPUTargetMachine &TM);
2719bac1e08be200c31efd26f0f5fd144c9b3eefd3John Bauman  FunctionPass *createSPUNopFillerPass(SPUTargetMachine &tm);
28894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman
29894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman}
30894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman
31894018228b0e0bdbd7aa7e8f47d4a9458789ca82John Bauman#endif /* LLVM_TARGET_IBMCELLSPU_H */
32