Return true if this is a vector constant where at least one element satisfies the given predicate. Scalable vectors are not checked.

Synopsis

Declared in <llvm/IR/Constant.h>

bool
containsMatchingVectorElement(function_ref<bool(xref:llvm/Constant.adoc[Constant*)>] PredFn) const;

Return Value

True if at least one vector element satisfies PredFn.

Parameters

Name

Description

PredFn

Predicate applied to each vector element constant.

Created with MrDocs