Add new method

llvm-svn: 10809
This commit is contained in:
Chris Lattner 2004-01-12 23:18:06 +00:00
parent 3e9e5b7db4
commit ebdd628dbf

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 {