LLVM API Documentation

ARMMachineFunctionInfo.cpp
Go to the documentation of this file.
00001 //===-- ARMMachineFuctionInfo.cpp - ARM machine function info -------------===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 
00010 #include "ARMMachineFunctionInfo.h"
00011 
00012 using namespace llvm;
00013 
00014 void ARMFunctionInfo::anchor() { }
00015 
00016 ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF)
00017     : isThumb(MF.getTarget().getSubtarget<ARMSubtarget>().isThumb()),
00018       hasThumb2(MF.getTarget().getSubtarget<ARMSubtarget>().hasThumb2()),
00019       StByValParamsPadding(0), ArgRegsSaveSize(0), HasStackFrame(false),
00020       RestoreSPFromFP(false), LRSpilledForFarJump(false),
00021       FramePtrSpillOffset(0), GPRCS1Offset(0), GPRCS2Offset(0), DPRCSOffset(0),
00022       GPRCS1Size(0), GPRCS2Size(0), DPRCSSize(0), JumpTableUId(0),
00023       PICLabelUId(0), VarArgsFrameIndex(0), HasITBlocks(false),
00024       GlobalBaseReg(0) {}