blob: 50d8f0941460f189e5249a9adbe06ba1c72c28c3 [file] [log] [blame]
Nick Lewyckyc3890d22015-07-29 22:32:47 +00001//===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===//
David Blaikiea379b1812011-12-20 02:50:00 +00002//
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
12using namespace llvm;
13
NAKAMURA Takumie61de022016-10-11 17:38:25 +000014void ARMFunctionInfo::anchor() {}
Eric Christopher3d19f132014-06-18 22:48:09 +000015
16ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF)
Eric Christopher22b2ad22015-02-20 08:24:37 +000017 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()),
18 hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()),
NAKAMURA Takumie9587bd2016-10-11 17:38:30 +000019 StByValParamsPadding(0), ArgRegsSaveSize(0), ReturnRegsCount(0),
20 HasStackFrame(false), RestoreSPFromFP(false), LRSpilledForFarJump(false),
Eric Christopher3d19f132014-06-18 22:48:09 +000021 FramePtrSpillOffset(0), GPRCS1Offset(0), GPRCS2Offset(0), DPRCSOffset(0),
NAKAMURA Takumie61de022016-10-11 17:38:25 +000022 GPRCS1Size(0), GPRCS2Size(0), DPRCSSize(0), PICLabelUId(0),
23 VarArgsFrameIndex(0), HasITBlocks(false), ArgumentStackSize(0),
24 IsSplitCSR(false), PromotedGlobalsIncrease(0) {}