summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCInstrDesc.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-02-09 11:25:09 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-02-09 11:25:09 +0000
commit133f9d989485376ce8ad0d6c61ba12e913fa6366 (patch)
tree5b2abf7c9a4d4e3845b1f7cbcaae5aaf4a03d047 /include/llvm/MC/MCInstrDesc.h
parent3015dfb7d739f4cc0b1408555889ecea880ffac9 (diff)
downloadllvm-133f9d989485376ce8ad0d6c61ba12e913fa6366.tar.gz
llvm-133f9d989485376ce8ad0d6c61ba12e913fa6366.tar.bz2
llvm-133f9d989485376ce8ad0d6c61ba12e913fa6366.tar.xz
Move the Name field in MCInstrDesc to the end, saving 8 bytes of padding per entry on x86_64.
No change on i386. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCInstrDesc.h')
-rw-r--r--include/llvm/MC/MCInstrDesc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCInstrDesc.h b/include/llvm/MC/MCInstrDesc.h
index 6d71cf570a..3fe5643369 100644
--- a/include/llvm/MC/MCInstrDesc.h
+++ b/include/llvm/MC/MCInstrDesc.h
@@ -137,12 +137,12 @@ public:
unsigned short NumDefs; // Num of args that are definitions
unsigned short SchedClass; // enum identifying instr sched class
unsigned short Size; // Number of bytes in encoding.
- const char * Name; // Name of the instruction record in td file
unsigned Flags; // Flags identifying machine instr class
uint64_t TSFlags; // Target Specific Flag values
const unsigned *ImplicitUses; // Registers implicitly read by this instr
const unsigned *ImplicitDefs; // Registers implicitly defined by this instr
const MCOperandInfo *OpInfo; // 'NumOperands' entries about operands
+ const char *Name; // Name of the instruction record in td file
/// getOperandConstraint - Returns the value of the specific constraint if
/// it is set. Returns -1 if it is not set.