//
// The LLVM Compiler Infrastructure
//
-// This file was developed by James M. Laskey and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// The MachineLocation class is used to represent a simple location in a machine
public:
enum {
// The target register number for an abstract frame pointer. The value is
- // an arbitrary value greater than MRegisterInfo::FirstVirtualRegister.
+ // an arbitrary value greater than TargetRegisterInfo::FirstVirtualRegister.
VirtualFP = ~0U
};
MachineLocation()
{}
// Accessors
- bool isRegister() const { return IsRegister; }
- unsigned getRegister() const { return Register; }
+ bool isReg() const { return IsRegister; }
+ unsigned getReg() const { return Register; }
int getOffset() const { return Offset; }
void setIsRegister(bool Is) { IsRegister = Is; }
void setRegister(unsigned R) { Register = R; }