LLVM  16.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 
9 #include "M68kMachineFunction.h"
10 
11 #include "M68kInstrInfo.h"
12 #include "M68kSubtarget.h"
13 
16 #include "llvm/IR/Function.h"
17 
18 using namespace llvm;
19 
20 void M68kMachineFunctionInfo::anchor() {}
21 
25  const {
26  return DestMF.cloneInfo<M68kMachineFunctionInfo>(*this);
27 }
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
llvm::M68kMachineFunctionInfo::clone
MachineFunctionInfo * clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
Make a functionally equivalent copy of this MachineFunctionInfo in MF.
Definition: M68kMachineFunction.cpp:22
MachineRegisterInfo.h
M68kInstrInfo.h
llvm::BumpPtrAllocatorImpl
Allocate memory in an ever growing pool, as if by bump-pointer.
Definition: Allocator.h:63
llvm::DenseMap
Definition: DenseMap.h:714
llvm::MachineFunction
Definition: MachineFunction.h:257
llvm::M68kMachineFunctionInfo
Definition: M68kMachineFunction.h:23
llvm::MachineFunction::cloneInfo
Ty * cloneInfo(const Ty &Old)
Definition: MachineFunction.h:766
Function.h
M68kMachineFunction.h
MachineInstrBuilder.h
Allocator
Basic Register Allocator
Definition: RegAllocBasic.cpp:143
M68kSubtarget.h
llvm::MachineFunctionInfo
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...
Definition: MachineFunction.h:95