LLVM
17.0.0git
lib
Target
SPIRV
SPIRVMCInstLower.h
Go to the documentation of this file.
1
//=- SPIRVMCInstLower.h -- Convert SPIR-V MachineInstr to MCInst --*- 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
#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVMCINSTLOWER_H
10
#define LLVM_LIB_TARGET_SPIRV_SPIRVMCINSTLOWER_H
11
12
#include "
llvm/Support/Compiler.h
"
13
14
namespace
llvm
{
15
class
MCInst;
16
class
MachineInstr;
17
namespace
SPIRV {
18
struct
ModuleAnalysisInfo;
19
}
// namespace SPIRV
20
21
// This class is used to lower a MachineInstr into an MCInst.
22
class
LLVM_LIBRARY_VISIBILITY
SPIRVMCInstLower
{
23
public
:
24
void
lower(
const
MachineInstr
*
MI
,
MCInst
&OutMI,
25
SPIRV::ModuleAnalysisInfo
*MAI)
const
;
26
};
27
}
// namespace llvm
28
29
#endif
// LLVM_LIB_TARGET_SPIRV_SPIRVMCINSTLOWER_H
Compiler.h
LLVM_LIBRARY_VISIBILITY
#define LLVM_LIBRARY_VISIBILITY
LLVM_LIBRARY_VISIBILITY - If a class marked with this attribute is linked into a shared library,...
Definition:
Compiler.h:126
MI
IRTranslator LLVM IR MI
Definition:
IRTranslator.cpp:109
llvm::MCInst
Instances of this class represent a single low-level machine instruction.
Definition:
MCInst.h:184
llvm::MachineInstr
Representation of each machine instruction.
Definition:
MachineInstr.h:68
llvm::SPIRVMCInstLower
Definition:
SPIRVMCInstLower.h:22
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::SPIRV::ModuleAnalysisInfo
Definition:
SPIRVModuleAnalysis.h:123
Generated on Sun Mar 26 2023 14:14:43 for LLVM by
1.9.6