xref: /src/contrib/llvm-project/llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp (revision 81ad626541db97eb356e2c1d4a20eb2a26a766ab)
1dd58ef01SDimitry Andric //=== SystemZMachineFunctionInfo.cpp - SystemZ machine function info ------===//
2f8af5cf6SDimitry 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
6f8af5cf6SDimitry Andric //
7f8af5cf6SDimitry Andric //===----------------------------------------------------------------------===//
8f8af5cf6SDimitry Andric 
9f8af5cf6SDimitry Andric #include "SystemZMachineFunctionInfo.h"
10f8af5cf6SDimitry Andric 
11f8af5cf6SDimitry Andric using namespace llvm;
12f8af5cf6SDimitry Andric 
13f8af5cf6SDimitry Andric 
14f8af5cf6SDimitry Andric // pin vtable to this file
anchor()15f8af5cf6SDimitry Andric void SystemZMachineFunctionInfo::anchor() {}
16f8af5cf6SDimitry Andric 
clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const17145449b1SDimitry Andric MachineFunctionInfo *SystemZMachineFunctionInfo::clone(
18145449b1SDimitry Andric     BumpPtrAllocator &Allocator, MachineFunction &DestMF,
19145449b1SDimitry Andric     const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &Src2DstMBB)
20145449b1SDimitry Andric     const {
21145449b1SDimitry Andric   return DestMF.cloneInfo<SystemZMachineFunctionInfo>(*this);
22145449b1SDimitry Andric }
23