LLVM 19.0.0git
SystemZMachineFunctionInfo.cpp
Go to the documentation of this file.
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
10
11using namespace llvm;
12
13
14// pin vtable to this file
15void SystemZMachineFunctionInfo::anchor() {}
16
18 BumpPtrAllocator &Allocator, MachineFunction &DestMF,
20 const {
21 return DestMF.cloneInfo<SystemZMachineFunctionInfo>(*this);
22}
Allocate memory in an ever growing pool, as if by bump-pointer.
Definition: Allocator.h:66
Ty * cloneInfo(const Ty &Old)
MachineFunctionInfo * clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
Make a functionally equivalent copy of this MachineFunctionInfo in MF.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...