xref: /freebsd-src/contrib/llvm-project/llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp (revision 81ad626541db97eb356e2c1d4a20eb2a26a766ab)
10b57cec5SDimitry Andric //===-- SparcMachineFunctionInfo.cpp - Sparc Machine Function Info --------===//
20b57cec5SDimitry Andric //
30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric //
70b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
80b57cec5SDimitry Andric 
90b57cec5SDimitry Andric #include "SparcMachineFunctionInfo.h"
100b57cec5SDimitry Andric 
110b57cec5SDimitry Andric using namespace llvm;
120b57cec5SDimitry Andric 
anchor()130b57cec5SDimitry Andric void SparcMachineFunctionInfo::anchor() { }
14*81ad6265SDimitry Andric 
clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const15*81ad6265SDimitry Andric MachineFunctionInfo *SparcMachineFunctionInfo::clone(
16*81ad6265SDimitry Andric     BumpPtrAllocator &Allocator, MachineFunction &DestMF,
17*81ad6265SDimitry Andric     const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &Src2DstMBB)
18*81ad6265SDimitry Andric     const {
19*81ad6265SDimitry Andric   return DestMF.cloneInfo<SparcMachineFunctionInfo>(*this);
20*81ad6265SDimitry Andric }
21