//===-- ARMMachineFunctionInfo.h - ARM machine function info ----*- 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 // //===----------------------------------------------------------------------===// // // This file declares ARM-specific per-machine-function information. // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_TARGET_ARM_ARMMACHINEFUNCTIONINFO_H #define LLVM_LIB_TARGET_ARM_ARMMACHINEFUNCTIONINFO_H #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/CodeGen/MIRYamlMapping.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/IR/GlobalVariable.h" #include "llvm/Support/ErrorHandling.h" #include <utility> namespace llvm { namespace yaml { struct ARMFunctionInfo; } // end namespace yaml class ARMSubtarget; /// ARMFunctionInfo - This class is derived from MachineFunctionInfo and /// contains private ARM-specific information for each MachineFunction. class ARMFunctionInfo : public MachineFunctionInfo { … }; namespace yaml { struct ARMFunctionInfo final : public yaml::MachineFunctionInfo { … }; template <> struct MappingTraits<ARMFunctionInfo> { … }; } // end namespace yaml } // end namespace llvm #endif // LLVM_LIB_TARGET_ARM_ARMMACHINEFUNCTIONINFO_H