diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-20 18:17:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-20 18:17:09 +0000 |
commit | bacb8b9a004d4737ff0f8bf9edef501aa73de94f (patch) | |
tree | d8c5a6a68ae1c929d2dbc5b008fbd2f13d48aaed /include | |
parent | 41ca3f8ee412fc469f7e0f24a3b7b71a942d32be (diff) | |
download | external_llvm-bacb8b9a004d4737ff0f8bf9edef501aa73de94f.zip external_llvm-bacb8b9a004d4737ff0f8bf9edef501aa73de94f.tar.gz external_llvm-bacb8b9a004d4737ff0f8bf9edef501aa73de94f.tar.bz2 |
Add new SetCondInst::getInverseCondition() method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/iOperators.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/iOperators.h b/include/llvm/iOperators.h index ba64b0f..3bdb13d 100644 --- 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 |