xref: /freebsd-src/contrib/llvm-project/llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp (revision 81ad626541db97eb356e2c1d4a20eb2a26a766ab)
10b57cec5SDimitry Andric //=== SystemZMachineFunctionInfo.cpp - SystemZ 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 "SystemZMachineFunctionInfo.h"
100b57cec5SDimitry Andric 
110b57cec5SDimitry Andric using namespace llvm;
120b57cec5SDimitry Andric 
130b57cec5SDimitry Andric 
140b57cec5SDimitry Andric // pin vtable to this file
anchor()150b57cec5SDimitry Andric void SystemZMachineFunctionInfo::anchor() {}
160b57cec5SDimitry Andric 
clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const17*81ad6265SDimitry Andric MachineFunctionInfo *SystemZMachineFunctionInfo::clone(
18*81ad6265SDimitry Andric     BumpPtrAllocator &Allocator, MachineFunction &DestMF,
19*81ad6265SDimitry Andric     const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &Src2DstMBB)
20*81ad6265SDimitry Andric     const {
21*81ad6265SDimitry Andric   return DestMF.cloneInfo<SystemZMachineFunctionInfo>(*this);
22*81ad6265SDimitry Andric }
23