xref: /src/contrib/llvm-project/llvm/lib/Target/MSP430/MSP430MachineFunctionInfo.cpp (revision 81ad626541db97eb356e2c1d4a20eb2a26a766ab)
1dd58ef01SDimitry Andric //===-- MSP430MachineFunctionInfo.cpp - MSP430 machine function info ------===//
263faed5bSDimitry Andric //
3e6d15924SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4e6d15924SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5e6d15924SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
663faed5bSDimitry Andric //
763faed5bSDimitry Andric //===----------------------------------------------------------------------===//
863faed5bSDimitry Andric 
963faed5bSDimitry Andric #include "MSP430MachineFunctionInfo.h"
1063faed5bSDimitry Andric 
1163faed5bSDimitry Andric using namespace llvm;
1263faed5bSDimitry Andric 
anchor()1363faed5bSDimitry Andric void MSP430MachineFunctionInfo::anchor() { }
14145449b1SDimitry Andric 
clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const15145449b1SDimitry Andric MachineFunctionInfo *MSP430MachineFunctionInfo::clone(
16145449b1SDimitry Andric     BumpPtrAllocator &Allocator, MachineFunction &DestMF,
17145449b1SDimitry Andric     const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &Src2DstMBB)
18145449b1SDimitry Andric     const {
19145449b1SDimitry Andric   return DestMF.cloneInfo<MSP430MachineFunctionInfo>(*this);
20145449b1SDimitry Andric }
21