LLVM
24.0.0git
lib
Target
PISA
MCTargetDesc
PISAMCTargetDesc.h
Go to the documentation of this file.
1
//===----------------------------------------------------------------------===//
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
/// \file
10
/// This file declares the PISA MC target descriptions.
11
///
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_LIB_TARGET_PISA_MCTARGETDESC_PISAMCTARGETDESC_H
15
#define LLVM_LIB_TARGET_PISA_MCTARGETDESC_PISAMCTARGETDESC_H
16
17
#include "
llvm/MC/MCInstrDesc.h
"
18
#include "
llvm/Support/DataTypes.h
"
19
#include <memory>
20
21
namespace
llvm
{
22
class
MCAsmBackend
;
23
class
MCCodeEmitter
;
24
class
MCContext
;
25
class
MCInstPrinter
;
26
class
MCInstrInfo
;
27
class
MCObjectTargetWriter
;
28
class
MCRegisterInfo
;
29
class
MCStreamer
;
30
class
MCSubtargetInfo
;
31
class
MCTargetOptions
;
32
class
MCTargetStreamer
;
33
class
Target
;
34
class
formatted_raw_ostream
;
35
36
namespace
PISA
{
37
enum
OperandType
:
unsigned
{
38
OPERAND_NEGATE
=
MCOI::OPERAND_FIRST_TARGET
,
39
OPERAND_SWIZZLE
,
40
};
41
}
// namespace PISA
42
43
MCTargetStreamer *
createPISAAsmTargetStreamer
(MCStreamer &S,
44
formatted_raw_ostream &OS,
45
MCInstPrinter *InstPrint);
46
MCTargetStreamer *
createPISAObjectTargetStreamer
(MCStreamer &S,
47
const
MCSubtargetInfo &STI);
48
MCTargetStreamer *
createPISANullTargetStreamer
(MCStreamer &S);
49
50
}
// namespace llvm
51
52
// Defines symbolic names for PISA registers. This defines a mapping from
53
// register name to register number.
54
#define GET_REGINFO_ENUM
55
#include "PISAGenRegisterInfo.inc"
56
57
// Defines symbolic names for the PISA instructions.
58
#define GET_INSTRINFO_ENUM
59
#define GET_INSTRINFO_MC_HELPER_DECLS
60
#include "PISAGenInstrInfo.inc"
61
62
#define GET_SUBTARGETINFO_ENUM
63
#include "PISAGenSubtargetInfo.inc"
64
65
#endif
// LLVM_LIB_TARGET_PISA_MCTARGETDESC_PISAMCTARGETDESC_H
MCInstrDesc.h
llvm::MCAsmBackend
Generic interface to target specific assembler backends.
Definition
MCAsmBackend.h:54
llvm::MCCodeEmitter
MCCodeEmitter - Generic instruction encoding interface.
Definition
MCCodeEmitter.h:22
llvm::MCContext
Context object for machine code objects.
Definition
MCContext.h:84
llvm::MCInstPrinter
This is an instance of a target assembly language printer that converts an MCInst to valid target ass...
Definition
MCInstPrinter.h:46
llvm::MCInstrInfo
Interface to description of machine instruction set.
Definition
MCInstrInfo.h:27
llvm::MCObjectTargetWriter
Base class for classes that define behaviour that is specific to both the target and the object forma...
Definition
MCObjectWriter.h:136
llvm::MCRegisterInfo
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
Definition
MCRegisterInfo.h:296
llvm::MCStreamer
Streaming machine code generation interface.
Definition
MCStreamer.h:221
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition
MCSubtargetInfo.h:142
llvm::MCTargetOptions
Definition
MCTargetOptions.h:42
llvm::MCTargetStreamer
Target specific streamer interface.
Definition
MCStreamer.h:94
llvm::Target
Target - Wrapper for Target specific information.
Definition
TargetRegistry.h:138
llvm::formatted_raw_ostream
formatted_raw_ostream - A raw_ostream that wraps another one and keeps track of line and column posit...
Definition
FormattedStream.h:31
DataTypes.h
llvm::MCOI::OPERAND_FIRST_TARGET
@ OPERAND_FIRST_TARGET
Definition
MCInstrDesc.h:81
llvm::PISA
Definition
PISAEnum.cpp:22
llvm::PISA::OperandType
OperandType
Definition
PISAMCTargetDesc.h:37
llvm::PISA::OPERAND_NEGATE
@ OPERAND_NEGATE
Definition
PISAMCTargetDesc.h:38
llvm::PISA::OPERAND_SWIZZLE
@ OPERAND_SWIZZLE
Definition
PISAMCTargetDesc.h:39
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
DefaultTargetInfo.h:21
llvm::createPISAAsmTargetStreamer
MCTargetStreamer * createPISAAsmTargetStreamer(MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint)
Definition
PISATargetStreamer.cpp:480
llvm::createPISAObjectTargetStreamer
MCTargetStreamer * createPISAObjectTargetStreamer(MCStreamer &S, const MCSubtargetInfo &STI)
Definition
PISATargetStreamer.cpp:486
llvm::createPISANullTargetStreamer
MCTargetStreamer * createPISANullTargetStreamer(MCStreamer &S)
Definition
PISATargetStreamer.cpp:494
Generated on
for LLVM by
1.14.0