• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/

Lines Matching defs:clause

23  * compiler / the kernel.  A clause containing these language features is
24 * referred to as a "super-clause", and its transformation typically entails
30 * statements before and after) is turned into its own sub-clause, with a
85 * Append this clause to the clause list.
88 dt_sugar_append_clause(dt_sugar_parse_t *dp, dt_node_t *clause)
90 dp->dtsp_clause_list = dt_node_link(dp->dtsp_clause_list, clause);
94 * Prepend this clause to the clause list.
97 dt_sugar_prepend_clause(dt_sugar_parse_t *dp, dt_node_t *clause)
99 dp->dtsp_clause_list = dt_node_link(clause, dp->dtsp_clause_list);
123 * Return new clause to evaluate predicate and set newcond. condid is
125 * The new clause will be of the form:
139 * variables back to 0 when the super-clause completes.
158 * in a different meta-clause.
175 * Generate a new clause to evaluate predicate and set a new condition variable,
176 * whose ID will be returned. The new clause will be appended to
304 * Return a new clause which resets the error variable to zero:
308 * This clause will be executed at the beginning of each meta-clause, to
309 * ensure the error variable is unset (in case the previous meta-clause
352 * Generate a new clause to evaluate the statements based on the condition.
353 * The new clause will be appended to dp_first_new_clause.
368 * Don't bother with !error on the first clause, because if
369 * there is only one clause, we don't add the prelude to
409 * clause.
415 * Generate clause for statements preceding the "if"
429 /* generate clause for statements after last "if". */
437 * Generate a new clause which will set the error variable when an error occurs.
439 * The clause is:
457 * Transform the super-clause into straight-D, returning the new list of
461 dt_compile_sugar(dtrace_hdl_t *dtp, dt_node_t *clause)
467 dp.dtsp_pdescs = clause->dn_pdescs;
474 dt_sugar_visit_all(&dp, clause);
479 * the existing clause as-is, with its predicate intact. This
481 * clause can create a variable that is referenced in the
484 dt_sugar_append_clause(&dp, dt_node_clause(clause->dn_pdescs,
485 clause->dn_pred, clause->dn_acts));
487 if (clause->dn_pred != NULL) {
489 clause->dn_pred, condid);
492 if (clause->dn_acts == NULL) {
494 * dt_sugar_visit_stmts() does not emit a clause with
501 dt_sugar_visit_stmts(&dp, clause->dn_acts, condid);