Lines Matching refs:Parser

53     maybe(Parser<OmpMapType>{}), Parser<OmpObjectList>{}))
89 TYPE_PARSER(construct<OmpScheduleModifier>(Parser<OmpScheduleModifierType>{},
90 maybe("," >> Parser<OmpScheduleModifierType>{}) / ":"))
92 TYPE_PARSER(construct<OmpScheduleClause>(maybe(Parser<OmpScheduleModifier>{}),
119 TYPE_PARSER(construct<OmpReductionOperator>(Parser<DefinedOperator>{}) ||
120 construct<OmpReductionOperator>(Parser<ProcedureDesignator>{}))
123 Parser<OmpReductionOperator>{} / ":", Parser<OmpObjectList>{}))
127 Parser<OmpReductionOperator>{} / ":", Parser<OmpObjectList>{}))
132 Parser<OmpObjectList>{}))
136 Parser<DefinedOperator>{}, scalarIntConstantExpr))
139 construct<OmpDependSinkVec>(name, maybe(Parser<OmpDependSinkVecLength>{})))
148 "SINK :" >> nonemptyList(Parser<OmpDependSinkVec>{}))) ||
152 Parser<OmpDependenceType>{}, ":" >> nonemptyList(designator))))
165 Parser<OmpLinearModifier>{}, parenthesized(nonemptyList(name)),
181 parenthesized(Parser<OmpAlignedClause>{}))) ||
183 parenthesized(Parser<OmpAllocateClause>{}))) ||
189 parenthesized(Parser<OmpObjectList>{}))) ||
191 (parenthesized(Parser<OmpObjectList>{})))) ||
193 parenthesized(Parser<OmpDefaultClause>{}))) ||
195 parenthesized(Parser<OmpDefaultmapClause>{}))) ||
197 parenthesized(Parser<OmpDependClause>{}))) ||
206 parenthesized(Parser<OmpObjectList>{}))) ||
208 parenthesized(Parser<OmpObjectList>{}))) ||
214 parenthesized(Parser<OmpIfClause>{}))) ||
219 parenthesized(Parser<OmpObjectList>{}))) ||
221 parenthesized(Parser<OmpLinearClause>{}))) ||
223 parenthesized(Parser<OmpObjectList>{}))) ||
225 parenthesized(Parser<OmpMapClause>{}))) ||
244 parenthesized(Parser<OmpObjectList>{}))) ||
246 parenthesized(Parser<OmpProcBindClause>{}))) ||
248 parenthesized(Parser<OmpReductionClause>{}))) ||
250 parenthesized(Parser<OmpInReductionClause>{}))) ||
253 parenthesized(Parser<OmpReductionClause>{}))) ||
259 parenthesized(Parser<OmpScheduleClause>{}))) ||
262 parenthesized(Parser<OmpObjectList>{}))) ||
270 parenthesized(Parser<OmpObjectList>{}))) ||
279 many(maybe(","_tok) >> sourced(Parser<OmpClause>{})))))
282 TYPE_PARSER(construct<OmpObjectList>(nonemptyList(Parser<OmpObject>{})))
321 sourced(Parser<OmpLoopDirective>{}), Parser<OmpClauseList>{})))
332 verbatim("CANCELLATION POINT"_tok), Parser<OmpCancelType>{})))
336 Parser<OmpCancelType>{}, maybe("IF" >> parenthesized(scalarLogicalExpr)))))
355 construct<OmpAtomicClause>(Parser<OmpMemoryOrderClause>{}) ||
362 many(maybe(","_tok) >> sourced(Parser<OmpAtomicClause>{})))))
365 many(maybe(","_tok) >> sourced(Parser<OmpMemoryOrderClause>{})),
366 maybe(parenthesized(Parser<OmpObjectList>{})))))
379 Parser<OmpSimpleStandaloneDirective>{}, Parser<OmpClauseList>{})))
384 Parser<OpenMPSimpleStandaloneConstruct>{}) ||
385 construct<OpenMPStandaloneConstruct>(Parser<OpenMPFlushConstruct>{}) ||
386 construct<OpenMPStandaloneConstruct>(Parser<OpenMPCancelConstruct>{}) ||
388 Parser<OpenMPCancellationPointConstruct>{})) /
408 sourced(Parser<OmpBlockDirective>{}), Parser<OmpClauseList>{})))
416 "(" >> Parser<OmpReductionOperator>{} / ":",
417 nonemptyList(Parser<DeclarationTypeSpec>{}) / ":",
418 Parser<OmpReductionCombiner>{} / ")",
419 maybe(Parser<OmpReductionInitializerClause>{}))))
423 parenthesized(Parser<OmpObjectList>{}))))
427 sourced(construct<OmpDeclareTargetWithClause>(Parser<OmpClauseList>{})))
431 construct<OmpDeclareTargetSpecifier>(Parser<OmpDeclareTargetWithList>{}) ||
432 construct<OmpDeclareTargetSpecifier>(Parser<OmpDeclareTargetWithClause>{}))
436 verbatim("DECLARE TARGET"_tok), Parser<OmpDeclareTargetSpecifier>{})))
438 TYPE_PARSER(construct<OmpReductionCombiner>(Parser<AssignmentStmt>{}) ||
441 construct<Call>(Parser<ProcedureDesignator>{},
455 construct<OmpAtomicRead>(Parser<OmpAtomicClauseList>{} / maybe(","_tok),
456 verbatim("READ"_tok), Parser<OmpAtomicClauseList>{} / endOmpLine,
457 statement(assignmentStmt), maybe(Parser<OmpEndAtomic>{} / endOmpLine)))
461 construct<OmpAtomicCapture>(Parser<OmpAtomicClauseList>{} / maybe(","_tok),
462 verbatim("CAPTURE"_tok), Parser<OmpAtomicClauseList>{} / endOmpLine,
464 Parser<OmpEndAtomic>{} / endOmpLine))
468 construct<OmpAtomicUpdate>(Parser<OmpAtomicClauseList>{} / maybe(","_tok),
469 verbatim("UPDATE"_tok), Parser<OmpAtomicClauseList>{} / endOmpLine,
470 statement(assignmentStmt), maybe(Parser<OmpEndAtomic>{} / endOmpLine)))
474 Parser<OmpAtomicClauseList>{} / endOmpLine, statement(assignmentStmt),
475 maybe(Parser<OmpEndAtomic>{} / endOmpLine)))
479 construct<OmpAtomicWrite>(Parser<OmpAtomicClauseList>{} / maybe(","_tok),
480 verbatim("WRITE"_tok), Parser<OmpAtomicClauseList>{} / endOmpLine,
481 statement(assignmentStmt), maybe(Parser<OmpEndAtomic>{} / endOmpLine)))
484 TYPE_PARSER(construct<OpenMPAtomicConstruct>(Parser<OmpAtomicRead>{}) ||
485 construct<OpenMPAtomicConstruct>(Parser<OmpAtomicCapture>{}) ||
486 construct<OpenMPAtomicConstruct>(Parser<OmpAtomicWrite>{}) ||
487 construct<OpenMPAtomicConstruct>(Parser<OmpAtomicUpdate>{}) ||
488 construct<OpenMPAtomicConstruct>(Parser<OmpAtomic>{}))
496 maybe(parenthesized(name)), Parser<OmpClauseList>{})) /
500 Parser<OmpCriticalDirective>{}, block, Parser<OmpEndCriticalDirective>{}))
505 maybe(parenthesized(Parser<OmpObjectList>{})), Parser<OmpClauseList>{},
506 maybe(nonemptyList(Parser<OpenMPDeclarativeAllocate>{})) / endOmpLine,
512 maybe(parenthesized(name)), Parser<OmpClauseList>{})))
516 verbatim("THREADPRIVATE"_tok), parenthesized(Parser<OmpObjectList>{}))))
521 parenthesized(Parser<OmpObjectList>{}), Parser<OmpClauseList>{})) /
527 Parser<OpenMPDeclareReductionConstruct>{}) ||
529 Parser<OpenMPDeclareSimdConstruct>{}) ||
531 Parser<OpenMPDeclareTargetConstruct>{}) ||
533 Parser<OpenMPDeclarativeAllocate>{}) ||
534 construct<OpenMPDeclarativeConstruct>(Parser<OpenMPThreadprivate>{})) /
539 Parser<OmpBeginBlockDirective>{} / endOmpLine, block,
540 Parser<OmpEndBlockDirective>{} / endOmpLine))
549 sourced(Parser<OmpSectionsDirective>{}), Parser<OmpClauseList>{})))
552 sourced("END"_tok >> Parser<OmpSectionsDirective>{}),
553 Parser<OmpClauseList>{})))
561 construct<OpenMPConstruct>(sourced(Parser<OpenMPSectionConstruct>{})),
566 Parser<OmpBeginSectionsDirective>{} / endOmpLine,
567 Parser<OmpSectionBlocks>{}, Parser<OmpEndSectionsDirective>{} / endOmpLine))
571 first(construct<OpenMPConstruct>(Parser<OpenMPSectionsConstruct>{}),
572 construct<OpenMPConstruct>(Parser<OpenMPLoopConstruct>{}),
573 construct<OpenMPConstruct>(Parser<OpenMPBlockConstruct>{}),
576 construct<OpenMPConstruct>(Parser<OpenMPStandaloneConstruct>{}),
577 construct<OpenMPConstruct>(Parser<OpenMPAtomicConstruct>{}),
578 construct<OpenMPConstruct>(Parser<OpenMPExecutableAllocate>{}),
579 construct<OpenMPConstruct>(Parser<OpenMPDeclarativeAllocate>{}),
580 construct<OpenMPConstruct>(Parser<OpenMPCriticalConstruct>{})))
585 sourced("END"_tok >> Parser<OmpBlockDirective>{}),
586 Parser<OmpClauseList>{})))
591 sourced("END"_tok >> Parser<OmpLoopDirective>{}),
592 Parser<OmpClauseList>{})))
595 Parser<OmpBeginLoopDirective>{} / endOmpLine))