Match an integer or vector where CheckFn(ele) is true, binding the constant. For vectors, poison elements are assumed to match.
Declared in <llvm/IR/PatternMatch.h>
cst_pred_ty<custom_checkfn<APInt>>
m_CheckedInt(
Constant const*& V,
function_ref<bool(APInt const&)> CheckFn);
A matcher for an integer or vector where CheckFn(ele) is true, binding the constant. For vectors, poison elements are assumed to match.
| Name | Description |
|---|---|
| V | Reference that receives the matched Constant. |
| CheckFn | Predicate applied to each integer element. |