blob: 3b676ca4c883f5a6f85dac1352330af0d5bcacab [file] [log] [blame]
Nick Lewyckyc3890d22015-07-29 22:32:47 +00001//===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===//
David Blaikiea379b1812011-12-20 02:50:00 +00002//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
David Blaikiea379b1812011-12-20 02:50:00 +00006//
7//===----------------------------------------------------------------------===//
8
9#include "ARMMachineFunctionInfo.h"
Eugene Zelenkoe6cf4372017-01-26 23:40:06 +000010#include "ARMSubtarget.h"
David Blaikiea379b1812011-12-20 02:50:00 +000011
12using namespace llvm;
13
NAKAMURA Takumie61de022016-10-11 17:38:25 +000014void ARMFunctionInfo::anchor() {}
Eric Christopher3d19f132014-06-18 22:48:09 +000015
16ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF)
Eric Christopher22b2ad22015-02-20 08:24:37 +000017 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()),
Eugene Zelenkoe6cf4372017-01-26 23:40:06 +000018 hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()) {}