LLVM
20.0.0git
lib
Target
Hexagon
HexagonMachineFunctionInfo.cpp
Go to the documentation of this file.
1
//= HexagonMachineFunctionInfo.cpp - Hexagon machine function info *- 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 "
HexagonMachineFunctionInfo.h
"
10
11
using namespace
llvm
;
12
13
// pin vtable to this file
14
void
HexagonMachineFunctionInfo::anchor() {}
15
16
MachineFunctionInfo
*
HexagonMachineFunctionInfo::clone
(
17
BumpPtrAllocator
&Allocator,
MachineFunction
&DestMF,
18
const
DenseMap<MachineBasicBlock *, MachineBasicBlock *>
&Src2DstMBB)
19
const
{
20
return
DestMF.
cloneInfo
<
HexagonMachineFunctionInfo
>(*this);
21
}
HexagonMachineFunctionInfo.h
llvm::BumpPtrAllocatorImpl
Allocate memory in an ever growing pool, as if by bump-pointer.
Definition:
Allocator.h:66
llvm::DenseMap
Definition:
DenseMap.h:777
llvm::HexagonMachineFunctionInfo
Hexagon target-specific information for each MachineFunction.
Definition:
HexagonMachineFunctionInfo.h:25
llvm::HexagonMachineFunctionInfo::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:
HexagonMachineFunctionInfo.cpp:16
llvm::MachineFunction
Definition:
MachineFunction.h:257
llvm::MachineFunction::cloneInfo
Ty * cloneInfo(const Ty &Old)
Definition:
MachineFunction.h:825
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::MachineFunctionInfo
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...
Definition:
MachineFunction.h:95
Generated on Tue Nov 12 2024 16:25:00 for LLVM by
1.9.6