Add new method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-01-12 23:18:06 +00:00
parent eab20b58b1
commit 925e3474bd

View File

@ -105,6 +105,12 @@ public:
bool isCommutative() const { return isCommutative(getOpcode()); }
static bool isCommutative(unsigned op);
/// isRelational - Return true if the instruction is a Set* instruction:
///
bool isRelational() const { return isRelational(getOpcode()); }
static bool isRelational(unsigned op);
/// isTrappingInstruction - Return true if the instruction may trap.
///
bool isTrapping() const {