Revert "[ARM] Promote small global constants to constant pools"
[llvm-core.git] / lib / Target / ARM / ARMMachineFunctionInfo.cpp
blobb6dee9ff838546c670e353326f0521bd0ce8c4fc
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 //===----------------------------------------------------------------------===//
10 #include "ARMMachineFunctionInfo.h"
12 using namespace llvm;
14 void ARMFunctionInfo::anchor() { }
16 ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF)
17 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()),
18 hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()),
19 StByValParamsPadding(0), ArgRegsSaveSize(0), HasStackFrame(false),
20 RestoreSPFromFP(false), LRSpilledForFarJump(false),
21 FramePtrSpillOffset(0), GPRCS1Offset(0), GPRCS2Offset(0), DPRCSOffset(0),
22 GPRCS1Size(0), GPRCS2Size(0), DPRCSSize(0),
23 PICLabelUId(0), VarArgsFrameIndex(0), HasITBlocks(false),
24 ArgumentStackSize(0), IsSplitCSR(false) {}