Return true if the instruction is commutative.
Synopsis
Declared in <llvm/IR/Instruction.h>
bool
isCommutative() const;
Description
Commutative operators satisfy: (x op y) === (y op x)
In LLVM, these are the commutative operators, plus SetEQ and SetNE, when applied to any type.
Return Value
True if this instruction is commutative.
Created with MrDocs