diff options
-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 |