mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add new SetCondInst::getInverseCondition() method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
41ca3f8ee4
commit
bacb8b9a00
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user