Match a float or vector where CheckFn(ele) is true, binding the constant. For vectors, poison elements are assumed to match.
Declared in <llvm/IR/PatternMatch.h>
cstfp_pred_ty<custom_checkfn<APFloat>>
m_CheckedFp(
Constant const*& V,
function_ref<bool(APFloat const&)> CheckFn);
A matcher for a float 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 floating-point element. |