Next: , Previous: <code>GIMPLE_OMP_CRITICAL</code>, Up: Tuple specific accessors


12.7.15 GIMPLE_OMP_FOR

— GIMPLE function: gimple gimple_build_omp_for (gimple_seq body, tree clauses, tree index, tree initial, tree final, tree incr, gimple_seq pre_body, enum tree_code omp_for_cond)

构建一个GIMPLE_OMP_FOR语句。BODY为for循环中的语句序列。CLAUSESOMP循环结构的从句:private, firstprivate, lastprivate, reductions, ordered, schedule, 和 nowait。PRE_BODY为循环不变的语句序列。INDEX为索引变量。INITIALINDEX的初始值。FINALINDEX的最终值。OMP_FOR_COND为断言,用于比较INDEXFINALINCR为递增表达式。

— GIMPLE function: tree gimple_omp_for_clauses (gimple g)

返回OMP_FOR G相关联的从句。

— GIMPLE function: tree *gimple_omp_for_clauses_ptr (gimple g)

返回一个指针,指向OMP_FOR G

— GIMPLE function: void gimple_omp_for_set_clauses (gimple g, tree clauses)

CLAUSES设置为OMP_FOR G相关联的从句列表。

— GIMPLE function: tree gimple_omp_for_index (gimple g)

返回OMP_FOR G的索引变量。

— GIMPLE function: tree *gimple_omp_for_index_ptr (gimple g)

返回一个指针,指向OMP_FOR G的索引变量。

— GIMPLE function: void gimple_omp_for_set_index (gimple g, tree index)

INDEX设置为OMP_FOR G的索引变量。

— GIMPLE function: tree gimple_omp_for_initial (gimple g)

返回OMP_FOR G的初始值。

— GIMPLE function: tree *gimple_omp_for_initial_ptr (gimple g)

返回一个指针,指向OMP_FOR G的初始值。

— GIMPLE function: void gimple_omp_for_set_initial (gimple g, tree initial)

INITIAL设置为OMP_FOR G的初始值。

— GIMPLE function: tree gimple_omp_for_final (gimple g)

返回OMP_FOR G的最终值。

— GIMPLE function: tree *gimple_omp_for_final_ptr (gimple g)

返回一个指针,指向OMP_FOR G的最终值。

— GIMPLE function: void gimple_omp_for_set_final (gimple g, tree final)

FINAL设置为OMP_FOR G的最终值。

— GIMPLE function: tree gimple_omp_for_incr (gimple g)

返回OMP_FOR G的递增值。

— GIMPLE function: tree *gimple_omp_for_incr_ptr (gimple g)

返回一个指针,指向OMP_FOR G的递增值。

— GIMPLE function: void gimple_omp_for_set_incr (gimple g, tree incr)

INCR设置为OMP_FOR G的递增值。

— GIMPLE function: gimple_seq gimple_omp_for_pre_body (gimple g)

返回在OMP_FOR语句G开始之前执行的语句序列。

— GIMPLE function: void gimple_omp_for_set_pre_body (gimple g, gimple_seq pre_body)

PRE_BODY设置为OMP_FOR语句G开始之前执行的语句序列。

— GIMPLE function: void gimple_omp_for_set_cond (gimple g, enum tree_code cond)

COND设置为OMP_FOR G的条件代码。

— GIMPLE function: enum tree_code gimple_omp_for_cond (gimple g)

返回OMP_FOR G关联的条件代码。