#include <iostream>
using namespace llvm;
-PowerPCInstrInfo::PowerPCInstrInfo()
- : TargetInstrInfo(PowerPCInsts, sizeof(PowerPCInsts)/sizeof(PowerPCInsts[0]))
+PowerPCInstrInfo::PowerPCInstrInfo(bool is64b)
+ : TargetInstrInfo(PowerPCInsts, sizeof(PowerPCInsts)/sizeof(PowerPCInsts[0])),
+ RI(is64b),
+ is64bit(is64b)
{ }
bool PowerPCInstrInfo::isMoveInstr(const MachineInstr& MI,
class PowerPCInstrInfo : public TargetInstrInfo {
const PowerPCRegisterInfo RI;
+ bool is64bit;
public:
- PowerPCInstrInfo();
+ PowerPCInstrInfo(bool is64b);
/// getRegisterInfo - TargetInstrInfo is a superset of MRegister info. As
/// such, whenever a client has an instance of instruction info, it should