summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-08-02 00:20:17 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-08-02 00:20:17 +0000
commitb5910820ce8608b75cb88e6c4efd2d1a5858159a (patch)
treee16416bd3d93d986239743c42029d77e40025276 /include
parent5278784621bd6f77cad3c6b8388290aa5c5870ec (diff)
downloadllvm-b5910820ce8608b75cb88e6c4efd2d1a5858159a.tar.gz
llvm-b5910820ce8608b75cb88e6c4efd2d1a5858159a.tar.bz2
llvm-b5910820ce8608b75cb88e6c4efd2d1a5858159a.tar.xz
Added TargetInstrDescriptor::numDefs - num of results.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index 7accaf5789..8de27950ee 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -130,6 +130,7 @@ class TargetInstrDescriptor {
public:
MachineOpCode Opcode; // The opcode.
unsigned short numOperands; // Num of args (may be more if variable_ops).
+ unsigned short numDefs; // Num of args that are definitions.
const char * Name; // Assembly language mnemonic for the opcode.
InstrSchedClass schedClass; // enum identifying instr sched class
unsigned Flags; // flags identifying machine instr class