Determine the pattern for predicate X Pred Y ? X : Y.
Declared in <llvm/Analysis/ValueTracking.h>
SelectPatternResult
getSelectPattern(
CmpInst::Predicate Pred,
SelectPatternNaNBehavior NaNBehavior = SPNB_NA,
bool Ordered = false);
the pattern for predicate X Pred Y ? X : Y.
| Name | Description |
|---|---|
| Pred | This enumeration lists the possible predicates for CmpInst subclasses. Values in the range 0-31 are reserved for FCmpInst, while values in the range 32-64 are reserved for ICmpInst. This is necessary to ensure the predicate values are not overlapping between the classes. |
| NaNBehavior | Behavior when a floating point min/max is given one NaN and one non-NaN as input. |