LLVM
20.0.0git
lib
Target
MSP430
MSP430.h
Go to the documentation of this file.
1
//==-- MSP430.h - Top-level interface for MSP430 representation --*- C++ -*-==//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file contains the entry points for global functions defined in
10
// the LLVM MSP430 backend.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_LIB_TARGET_MSP430_MSP430_H
15
#define LLVM_LIB_TARGET_MSP430_MSP430_H
16
17
#include "
MCTargetDesc/MSP430MCTargetDesc.h
"
18
#include "
llvm/Target/TargetMachine.h
"
19
20
namespace
MSP430CC
{
21
// MSP430 specific condition code.
22
enum
CondCodes
{
23
COND_E
= 0,
// aka COND_Z
24
COND_NE
= 1,
// aka COND_NZ
25
COND_HS
= 2,
// aka COND_C
26
COND_LO
= 3,
// aka COND_NC
27
COND_GE
= 4,
28
COND_L
= 5,
29
COND_N
= 6,
// jump if negative
30
COND_NONE
,
// unconditional
31
32
COND_INVALID
= -1
33
};
34
}
35
36
namespace
llvm
{
37
class
FunctionPass;
38
class
MSP430TargetMachine;
39
class
PassRegistry;
40
41
FunctionPass *
createMSP430ISelDag
(MSP430TargetMachine &
TM
,
42
CodeGenOptLevel
OptLevel);
43
44
FunctionPass *
createMSP430BranchSelectionPass
();
45
46
void
initializeMSP430DAGToDAGISelLegacyPass
(
PassRegistry
&);
47
48
}
// namespace llvm
49
50
#endif
MSP430MCTargetDesc.h
llvm::PassRegistry
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition:
PassRegistry.h:37
TargetMachine.h
MSP430CC
Definition:
MSP430.h:20
MSP430CC::CondCodes
CondCodes
Definition:
MSP430.h:22
MSP430CC::COND_LO
@ COND_LO
Definition:
MSP430.h:26
MSP430CC::COND_N
@ COND_N
Definition:
MSP430.h:29
MSP430CC::COND_L
@ COND_L
Definition:
MSP430.h:28
MSP430CC::COND_INVALID
@ COND_INVALID
Definition:
MSP430.h:32
MSP430CC::COND_E
@ COND_E
Definition:
MSP430.h:23
MSP430CC::COND_GE
@ COND_GE
Definition:
MSP430.h:27
MSP430CC::COND_NONE
@ COND_NONE
Definition:
MSP430.h:30
MSP430CC::COND_NE
@ COND_NE
Definition:
MSP430.h:24
MSP430CC::COND_HS
@ COND_HS
Definition:
MSP430.h:25
llvm::SystemZISD::TM
@ TM
Definition:
SystemZISelLowering.h:66
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::createMSP430BranchSelectionPass
FunctionPass * createMSP430BranchSelectionPass()
Returns an instance of the Branch Selection Pass.
Definition:
MSP430BranchSelector.cpp:255
llvm::initializeMSP430DAGToDAGISelLegacyPass
void initializeMSP430DAGToDAGISelLegacyPass(PassRegistry &)
llvm::CodeGenOptLevel
CodeGenOptLevel
Code generation optimization level.
Definition:
CodeGen.h:54
llvm::createMSP430ISelDag
FunctionPass * createMSP430ISelDag(MSP430TargetMachine &TM, CodeGenOptLevel OptLevel)
createMSP430ISelDag - This pass converts a legalized DAG into a MSP430-specific DAG,...
Definition:
MSP430ISelDAGToDAG.cpp:132
Generated on Fri Dec 20 2024 05:58:19 for LLVM by
1.9.6