projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6600377
)
Added getNumDefs().
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 13 Sep 2007 00:16:29 +0000
(
00:16
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 13 Sep 2007 00:16:29 +0000
(
00:16
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41901
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetInstrInfo.h
b/include/llvm/Target/TargetInstrInfo.h
index 8de27950ee1df99864b47ebec9efc0da6ad0eee5..1432b5f2159241589fa69240fe26364e99fefe47 100644
(file)
--- a/
include/llvm/Target/TargetInstrInfo.h
+++ b/
include/llvm/Target/TargetInstrInfo.h
@@
-201,6
+201,10
@@
public:
return get(Opcode).numOperands;
}
+ int getNumDefs(MachineOpCode Opcode) const {
+ return get(Opcode).numDefs;
+ }
+
InstrSchedClass getSchedClass(MachineOpCode Opcode) const {
return get(Opcode).schedClass;
}