xref: /openbsd-src/gnu/llvm/llvm/lib/Target/M68k/M68kMachineFunction.cpp (revision d415bd752c734aee168c4ee86ff32e8cc249eb16)
1*d415bd75Srobert //===-- M68kMachineFunctionInfo.cpp - M68k private data ---------*- C++ -*-===//
273471bf0Spatrick //
373471bf0Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
473471bf0Spatrick // See https://llvm.org/LICENSE.txt for license information.
573471bf0Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
673471bf0Spatrick //
773471bf0Spatrick //===----------------------------------------------------------------------===//
873471bf0Spatrick 
973471bf0Spatrick #include "M68kMachineFunction.h"
1073471bf0Spatrick 
1173471bf0Spatrick #include "M68kInstrInfo.h"
1273471bf0Spatrick #include "M68kSubtarget.h"
1373471bf0Spatrick 
1473471bf0Spatrick #include "llvm/CodeGen/MachineInstrBuilder.h"
1573471bf0Spatrick #include "llvm/CodeGen/MachineRegisterInfo.h"
1673471bf0Spatrick #include "llvm/IR/Function.h"
1773471bf0Spatrick 
1873471bf0Spatrick using namespace llvm;
1973471bf0Spatrick 
anchor()2073471bf0Spatrick void M68kMachineFunctionInfo::anchor() {}
21*d415bd75Srobert 
clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const22*d415bd75Srobert MachineFunctionInfo *M68kMachineFunctionInfo::clone(
23*d415bd75Srobert     BumpPtrAllocator &Allocator, MachineFunction &DestMF,
24*d415bd75Srobert     const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &Src2DstMBB)
25*d415bd75Srobert     const {
26*d415bd75Srobert   return DestMF.cloneInfo<M68kMachineFunctionInfo>(*this);
27*d415bd75Srobert }
28