2006-05-14 22:18:28 +00:00
|
|
|
//===- ARMRegisterInfo.cpp - ARM Register Information -----------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 20:36:04 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
2006-05-14 22:18:28 +00:00
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2008-02-10 18:45:23 +00:00
|
|
|
// This file contains the ARM implementation of the TargetRegisterInfo class.
|
2006-05-14 22:18:28 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "ARM.h"
|
2007-01-19 07:51:42 +00:00
|
|
|
#include "ARMAddressingModes.h"
|
|
|
|
#include "ARMInstrInfo.h"
|
|
|
|
#include "ARMMachineFunctionInfo.h"
|
2006-05-14 22:18:28 +00:00
|
|
|
#include "ARMRegisterInfo.h"
|
2007-01-19 07:51:42 +00:00
|
|
|
#include "ARMSubtarget.h"
|
2007-01-30 23:01:46 +00:00
|
|
|
#include "llvm/Constants.h"
|
|
|
|
#include "llvm/DerivedTypes.h"
|
|
|
|
#include "llvm/CodeGen/MachineConstantPool.h"
|
2006-05-14 22:18:28 +00:00
|
|
|
#include "llvm/CodeGen/MachineFrameInfo.h"
|
2007-01-30 23:01:46 +00:00
|
|
|
#include "llvm/CodeGen/MachineFunction.h"
|
|
|
|
#include "llvm/CodeGen/MachineInstrBuilder.h"
|
2006-05-14 22:18:28 +00:00
|
|
|
#include "llvm/CodeGen/MachineLocation.h"
|
2007-12-31 04:13:23 +00:00
|
|
|
#include "llvm/CodeGen/MachineRegisterInfo.h"
|
2007-02-27 21:12:35 +00:00
|
|
|
#include "llvm/CodeGen/RegisterScavenging.h"
|
2009-07-08 18:01:40 +00:00
|
|
|
#include "llvm/Support/ErrorHandling.h"
|
2006-10-31 13:03:26 +00:00
|
|
|
#include "llvm/Target/TargetFrameInfo.h"
|
|
|
|
#include "llvm/Target/TargetMachine.h"
|
2006-10-26 13:31:26 +00:00
|
|
|
#include "llvm/Target/TargetOptions.h"
|
2007-02-19 21:49:54 +00:00
|
|
|
#include "llvm/ADT/BitVector.h"
|
2007-01-19 07:51:42 +00:00
|
|
|
#include "llvm/ADT/SmallVector.h"
|
2006-05-14 22:18:28 +00:00
|
|
|
using namespace llvm;
|
|
|
|
|
2009-07-08 18:31:39 +00:00
|
|
|
ARMRegisterInfo::ARMRegisterInfo(const ARMBaseInstrInfo &tii,
|
2009-06-27 12:16:40 +00:00
|
|
|
const ARMSubtarget &sti)
|
|
|
|
: ARMBaseRegisterInfo(tii, sti) {
|
|
|
|
}
|