Return true if this constant and Y are element‐wise equal.

Synopsis

Declared in <llvm/IR/Constant.h>

bool
isElementWiseEqual(Value* Y) const;

Description

This is identical to just comparing the pointers, with the exception that for vectors, if only one of the constants has an undef element in some lane, the constants still match.

Return Value

True if this constant and Y are element‐wise equal.

Parameters

Name

Description

Y

The other value to compare against.

Created with MrDocs