Nick Lewycky | c3890d2 | 2015-07-29 22:32:47 +0000 | [diff] [blame] | 1 | //===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===// |
David Blaikie | a379b181 | 2011-12-20 02:50:00 +0000 | [diff] [blame] | 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 | |
| 12 | using namespace llvm; |
| 13 | |
| 14 | void ARMFunctionInfo::anchor() { } |
Eric Christopher | 3d19f13 | 2014-06-18 22:48:09 +0000 | [diff] [blame] | 15 | |
| 16 | ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF) |
Eric Christopher | 22b2ad2 | 2015-02-20 08:24:37 +0000 | [diff] [blame] | 17 | : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), |
| 18 | hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()), |
Eric Christopher | 3d19f13 | 2014-06-18 22:48:09 +0000 | [diff] [blame] | 19 | StByValParamsPadding(0), ArgRegsSaveSize(0), HasStackFrame(false), |
| 20 | RestoreSPFromFP(false), LRSpilledForFarJump(false), |
| 21 | FramePtrSpillOffset(0), GPRCS1Offset(0), GPRCS2Offset(0), DPRCSOffset(0), |
Tim Northover | 4998a47 | 2015-05-13 20:28:38 +0000 | [diff] [blame] | 22 | GPRCS1Size(0), GPRCS2Size(0), DPRCSSize(0), |
Peter Collingbourne | 97aae40 | 2015-10-26 18:23:16 +0000 | [diff] [blame] | 23 | PICLabelUId(0), VarArgsFrameIndex(0), HasITBlocks(false) {} |