matchSelectPattern overloads
Declared in <llvm/Analysis/ValueTracking.h>
Const overload of matchSelectPattern.
SelectPatternResult
matchSelectPattern(
Value const* V,
Value const*& LHS,
Value const*& RHS);
» more...
Pattern match integer [SU]MIN, [SU]MAX and ABS idioms, returning the kind and providing the out parameter results if we successfully match.
SelectPatternResult
matchSelectPattern(
Value* V,
Value*& LHS,
Value*& RHS,
Instruction::CastOps* CastOp = nullptr,
unsigned int Depth = 0);
» more...
Matched select pattern result.
| Name | Description |
|---|---|
| V | Select (or equivalent) value to match. |
| LHS | Output left-hand operand of the matched idiom. |
| RHS | Output right-hand operand of the matched idiom. |
| CastOp | Optional output cast needed to unify operand types. |
| Depth | Current recursion depth for this query. |