//===-- AVRMCInstLower.cpp - Convert AVR MachineInstr to an MCInst --------===// // // 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 // //===----------------------------------------------------------------------===// // // This file contains code to lower AVR MachineInstrs to their corresponding // MCInst records. // //===----------------------------------------------------------------------===// #include "AVRMCInstLower.h" #include "AVRInstrInfo.h" #include "MCTargetDesc/AVRMCExpr.h" #include "llvm/CodeGen/AsmPrinter.h" #include "llvm/IR/Mangler.h" #include "llvm/MC/MCInst.h" #include "llvm/Support/ErrorHandling.h" namespace llvm { MCOperand AVRMCInstLower::lowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym, const AVRSubtarget &Subtarget) const { … } void AVRMCInstLower::lowerInstruction(const MachineInstr &MI, MCInst &OutMI) const { … } } // end of namespace llvm