mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-25 19:29:53 +00:00
PowerPCRegisterInfo no longer takes a bool to differentiate 32 vs 64 bits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15854 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
db50bd3e7a
commit
3d58b8f531
@ -11,22 +11,19 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#ifndef POWERPCREGISTERINFO_H
|
#ifndef POWERPC_REGISTERINFO_H
|
||||||
#define POWERPCREGISTERINFO_H
|
#define POWERPC_REGISTERINFO_H
|
||||||
|
|
||||||
#include "llvm/Target/MRegisterInfo.h"
|
#include "llvm/Target/MRegisterInfo.h"
|
||||||
#include "PowerPCGenRegisterInfo.h.inc"
|
|
||||||
#include <map>
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
class Type;
|
class Type;
|
||||||
|
|
||||||
class PowerPCRegisterInfo : public PowerPCGenRegisterInfo {
|
class PowerPCRegisterInfo : public PowerPCGenRegisterInfo {
|
||||||
bool is64bit;
|
|
||||||
std::map<unsigned, unsigned> ImmToIdxMap;
|
std::map<unsigned, unsigned> ImmToIdxMap;
|
||||||
public:
|
public:
|
||||||
PowerPCRegisterInfo(bool is64b);
|
PowerPCRegisterInfo();
|
||||||
const TargetRegisterClass* getRegClassForType(const Type* Ty) const;
|
const TargetRegisterClass* getRegClassForType(const Type* Ty) const;
|
||||||
|
|
||||||
/// Code Generation virtual methods...
|
/// Code Generation virtual methods...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user