Lines Matching refs:MatcherNode
263 static bool isSamePredicate(MatcherNode *node, OrderedPredicate *predicate) { in isSamePredicate()
270 std::unique_ptr<MatcherNode> &getOrCreateChild(SwitchNode *node, in getOrCreateChild()
286 static void propagatePattern(std::unique_ptr<MatcherNode> &node, in propagatePattern()
324 static void foldSwitchToBool(std::unique_ptr<MatcherNode> &node) { in foldSwitchToBool()
349 static void insertExitNode(std::unique_ptr<MatcherNode> *root) { in insertExitNode()
357 std::unique_ptr<MatcherNode>
358 MatcherNode::generateMatcherTree(ModuleOp module, PredicateBuilder &builder, in generateMatcherTree()
417 std::unique_ptr<MatcherNode> root; in generateMatcherTree()
431 MatcherNode::MatcherNode(TypeID matcherTypeID, Position *p, Qualifier *q, in MatcherNode() function in MatcherNode
432 std::unique_ptr<MatcherNode> failureNode) in MatcherNode()
441 std::unique_ptr<MatcherNode> successNode, in BoolNode()
442 std::unique_ptr<MatcherNode> failureNode) in BoolNode()
443 : MatcherNode(TypeID::get<BoolNode>(), position, question, in BoolNode()
452 std::unique_ptr<MatcherNode> failureNode) in SuccessNode()
453 : MatcherNode(TypeID::get<SuccessNode>(), /*position=*/nullptr, in SuccessNode()
462 : MatcherNode(TypeID::get<SwitchNode>(), position, question) {} in SwitchNode()