blob: c660131706cb25a08cb1e916b32e77db34653d25 [file] [log] [blame]
Jia Liub22310f2012-02-18 12:03:15 +00001//===-- SPU.h - Top-level interface for Cell SPU Target ---------*- C++ -*-===//
Scott Micheld821fe72007-12-03 23:14:43 +00002//
3// The LLVM Compiler Infrastructure
4//
Chris Lattnerf3ebc3f2007-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 Micheld821fe72007-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 Chengbc153d42011-07-14 20:59:42 +000018#include "MCTargetDesc/SPUMCTargetDesc.h"
Bill Wendling026e5d72009-04-29 23:29:43 +000019#include "llvm/Target/TargetMachine.h"
Scott Micheld821fe72007-12-03 23:14:43 +000020
21namespace llvm {
22 class SPUTargetMachine;
23 class FunctionPass;
David Greenea31f96c2009-07-14 20:18:05 +000024 class formatted_raw_ostream;
Scott Micheld821fe72007-12-03 23:14:43 +000025
26 FunctionPass *createSPUISelDag(SPUTargetMachine &TM);
Kalle Raiskilabe9ad1e2011-01-11 09:07:54 +000027 FunctionPass *createSPUNopFillerPass(SPUTargetMachine &tm);
Scott Micheld821fe72007-12-03 23:14:43 +000028
Scott Micheld821fe72007-12-03 23:14:43 +000029}
30
Scott Micheld821fe72007-12-03 23:14:43 +000031#endif /* LLVM_TARGET_IBMCELLSPU_H */