//===- AMDGPUMCInstLower.h - Lower MachineInstr to MCInst ------*- C++ -*--===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // /// \file /// Header of lower AMDGPU MachineInstrs to their corresponding MCInst. // //===----------------------------------------------------------------------===// // #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUMCINSTLOWER_H #define LLVM_LIB_TARGET_AMDGPU_AMDGPUMCINSTLOWER_H #include "AMDGPUTargetMachine.h" #include "llvm/IR/Constants.h" #include "llvm/Support/Casting.h" namespace llvm { class AsmPrinter; class MCContext; } // namespace llvm usingnamespacellvm; class AMDGPUMCInstLower { … }; namespace { static inline const MCExpr *lowerAddrSpaceCast(const TargetMachine &TM, const Constant *CV, MCContext &OutContext) { … } } // namespace #endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUMCINSTLOWER_H