xref: /llvm-project/llvm/lib/Target/ARC/ARCMachineFunctionInfo.cpp (revision cc5a1b3dd9039d50f6b9caa679d60398f0cec65f)
12d1f6d67SPete Couperus //===- ARCMachineFunctionInfo.cpp - ARC machine func info -------*- C++ -*-===//
22d1f6d67SPete Couperus //
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
62d1f6d67SPete Couperus //
72d1f6d67SPete Couperus //===----------------------------------------------------------------------===//
82d1f6d67SPete Couperus 
92d1f6d67SPete Couperus #include "ARCMachineFunctionInfo.h"
102d1f6d67SPete Couperus 
112d1f6d67SPete Couperus using namespace llvm;
122d1f6d67SPete Couperus 
anchor()132d1f6d67SPete Couperus void ARCFunctionInfo::anchor() {}
14*cc5a1b3dSMatt Arsenault 
15*cc5a1b3dSMatt Arsenault MachineFunctionInfo *
clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const16*cc5a1b3dSMatt Arsenault ARCFunctionInfo::clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF,
17*cc5a1b3dSMatt Arsenault                        const DenseMap<MachineBasicBlock *, MachineBasicBlock *>
18*cc5a1b3dSMatt Arsenault                            &Src2DstMBB) const {
19*cc5a1b3dSMatt Arsenault   return DestMF.cloneInfo<ARCFunctionInfo>(*this);
20*cc5a1b3dSMatt Arsenault }
21