LLVM
8.0.1
lib
Target
MSP430
MSP430.h
Go to the documentation of this file.
1
//==-- MSP430.h - Top-level interface for MSP430 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
11
// the LLVM MSP430 backend.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_LIB_TARGET_MSP430_MSP430_H
16
#define LLVM_LIB_TARGET_MSP430_MSP430_H
17
18
#include "
MCTargetDesc/MSP430MCTargetDesc.h
"
19
#include "
llvm/Target/TargetMachine.h
"
20
21
namespace
MSP430CC
{
22
// MSP430 specific condition code.
23
enum
CondCodes
{
24
COND_E
= 0,
// aka COND_Z
25
COND_NE
= 1,
// aka COND_NZ
26
COND_HS
= 2,
// aka COND_C
27
COND_LO
= 3,
// aka COND_NC
28
COND_GE
= 4,
29
COND_L
= 5,
30
COND_N
= 6,
// jump if negative
31
COND_NONE
,
// unconditional
32
33
COND_INVALID
= -1
34
};
35
}
36
37
namespace
llvm
{
38
class
MSP430TargetMachine;
39
class
FunctionPass;
40
class
formatted_raw_ostream;
41
42
FunctionPass *
createMSP430ISelDag
(MSP430TargetMachine &
TM
,
43
CodeGenOpt::Level
OptLevel);
44
45
FunctionPass *
createMSP430BranchSelectionPass
();
46
47
}
// end namespace llvm;
48
49
#endif
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
MSP430CC::COND_GE
Definition:
MSP430.h:28
TargetMachine.h
MSP430CC::COND_N
Definition:
MSP430.h:30
llvm::PICLevel::Level
Level
Definition:
CodeGen.h:33
llvm::createMSP430ISelDag
FunctionPass * createMSP430ISelDag(MSP430TargetMachine &TM, CodeGenOpt::Level OptLevel)
createMSP430ISelDag - This pass converts a legalized DAG into a MSP430-specific DAG, ready for instruction scheduling.
Definition:
MSP430ISelDAGToDAG.cpp:130
MSP430CC::COND_LO
Definition:
MSP430.h:27
MSP430CC::COND_E
Definition:
MSP430.h:24
MSP430CC::COND_HS
Definition:
MSP430.h:26
MSP430CC
Definition:
MSP430.h:21
MSP430CC::COND_NE
Definition:
MSP430.h:25
llvm::SystemZISD::TM
Definition:
SystemZISelLowering.h:68
llvm::createMSP430BranchSelectionPass
FunctionPass * createMSP430BranchSelectionPass()
Returns an instance of the Branch Selection Pass.
Definition:
MSP430BranchSelector.cpp:255
MSP430CC::COND_INVALID
Definition:
MSP430.h:33
MSP430MCTargetDesc.h
MSP430CC::CondCodes
CondCodes
Definition:
MSP430.h:23
MSP430CC::COND_NONE
Definition:
MSP430.h:31
MSP430CC::COND_L
Definition:
MSP430.h:29
Generated on Sun Dec 20 2020 13:57:23 for LLVM by
1.8.13