LLVM 20.0.0git
M68kMachineFunction.cpp
Go to the documentation of this file.
1//===-- M68kMachineFunctionInfo.cpp - M68k private data ---------*- C++ -*-===//
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
11#include "M68kInstrInfo.h"
12#include "M68kSubtarget.h"
13
16#include "llvm/IR/Function.h"
17
18using namespace llvm;
19
20void M68kMachineFunctionInfo::anchor() {}
21
23 BumpPtrAllocator &Allocator, MachineFunction &DestMF,
25 const {
26 return DestMF.cloneInfo<M68kMachineFunctionInfo>(*this);
27}
This file contains the M68k implementation of the TargetInstrInfo class.
This file declares the M68k specific subclass of MachineFunctionInfo.
This file declares the M68k specific subclass of TargetSubtargetInfo.
Allocate memory in an ever growing pool, as if by bump-pointer.
Definition: Allocator.h:66
MachineFunctionInfo * clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
Make a functionally equivalent copy of this MachineFunctionInfo in MF.
Ty * cloneInfo(const Ty &Old)
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...