LLVM  8.0.1
Lanai.h
Go to the documentation of this file.
1 //===-- Lanai.h - Top-level interface for Lanai representation --*- 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 // Lanai back-end.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_LIB_TARGET_LANAI_LANAI_H
16 #define LLVM_LIB_TARGET_LANAI_LANAI_H
17 
18 #include "LanaiAluCode.h"
19 #include "LanaiCondCode.h"
24 
25 namespace llvm {
26 class FunctionPass;
27 class LanaiTargetMachine;
28 class MachineFunctionPass;
29 class TargetMachine;
30 class formatted_raw_ostream;
31 
32 // createLanaiISelDag - This pass converts a legalized DAG into a
33 // Lanai-specific DAG, ready for instruction scheduling.
34 FunctionPass *createLanaiISelDag(LanaiTargetMachine &TM);
35 
36 // createLanaiDelaySlotFillerPass - This pass fills delay slots
37 // with useful instructions or nop's
38 FunctionPass *createLanaiDelaySlotFillerPass(const LanaiTargetMachine &TM);
39 
40 // createLanaiMemAluCombinerPass - This pass combines loads/stores and
41 // arithmetic operations.
42 FunctionPass *createLanaiMemAluCombinerPass();
43 
44 // createLanaiSetflagAluCombinerPass - This pass combines SET_FLAG and ALU
45 // operations.
46 FunctionPass *createLanaiSetflagAluCombinerPass();
47 
48 Target &getTheLanaiTarget();
49 } // namespace llvm
50 
51 #endif // LLVM_LIB_TARGET_LANAI_LANAI_H
This class represents lattice values for constants.
Definition: AllocatorList.h:24
Target & getTheLanaiTarget()
FunctionPass * createLanaiMemAluCombinerPass()
FunctionPass * createLanaiDelaySlotFillerPass(const LanaiTargetMachine &TM)
FunctionPass * createLanaiSetflagAluCombinerPass()
FunctionPass * createLanaiISelDag(LanaiTargetMachine &TM)