Line data Source code
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 0 : void ARMFunctionInfo::anchor() {}
16 :
17 15237 : ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF)
18 15237 : : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()),
19 15237 : hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()) {}
|