2015-07-29 22:32:47 +00:00
|
|
|
//===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===//
|
2011-12-20 02:50:00 +00:00
|
|
|
//
|
2019-01-19 08:50:56 +00:00
|
|
|
// 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
|
2011-12-20 02:50:00 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "ARMMachineFunctionInfo.h"
|
2017-01-26 23:40:06 +00:00
|
|
|
#include "ARMSubtarget.h"
|
2011-12-20 02:50:00 +00:00
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
2016-10-11 17:38:25 +00:00
|
|
|
void ARMFunctionInfo::anchor() {}
|
2014-06-18 22:48:09 +00:00
|
|
|
|
|
|
|
ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF)
|
2015-02-20 08:24:37 +00:00
|
|
|
: isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()),
|
2017-01-26 23:40:06 +00:00
|
|
|
hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()) {}
|