//===- MipsOptionRecord.cpp - Abstraction for storing information ---------===// // // 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 // //===----------------------------------------------------------------------===// #include "MipsOptionRecord.h" #include "MipsABIInfo.h" #include "MipsELFStreamer.h" #include "MipsTargetStreamer.h" #include "llvm/BinaryFormat/ELF.h" #include "llvm/MC/MCAssembler.h" #include "llvm/MC/MCContext.h" #include "llvm/MC/MCRegisterInfo.h" #include "llvm/MC/MCSectionELF.h" #include <cassert> usingnamespacellvm; void MipsRegInfoRecord::EmitMipsOptionRecord() { … } void MipsRegInfoRecord::SetPhysRegUsed(unsigned Reg, const MCRegisterInfo *MCRegInfo) { … }