10b57cec5SDimitry Andric //= HexagonMachineFunctionInfo.cpp - Hexagon machine function info *- C++ -*-=// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric 90b57cec5SDimitry Andric #include "HexagonMachineFunctionInfo.h" 100b57cec5SDimitry Andric 110b57cec5SDimitry Andric using namespace llvm; 120b57cec5SDimitry Andric 130b57cec5SDimitry Andric // pin vtable to this file anchor()140b57cec5SDimitry Andricvoid HexagonMachineFunctionInfo::anchor() {} 150b57cec5SDimitry Andric clone(BumpPtrAllocator & Allocator,MachineFunction & DestMF,const DenseMap<MachineBasicBlock *,MachineBasicBlock * > & Src2DstMBB) const16*81ad6265SDimitry AndricMachineFunctionInfo *HexagonMachineFunctionInfo::clone( 17*81ad6265SDimitry Andric BumpPtrAllocator &Allocator, MachineFunction &DestMF, 18*81ad6265SDimitry Andric const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &Src2DstMBB) 19*81ad6265SDimitry Andric const { 20*81ad6265SDimitry Andric return DestMF.cloneInfo<HexagonMachineFunctionInfo>(*this); 21*81ad6265SDimitry Andric } 22