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:
7c56bf6
)
Add abstract frame index capability
author
Chris Lattner
<sabre@nondot.org>
Wed, 25 Dec 2002 05:01:18 +0000
(
05:01
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 25 Dec 2002 05:01:18 +0000
(
05:01
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5140
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineInstrBuilder.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineInstrBuilder.h
b/include/llvm/CodeGen/MachineInstrBuilder.h
index 68580badae2fe4ece72ac6a342486af2239b287d..05bece330cb01fe2b70b03e0749381feb5798075 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/
include/llvm/CodeGen/MachineInstrBuilder.h
@@
-48,7
+48,7
@@
struct MachineInstrBuilder {
/// (Same as addReg(RegNo, true) but shorter and more obvious).
///
const MachineInstrBuilder &addClobber(int RegNo) const {
- MI->addRegOperand(RegNo,
true
);
+ MI->addRegOperand(RegNo,
MOTy::Def
);
return *this;
}
@@
-86,6
+86,11
@@
struct MachineInstrBuilder {
MI->addMachineBasicBlockOperand(MBB);
return *this;
}
+
+ const MachineInstrBuilder &addFrameIndex(unsigned Idx) const {
+ MI->addFrameIndexOperand(Idx);
+ return *this;
+ }
};
/// BuildMI - Builder interface. Specify how to create the initial instruction