Use BranchProbability instead of floating points in IfConverter.
[llvm/stm8.git] / lib / Target / Blackfin / Blackfin.h
blobc3ee7e71fd7e6b4844416a4cfd82171a24f63b69
1 //=== Blackfin.h - Top-level interface for Blackfin backend -----*- 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 // Blackfin back-end.
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_BLACKFIN_H
16 #define TARGET_BLACKFIN_H
18 #include "llvm/Target/TargetMachine.h"
20 namespace llvm {
22 class FunctionPass;
23 class BlackfinTargetMachine;
25 FunctionPass *createBlackfinISelDag(BlackfinTargetMachine &TM,
26 CodeGenOpt::Level OptLevel);
27 extern Target TheBlackfinTarget;
29 } // end namespace llvm
31 // Defines symbolic names for Blackfin registers. This defines a mapping from
32 // register name to register number.
33 #define GET_REGINFO_ENUM
34 #include "BlackfinGenRegisterInfo.inc"
36 // Defines symbolic names for the Blackfin instructions.
37 #define GET_INSTRINFO_ENUM
38 #include "BlackfinGenInstrInfo.inc"
40 #endif