MLIR 22.0.0git
mlir::pdl_to_pdl_interp::PositionalPredicate Struct Reference

A PositionalPredicate is a predicate that is associated with a specific positional value. More...

#include "Conversion/PDLToPDLInterp/PredicateTree.h"

Public Member Functions

 PositionalPredicate (Position *pos, const PredicateBuilder::Predicate &predicate)

Public Attributes

Positionposition
 The position the predicate is applied to.
Qualifierquestion
 The question that the predicate applies.
Qualifieranswer
 The expected answer of the predicate.

Detailed Description

A PositionalPredicate is a predicate that is associated with a specific positional value.

Definition at line 30 of file PredicateTree.h.

Constructor & Destructor Documentation

◆ PositionalPredicate()

mlir::pdl_to_pdl_interp::PositionalPredicate::PositionalPredicate ( Position * pos,
const PredicateBuilder::Predicate & predicate )
inline

Definition at line 31 of file PredicateTree.h.

References answer, position, and question.

Member Data Documentation

◆ answer

Qualifier* mlir::pdl_to_pdl_interp::PositionalPredicate::answer

The expected answer of the predicate.

Definition at line 42 of file PredicateTree.h.

Referenced by PositionalPredicate().

◆ position

Position* mlir::pdl_to_pdl_interp::PositionalPredicate::position

The position the predicate is applied to.

Definition at line 36 of file PredicateTree.h.

Referenced by PositionalPredicate().

◆ question

Qualifier* mlir::pdl_to_pdl_interp::PositionalPredicate::question

The question that the predicate applies.

Definition at line 39 of file PredicateTree.h.

Referenced by PositionalPredicate().


The documentation for this struct was generated from the following file: