xref: /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp (revision 81ad626541db97eb356e2c1d4a20eb2a26a766ab)
1 //=== SystemZMachineFunctionInfo.cpp - SystemZ machine function info ------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "SystemZMachineFunctionInfo.h"
10 
11 using namespace llvm;
12 
13 
14 // pin vtable to this file
anchor()15 void SystemZMachineFunctionInfo::anchor() {}
16 
clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const17 MachineFunctionInfo *SystemZMachineFunctionInfo::clone(
18     BumpPtrAllocator &Allocator, MachineFunction &DestMF,
19     const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &Src2DstMBB)
20     const {
21   return DestMF.cloneInfo<SystemZMachineFunctionInfo>(*this);
22 }
23