diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-17 19:14:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-17 19:14:47 +0000 |
commit | a5b07404f79036727ba47624050040defe59a5fa (patch) | |
tree | c42b65ef45402ae11d24b5724d239fe2d1d39d22 /include/llvm/Instruction.h | |
parent | e81f725b3ab681ba4beaac0ba03c1a1296454680 (diff) | |
download | external_llvm-a5b07404f79036727ba47624050040defe59a5fa.zip external_llvm-a5b07404f79036727ba47624050040defe59a5fa.tar.gz external_llvm-a5b07404f79036727ba47624050040defe59a5fa.tar.bz2 |
Add new SetCondInst::isRelational/isEquality methods. Rename
Instruction::isRelational to Instruction::isComparison.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r-- | include/llvm/Instruction.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index dd73213..cd024d0 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -141,10 +141,10 @@ public: bool isCommutative() const { return isCommutative(getOpcode()); } static bool isCommutative(unsigned op); - /// isRelational - Return true if the instruction is a Set* instruction: + /// isComparison - Return true if the instruction is a Set* instruction: /// - bool isRelational() const { return isRelational(getOpcode()); } - static bool isRelational(unsigned op); + bool isComparison() const { return isComparison(getOpcode()); } + static bool isComparison(unsigned op); /// isTrappingInstruction - Return true if the instruction may trap. |