llvm::IntrinsicInst::isCommutative

Return true if swapping the first two arguments to the intrinsic produces the same result.

Synopsis

Declared in <llvm/IR/IntrinsicInst.h>

bool
isCommutative() const;

Return Value

True if swapping the first two arguments to the intrinsic produces the same result.