aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/MSP430/MSP430MachineFunctionInfo.cpp
blob: 93b37b523a71e2b2f846dfd9f41fbaa98d3cec11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//===-- MSP430MachineFunctionInfo.cpp - MSP430 machine function info ------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "MSP430MachineFunctionInfo.h"

using namespace llvm;

void MSP430MachineFunctionInfo::anchor() { }

MachineFunctionInfo *MSP430MachineFunctionInfo::clone(
    BumpPtrAllocator &Allocator, MachineFunction &DestMF,
    const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &Src2DstMBB)
    const {
  return DestMF.cloneInfo<MSP430MachineFunctionInfo>(*this);
}