blob: c660131706cb25a08cb1e916b32e77db34653d25 [file] [log] [blame]
Jia Liu31d157a2012-02-18 12:03:15 +00001//===-- SPU.h - Top-level interface for Cell SPU Target ---------*- C++ -*-===//
Scott Michela589a082007-12-03 23:14:43 +00002//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Scott Michela589a082007-12-03 23:14:43 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the entry points for global functions defined in the LLVM
11// Cell SPU back-end.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_TARGET_IBMCELLSPU_H
16#define LLVM_TARGET_IBMCELLSPU_H
17
Evan Chengc60f9b72011-07-14 20:59:42 +000018#include "MCTargetDesc/SPUMCTargetDesc.h"
Bill Wendling98a366d2009-04-29 23:29:43 +000019#include "llvm/Target/TargetMachine.h"
Scott Michela589a082007-12-03 23:14:43 +000020
21namespace llvm {
22 class SPUTargetMachine;
23 class FunctionPass;
David Greene71847812009-07-14 20:18:05 +000024 class formatted_raw_ostream;
Scott Michela589a082007-12-03 23:14:43 +000025
26 FunctionPass *createSPUISelDag(SPUTargetMachine &TM);
Kalle Raiskila76020ed2011-01-11 09:07:54 +000027 FunctionPass *createSPUNopFillerPass(SPUTargetMachine &tm);
Scott Michela589a082007-12-03 23:14:43 +000028
Scott Michela589a082007-12-03 23:14:43 +000029}
30
Scott Michela589a082007-12-03 23:14:43 +000031#endif /* LLVM_TARGET_IBMCELLSPU_H */