using namespace llvm;
SparcV8InstrInfo::SparcV8InstrInfo()
- : TargetInstrInfo(SparcV8Insts,
- sizeof(SparcV8Insts)/sizeof(SparcV8Insts[0]), 0) {
+ : TargetInstrInfo(SparcV8Insts, sizeof(SparcV8Insts)/sizeof(SparcV8Insts[0])){
}
using namespace llvm;
SparcV8InstrInfo::SparcV8InstrInfo()
- : TargetInstrInfo(SparcV8Insts,
- sizeof(SparcV8Insts)/sizeof(SparcV8Insts[0]), 0) {
+ : TargetInstrInfo(SparcV8Insts, sizeof(SparcV8Insts)/sizeof(SparcV8Insts[0])){
}
// default to member functions in base class TargetInstrInfo.
//---------------------------------------------------------------------------
-/*ctor*/
SparcV9InstrInfo::SparcV9InstrInfo()
- : TargetInstrInfo(SparcV9MachineInstrDesc,
- /*descSize = */ V9::NUM_TOTAL_OPCODES,
- /*numRealOpCodes = */ V9::NUM_REAL_OPCODES)
-{
+ : TargetInstrInfo(SparcV9MachineInstrDesc, V9::NUM_TOTAL_OPCODES) {
InitializeMaxConstantsTable();
}
const TargetInstrDescriptor* TargetInstrDescriptors = 0;
TargetInstrInfo::TargetInstrInfo(const TargetInstrDescriptor* Desc,
- unsigned DescSize,
- unsigned NumRealOpCodes)
- : desc(Desc), descSize(DescSize), numRealOpCodes(NumRealOpCodes) {
+ unsigned numOpcodes)
+ : desc(Desc), NumOpcodes(numOpcodes) {
// FIXME: TargetInstrDescriptors should not be global
assert(TargetInstrDescriptors == NULL && desc != NULL
&& "TargetMachine data structure corrupt; maybe you tried to create another TargetMachine? (only one may exist in a program)");
#include "X86InstrInfo.h"
#include "X86.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
-
#include "X86GenInstrInfo.inc"
-
using namespace llvm;
X86InstrInfo::X86InstrInfo()
- : TargetInstrInfo(X86Insts, sizeof(X86Insts)/sizeof(X86Insts[0]), 0) {
+ : TargetInstrInfo(X86Insts, sizeof(X86Insts)/sizeof(X86Insts[0])) {
}