Path: blob/main/contrib/llvm-project/llvm/lib/Target/SPIRV/SPIRVMCInstLower.h
35269 views
//=- SPIRVMCInstLower.h -- Convert SPIR-V MachineInstr to MCInst --*- C++ -*-=//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVMCINSTLOWER_H9#define LLVM_LIB_TARGET_SPIRV_SPIRVMCINSTLOWER_H1011#include "llvm/Support/Compiler.h"1213namespace llvm {14class MCInst;15class MachineInstr;16namespace SPIRV {17struct ModuleAnalysisInfo;18} // namespace SPIRV1920// This class is used to lower a MachineInstr into an MCInst.21class LLVM_LIBRARY_VISIBILITY SPIRVMCInstLower {22public:23void lower(const MachineInstr *MI, MCInst &OutMI,24SPIRV::ModuleAnalysisInfo *MAI) const;25};26} // namespace llvm2728#endif // LLVM_LIB_TARGET_SPIRV_SPIRVMCINSTLOWER_H293031