/dports/misc/py-tvm/incubator-tvm-0.6.1/src/pass/ |
H A D | hoist_if_then_else.cc | 128 const For* for_node = for_stmt.as<For>(); in is_first_if() 208 Stmt for_stmt = Downcast<Stmt, NodeRef>(node); in SelectCandidates() local 215 for2if_map_[for_stmt.get()].push_back(if_stmt); in SelectCandidates() 221 for2if_map_[for_stmt.get()].push_back(head); in SelectCandidates() 253 for (const Stmt& for_stmt : ordered_for_list_) { in LocateTopFor() local 255 const For* for_node = for_stmt.as<For>(); in LocateTopFor() 260 if2for_map_[if_node].push_back(for_stmt); in LocateTopFor() 270 const Stmt& for_stmt = for_list.at(i); in LocateTopFor() local 271 const For* for_node = for_stmt.as<For>(); in LocateTopFor() 273 std::vector<Stmt> new_for_list{for_stmt}; in LocateTopFor() [all …]
|
/dports/misc/tvm/incubator-tvm-0.6.1/src/pass/ |
H A D | hoist_if_then_else.cc | 128 const For* for_node = for_stmt.as<For>(); in is_first_if() 208 Stmt for_stmt = Downcast<Stmt, NodeRef>(node); in SelectCandidates() local 215 for2if_map_[for_stmt.get()].push_back(if_stmt); in SelectCandidates() 221 for2if_map_[for_stmt.get()].push_back(head); in SelectCandidates() 253 for (const Stmt& for_stmt : ordered_for_list_) { in LocateTopFor() local 255 const For* for_node = for_stmt.as<For>(); in LocateTopFor() 260 if2for_map_[if_node].push_back(for_stmt); in LocateTopFor() 270 const Stmt& for_stmt = for_list.at(i); in LocateTopFor() local 271 const For* for_node = for_stmt.as<For>(); in LocateTopFor() 273 std::vector<Stmt> new_for_list{for_stmt}; in LocateTopFor() [all …]
|
/dports/devel/py-jedi/jedi-0.18.0/jedi/inference/value/ |
H A D | function.py | 272 for yield_, for_stmt in for_parents: 275 parent = for_stmt.parent 278 if for_stmt.type == 'for_stmt' and parent == self.tree_node \ 280 if for_stmt == last_for_stmt: 283 yields_order.append((for_stmt, [yield_])) 284 elif for_stmt == self.tree_node: 291 last_for_stmt = for_stmt 293 for for_stmt, yields in yields_order: 294 if for_stmt is None: 299 input_node = for_stmt.get_testlist() [all …]
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/ |
H A D | omp-general.c | 119 omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd, in omp_extract_for_data() argument 127 location_t loc = gimple_location (for_stmt); in omp_extract_for_data() 128 bool simd = gimple_omp_for_kind (for_stmt) & GF_OMP_FOR_SIMD; in omp_extract_for_data() 129 bool distribute = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 131 bool taskloop = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 135 fd->for_stmt = for_stmt; in omp_extract_for_data() 244 loop->v = gimple_omp_for_index (for_stmt, i); in omp_extract_for_data() 249 loop->n1 = gimple_omp_for_initial (for_stmt, i); in omp_extract_for_data() 251 loop->cond_code = gimple_omp_for_cond (for_stmt, i); in omp_extract_for_data() 252 loop->n2 = gimple_omp_for_final (for_stmt, i); in omp_extract_for_data() [all …]
|
H A D | omp-general.h | 60 gomp_for *for_stmt; member 78 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/ |
H A D | omp-general.c | 119 omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd, in omp_extract_for_data() argument 127 location_t loc = gimple_location (for_stmt); in omp_extract_for_data() 128 bool simd = gimple_omp_for_kind (for_stmt) & GF_OMP_FOR_SIMD; in omp_extract_for_data() 129 bool distribute = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 131 bool taskloop = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 135 fd->for_stmt = for_stmt; in omp_extract_for_data() 244 loop->v = gimple_omp_for_index (for_stmt, i); in omp_extract_for_data() 249 loop->n1 = gimple_omp_for_initial (for_stmt, i); in omp_extract_for_data() 251 loop->cond_code = gimple_omp_for_cond (for_stmt, i); in omp_extract_for_data() 252 loop->n2 = gimple_omp_for_final (for_stmt, i); in omp_extract_for_data() [all …]
|
H A D | omp-general.h | 60 gomp_for *for_stmt; member 78 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/ |
H A D | omp-general.c | 119 omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd, in omp_extract_for_data() argument 127 location_t loc = gimple_location (for_stmt); in omp_extract_for_data() 128 bool simd = gimple_omp_for_kind (for_stmt) & GF_OMP_FOR_SIMD; in omp_extract_for_data() 129 bool distribute = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 131 bool taskloop = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 135 fd->for_stmt = for_stmt; in omp_extract_for_data() 244 loop->v = gimple_omp_for_index (for_stmt, i); in omp_extract_for_data() 249 loop->n1 = gimple_omp_for_initial (for_stmt, i); in omp_extract_for_data() 251 loop->cond_code = gimple_omp_for_cond (for_stmt, i); in omp_extract_for_data() 252 loop->n2 = gimple_omp_for_final (for_stmt, i); in omp_extract_for_data() [all …]
|
H A D | omp-general.h | 60 gomp_for *for_stmt; member 78 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/ |
H A D | omp-general.c | 119 omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd, in omp_extract_for_data() argument 127 location_t loc = gimple_location (for_stmt); in omp_extract_for_data() 128 bool simd = gimple_omp_for_kind (for_stmt) & GF_OMP_FOR_SIMD; in omp_extract_for_data() 129 bool distribute = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 131 bool taskloop = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 135 fd->for_stmt = for_stmt; in omp_extract_for_data() 244 loop->v = gimple_omp_for_index (for_stmt, i); in omp_extract_for_data() 249 loop->n1 = gimple_omp_for_initial (for_stmt, i); in omp_extract_for_data() 251 loop->cond_code = gimple_omp_for_cond (for_stmt, i); in omp_extract_for_data() 252 loop->n2 = gimple_omp_for_final (for_stmt, i); in omp_extract_for_data() [all …]
|
H A D | omp-general.h | 60 gomp_for *for_stmt; member 78 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/ |
H A D | omp-general.c | 119 omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd, in omp_extract_for_data() argument 127 location_t loc = gimple_location (for_stmt); in omp_extract_for_data() 128 bool simd = gimple_omp_for_kind (for_stmt) & GF_OMP_FOR_SIMD; in omp_extract_for_data() 129 bool distribute = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 131 bool taskloop = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 135 fd->for_stmt = for_stmt; in omp_extract_for_data() 244 loop->v = gimple_omp_for_index (for_stmt, i); in omp_extract_for_data() 249 loop->n1 = gimple_omp_for_initial (for_stmt, i); in omp_extract_for_data() 251 loop->cond_code = gimple_omp_for_cond (for_stmt, i); in omp_extract_for_data() 252 loop->n2 = gimple_omp_for_final (for_stmt, i); in omp_extract_for_data() [all …]
|
H A D | omp-general.h | 60 gomp_for *for_stmt; member 78 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
|
/dports/lang/gcc8/gcc-8.5.0/gcc/ |
H A D | omp-general.c | 119 omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd, in omp_extract_for_data() argument 127 location_t loc = gimple_location (for_stmt); in omp_extract_for_data() 128 bool simd = gimple_omp_for_kind (for_stmt) & GF_OMP_FOR_SIMD; in omp_extract_for_data() 129 bool distribute = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 131 bool taskloop = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 135 fd->for_stmt = for_stmt; in omp_extract_for_data() 244 loop->v = gimple_omp_for_index (for_stmt, i); in omp_extract_for_data() 249 loop->n1 = gimple_omp_for_initial (for_stmt, i); in omp_extract_for_data() 251 loop->cond_code = gimple_omp_for_cond (for_stmt, i); in omp_extract_for_data() 252 loop->n2 = gimple_omp_for_final (for_stmt, i); in omp_extract_for_data() [all …]
|
H A D | omp-general.h | 60 gomp_for *for_stmt; member 78 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
|
/dports/lang/gcc9/gcc-9.4.0/gcc/ |
H A D | omp-general.c | 158 location_t loc = gimple_location (for_stmt); in omp_extract_for_data() 159 bool simd = gimple_omp_for_kind (for_stmt) & GF_OMP_FOR_SIMD; in omp_extract_for_data() 160 bool distribute = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 162 bool taskloop = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 166 fd->for_stmt = for_stmt; in omp_extract_for_data() 278 loop->v = gimple_omp_for_index (for_stmt, i); in omp_extract_for_data() 283 loop->n1 = gimple_omp_for_initial (for_stmt, i); in omp_extract_for_data() 285 loop->cond_code = gimple_omp_for_cond (for_stmt, i); in omp_extract_for_data() 286 loop->n2 = gimple_omp_for_final (for_stmt, i); in omp_extract_for_data() 288 || (gimple_omp_for_kind (for_stmt) in omp_extract_for_data() [all …]
|
H A D | omp-general.h | 60 gomp_for *for_stmt; member 78 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/ |
H A D | omp-general.c | 158 location_t loc = gimple_location (for_stmt); in omp_extract_for_data() 159 bool simd = gimple_omp_for_kind (for_stmt) & GF_OMP_FOR_SIMD; in omp_extract_for_data() 160 bool distribute = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 162 bool taskloop = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 166 fd->for_stmt = for_stmt; in omp_extract_for_data() 278 loop->v = gimple_omp_for_index (for_stmt, i); in omp_extract_for_data() 283 loop->n1 = gimple_omp_for_initial (for_stmt, i); in omp_extract_for_data() 285 loop->cond_code = gimple_omp_for_cond (for_stmt, i); in omp_extract_for_data() 286 loop->n2 = gimple_omp_for_final (for_stmt, i); in omp_extract_for_data() 288 || (gimple_omp_for_kind (for_stmt) in omp_extract_for_data() [all …]
|
H A D | omp-general.h | 60 gomp_for *for_stmt; member 78 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/ |
H A D | omp-general.c | 158 location_t loc = gimple_location (for_stmt); in omp_extract_for_data() 159 bool simd = gimple_omp_for_kind (for_stmt) & GF_OMP_FOR_SIMD; in omp_extract_for_data() 160 bool distribute = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 162 bool taskloop = gimple_omp_for_kind (for_stmt) in omp_extract_for_data() 166 fd->for_stmt = for_stmt; in omp_extract_for_data() 278 loop->v = gimple_omp_for_index (for_stmt, i); in omp_extract_for_data() 283 loop->n1 = gimple_omp_for_initial (for_stmt, i); in omp_extract_for_data() 285 loop->cond_code = gimple_omp_for_cond (for_stmt, i); in omp_extract_for_data() 286 loop->n2 = gimple_omp_for_final (for_stmt, i); in omp_extract_for_data() 288 || (gimple_omp_for_kind (for_stmt) in omp_extract_for_data() [all …]
|
/dports/devel/py-pycparser/pycparser-2.21/examples/ |
H A D | explore_ast.py | 123 for_stmt = function_body.block_items[2] variable 133 while_stmt = for_stmt.stmt.block_items[1]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/ |
H A D | gimplify.c | 12047 OMP_FOR_CLAUSES (for_stmt) = c; in gimplify_omp_for() 12114 switch (TREE_CODE (for_stmt)) in gimplify_omp_for() 12205 if (OMP_FOR_PRE_BODY (for_stmt)) in gimplify_omp_for() 12222 for_stmt = inner_for_stmt; in gimplify_omp_for() 12279 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 12294 (OMP_FOR_INIT (for_stmt)) in gimplify_omp_for() 12323 if (TREE_CODE (for_stmt) == OMP_FOR && OMP_FOR_ORIG_DECLS (for_stmt)) in gimplify_omp_for() 12615 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 12772 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 12833 if (orig_for_stmt != for_stmt) in gimplify_omp_for() [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/ |
H A D | gimplify.c | 11515 OMP_FOR_CLAUSES (for_stmt) = c; in gimplify_omp_for() 11582 switch (TREE_CODE (for_stmt)) in gimplify_omp_for() 11673 if (OMP_FOR_PRE_BODY (for_stmt)) in gimplify_omp_for() 11690 for_stmt = inner_for_stmt; in gimplify_omp_for() 11747 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 11762 (OMP_FOR_INIT (for_stmt)) in gimplify_omp_for() 11791 if (TREE_CODE (for_stmt) == OMP_FOR && OMP_FOR_ORIG_DECLS (for_stmt)) in gimplify_omp_for() 12216 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 12373 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 12434 if (orig_for_stmt != for_stmt) in gimplify_omp_for() [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/ |
H A D | gimplify.c | 11515 OMP_FOR_CLAUSES (for_stmt) = c; in gimplify_omp_for() 11582 switch (TREE_CODE (for_stmt)) in gimplify_omp_for() 11673 if (OMP_FOR_PRE_BODY (for_stmt)) in gimplify_omp_for() 11690 for_stmt = inner_for_stmt; in gimplify_omp_for() 11747 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 11762 (OMP_FOR_INIT (for_stmt)) in gimplify_omp_for() 11791 if (TREE_CODE (for_stmt) == OMP_FOR && OMP_FOR_ORIG_DECLS (for_stmt)) in gimplify_omp_for() 12216 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 12373 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 12434 if (orig_for_stmt != for_stmt) in gimplify_omp_for() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/ |
H A D | gimplify.c | 11515 OMP_FOR_CLAUSES (for_stmt) = c; in gimplify_omp_for() 11582 switch (TREE_CODE (for_stmt)) in gimplify_omp_for() 11673 if (OMP_FOR_PRE_BODY (for_stmt)) in gimplify_omp_for() 11690 for_stmt = inner_for_stmt; in gimplify_omp_for() 11747 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 11762 (OMP_FOR_INIT (for_stmt)) in gimplify_omp_for() 11791 if (TREE_CODE (for_stmt) == OMP_FOR && OMP_FOR_ORIG_DECLS (for_stmt)) in gimplify_omp_for() 12216 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 12373 if (orig_for_stmt != for_stmt) in gimplify_omp_for() 12434 if (orig_for_stmt != for_stmt) in gimplify_omp_for() [all …]
|