llvm::PatternMatch::apf_pred_ty

Match scalar and vector constants satisfying a predicate, binding an APFloat. Poison is allowed in splat vector constants.

Synopsis

Declared in <llvm/IR/PatternMatch.h>

template<typename Predicate>
struct apf_pred_ty
    : Predicate

Base Classes

NameDescription
Predicate

Member Functions

NameDescription
apf_pred_ty [constructor]Construct a matcher that binds into R.
match Match a scalar or splat constant satisfying the predicate and bind it.

Data Members

NameDescription
Res Bound pointer to the matched APFloat.

Non-Member Functions

NameDescription
m_FiniteMatch a finite FP constant and bind the APFloat.
m_FiniteNonZeroMatch a finite non-zero FP constant and bind the APFloat.