diff options
Diffstat (limited to 'lib/Target/PowerPC/PowerPCInstrInfo.cpp')
-rw-r--r-- | lib/Target/PowerPC/PowerPCInstrInfo.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PowerPCInstrInfo.cpp b/lib/Target/PowerPC/PowerPCInstrInfo.cpp new file mode 100644 index 0000000..8340e78 --- /dev/null +++ b/lib/Target/PowerPC/PowerPCInstrInfo.cpp @@ -0,0 +1,22 @@ +//===- PowerPCInstrInfo.cpp - PowerPC Instruction Information ---*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by the LLVM research group and is distributed under +// the University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file contains the PowerPC implementation of the TargetInstrInfo class. +// +//===----------------------------------------------------------------------===// + +#include "PowerPCInstrInfo.h" +#include "PowerPC.h" +#include "llvm/CodeGen/MachineInstrBuilder.h" +#include "PowerPCGenInstrInfo.inc" +using namespace llvm; + +PowerPCInstrInfo::PowerPCInstrInfo() + : TargetInstrInfo(PowerPCInsts, sizeof(PowerPCInsts)/sizeof(PowerPCInsts[0])){ +} |