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:
41ca3f8
)
Add new SetCondInst::getInverseCondition() method.
author
Chris Lattner
<sabre@nondot.org>
Tue, 20 Aug 2002 18:17:09 +0000
(18:17 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 20 Aug 2002 18:17:09 +0000
(18:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3404
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/iOperators.h
patch
|
blob
|
history
diff --git
a/include/llvm/iOperators.h
b/include/llvm/iOperators.h
index ba64b0faec1ffffd74b13153d2d79627cb399aa2..3bdb13df0f6eaaa19168a0f96bcb521ee8c8e265 100644
(file)
--- a/
include/llvm/iOperators.h
+++ b/
include/llvm/iOperators.h
@@
-29,6
+29,11
@@
class SetCondInst : public BinaryOperator {
public:
SetCondInst(BinaryOps opType, Value *S1, Value *S2,
const std::string &Name = "");
+
+ // getInverseCondition - Return the inverse of the current condition opcode.
+ // For example seteq -> setne, setgt -> setle, setlt -> setge, etc...
+ //
+ BinaryOps getInverseCondition() const;
};
#endif