the various ConstantExpr::get*Ty methods existed to work with issues around
[llvm/stm8.git] / lib / Target / CellSPU / SPU.h
blob5c81c9a77a3c74afc2f01c0be6f34f97775fdc60
1 //===-- SPU.h - Top-level interface for Cell SPU Target ----------*- C++ -*-==//
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 // This file contains the entry points for global functions defined in the LLVM
11 // Cell SPU back-end.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_TARGET_IBMCELLSPU_H
16 #define LLVM_TARGET_IBMCELLSPU_H
18 #include "llvm/Target/TargetMachine.h"
20 namespace llvm {
21 class SPUTargetMachine;
22 class FunctionPass;
23 class formatted_raw_ostream;
25 FunctionPass *createSPUISelDag(SPUTargetMachine &TM);
26 FunctionPass *createSPUNopFillerPass(SPUTargetMachine &tm);
28 extern Target TheCellSPUTarget;
31 // Defines symbolic names for the SPU instructions.
33 #define GET_INSTRINFO_ENUM
34 #include "SPUGenInstrInfo.inc"
36 #endif /* LLVM_TARGET_IBMCELLSPU_H */