mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
Add new method
llvm-svn: 10809
This commit is contained in:
parent
3e9e5b7db4
commit
ebdd628dbf
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user