1b22310fdSJia Liu //===-- SparcMachineFunctionInfo.cpp - Sparc Machine Function Info --------===//
2a379b181SDavid Blaikie //
32946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
42946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
52946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6a379b181SDavid Blaikie //
7a379b181SDavid Blaikie //===----------------------------------------------------------------------===//
8a379b181SDavid Blaikie 
9a379b181SDavid Blaikie #include "SparcMachineFunctionInfo.h"
10a379b181SDavid Blaikie 
11a379b181SDavid Blaikie using namespace llvm;
12a379b181SDavid Blaikie 
anchor()13a379b181SDavid Blaikie void SparcMachineFunctionInfo::anchor() { }
14*cc5a1b3dSMatt Arsenault 
clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const15*cc5a1b3dSMatt Arsenault MachineFunctionInfo *SparcMachineFunctionInfo::clone(
16*cc5a1b3dSMatt Arsenault     BumpPtrAllocator &Allocator, MachineFunction &DestMF,
17*cc5a1b3dSMatt Arsenault     const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &Src2DstMBB)
18*cc5a1b3dSMatt Arsenault     const {
19*cc5a1b3dSMatt Arsenault   return DestMF.cloneInfo<SparcMachineFunctionInfo>(*this);
20*cc5a1b3dSMatt Arsenault }
21