xref: /freebsd-src/contrib/llvm-project/llvm/lib/Target/ARC/ARCMachineFunctionInfo.cpp (revision 81ad626541db97eb356e2c1d4a20eb2a26a766ab)
10b57cec5SDimitry Andric //===- ARCMachineFunctionInfo.cpp - ARC machine func info -------*- C++ -*-===//
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 "ARCMachineFunctionInfo.h"
100b57cec5SDimitry Andric 
110b57cec5SDimitry Andric using namespace llvm;
120b57cec5SDimitry Andric 
anchor()130b57cec5SDimitry Andric void ARCFunctionInfo::anchor() {}
14*81ad6265SDimitry Andric 
15*81ad6265SDimitry Andric MachineFunctionInfo *
clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const16*81ad6265SDimitry Andric ARCFunctionInfo::clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF,
17*81ad6265SDimitry Andric                        const DenseMap<MachineBasicBlock *, MachineBasicBlock *>
18*81ad6265SDimitry Andric                            &Src2DstMBB) const {
19*81ad6265SDimitry Andric   return DestMF.cloneInfo<ARCFunctionInfo>(*this);
20*81ad6265SDimitry Andric }
21