mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-28 14:10:55 +00:00
Fix layering of CodeGen/TargetOpcodes.def by moving it to Support
It's also used by utils/TableGen so needs to reside somewhere common to TableGen and CodeGen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328396 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d9a46a465
commit
b9334112fc
@ -22,7 +22,7 @@ namespace TargetOpcode {
|
||||
enum {
|
||||
#define HANDLE_TARGET_OPCODE(OPC) OPC,
|
||||
#define HANDLE_TARGET_OPCODE_MARKER(IDENT, OPC) IDENT = OPC,
|
||||
#include "llvm/CodeGen/TargetOpcodes.def"
|
||||
#include "llvm/Support/TargetOpcodes.def"
|
||||
};
|
||||
} // end namespace TargetOpcode
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
//===-- llvm/CodeGen/TargetOpcodes.def - Target Indep Opcodes ---*- C++ -*-===//
|
||||
//===-- llvm/Support/TargetOpcodes.def - Target Indep Opcodes ---*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
@ -28,7 +28,6 @@ module LLVM_Backend {
|
||||
textual header "CodeGen/CommandFlags.def"
|
||||
textual header "CodeGen/DIEValue.def"
|
||||
textual header "CodeGen/RuntimeLibcalls.def"
|
||||
textual header "CodeGen/TargetOpcodes.def"
|
||||
}
|
||||
|
||||
module Target {
|
||||
@ -303,6 +302,7 @@ module LLVM_Utils {
|
||||
// These are intended for textual inclusion.
|
||||
textual header "Support/ARMTargetParser.def"
|
||||
textual header "Support/AArch64TargetParser.def"
|
||||
textual header "Support/TargetOpcodes.def"
|
||||
textual header "Support/X86TargetParser.def"
|
||||
}
|
||||
|
||||
|
@ -351,7 +351,7 @@ GetInstByName(const char *Name,
|
||||
|
||||
static const char *const FixedInstrs[] = {
|
||||
#define HANDLE_TARGET_OPCODE(OPC) #OPC,
|
||||
#include "llvm/CodeGen/TargetOpcodes.def"
|
||||
#include "llvm/Support/TargetOpcodes.def"
|
||||
nullptr};
|
||||
|
||||
unsigned CodeGenTarget::getNumFixedInstructions() {
|
||||
|
Loading…
Reference in New Issue
Block a user