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 anchor()15void ARMFunctionInfo::anchor() {} 16 ARMFunctionInfo(MachineFunction & MF)17ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF) 18 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), 19 hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()) {} 20