]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r308421, and update
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / ARM / ARMMachineFunctionInfo.cpp
1 //===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "ARMMachineFunctionInfo.h"
11 #include "ARMSubtarget.h"
12
13 using namespace llvm;
14
15 void ARMFunctionInfo::anchor() {}
16
17 ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF)
18     : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()),
19       hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()) {}