Home
last modified time | relevance | path

Searched refs:isl_ast_node (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm-project/polly/lib/External/isl/
Disl_ast_private.h45 #define EL isl_ast_node
54 struct isl_ast_node { struct
66 isl_ast_node *then; argument
67 isl_ast_node *else_node;
75 isl_ast_node *body;
82 isl_ast_node *node;
89 __isl_give isl_ast_node *isl_ast_node_alloc_for(__isl_take isl_id *id); argument
90 __isl_give isl_ast_node *isl_ast_node_for_mark_degenerate(
91 __isl_take isl_ast_node *node);
92 __isl_give isl_ast_node *isl_ast_node_alloc_if(__isl_take isl_ast_expr *guard);
[all …]
Disl_ast.c115 __isl_keep isl_ast_node *node, void *user), in isl_ast_print_options_set_print_user()
136 __isl_keep isl_ast_node *node, void *user), in isl_ast_print_options_set_print_for()
838 isl_ctx *isl_ast_node_get_ctx(__isl_keep isl_ast_node *node) in isl_ast_node_get_ctx()
843 enum isl_ast_node_type isl_ast_node_get_type(__isl_keep isl_ast_node *node) in isl_ast_node_get_type()
848 __isl_give isl_ast_node *isl_ast_node_alloc(isl_ctx *ctx, in isl_ast_node_alloc()
851 isl_ast_node *node; in isl_ast_node_alloc()
853 node = isl_calloc_type(ctx, isl_ast_node); in isl_ast_node_alloc()
869 __isl_give isl_ast_node *isl_ast_node_alloc_if(__isl_take isl_ast_expr *guard) in isl_ast_node_alloc_if()
871 isl_ast_node *node; in isl_ast_node_alloc_if()
891 __isl_give isl_ast_node *isl_ast_node_alloc_for(__isl_take isl_id *id) in isl_ast_node_alloc_for()
[all …]
Disl_ast_graft_private.h31 isl_ast_node *node;
47 __isl_take isl_ast_node *node, __isl_keep isl_ast_build *build);
68 __isl_give isl_ast_node *isl_ast_graft_get_node(
75 __isl_take isl_ast_graft *graft, __isl_take isl_ast_node *node);
92 __isl_give isl_ast_node *isl_ast_node_from_graft_list(
Disl_ast_build_private.h168 __isl_give isl_ast_node *(*at_each_domain)(
169 __isl_take isl_ast_node *node,
176 __isl_give isl_ast_node *(*after_each_for)(
177 __isl_take isl_ast_node *node,
184 __isl_give isl_ast_node *(*after_each_mark)(
185 __isl_take isl_ast_node *node,
189 __isl_give isl_ast_node *(*create_leaf)(
Disl_ast_graft.c42 __isl_give isl_ast_node *isl_ast_graft_get_node( in isl_ast_graft_get_node()
51 __isl_take isl_ast_node *node, __isl_keep isl_ast_build *build) in isl_ast_graft_alloc()
88 isl_ast_node *node; in isl_ast_graft_alloc_domain()
276 isl_ast_node *node;
291 static __isl_give isl_ast_node *ast_node_insert_if( in ast_node_insert_if()
292 __isl_take isl_ast_node *node, __isl_take isl_set *guard, in ast_node_insert_if()
304 isl_ast_node *if_node; in ast_node_insert_if()
336 isl_ast_node *node; in insert_if()
444 static void extend_body(__isl_keep isl_ast_node **body, in extend_body()
445 __isl_take isl_ast_node *node) in extend_body()
[all …]
Dcodegen.c116 static __isl_give isl_ast_node *construct_ast_from_union_map( in construct_ast_from_union_map()
122 isl_ast_node *tree; in construct_ast_from_union_map()
180 static __isl_give isl_ast_node *construct_ast_from_schedule( in construct_ast_from_schedule()
184 isl_ast_node *tree; in construct_ast_from_schedule()
207 isl_ast_node *tree = NULL; in main()
Disl_ast_build_expr.h19 __isl_give isl_ast_node *isl_ast_build_call_from_executed(
Disl_ast_build.c396 __isl_give isl_ast_node *(*fn)(__isl_take isl_ast_node *node, in isl_ast_build_set_at_each_domain()
432 __isl_give isl_ast_node *(*fn)(__isl_take isl_ast_node *node, in isl_ast_build_set_after_each_for()
468 __isl_give isl_ast_node *(*fn)(__isl_take isl_ast_node *node, in isl_ast_build_set_after_each_mark()
486 __isl_give isl_ast_node *(*fn)(__isl_take isl_ast_build *build, in isl_ast_build_set_create_leaf()
Disl_ast_codegen.c283 isl_ast_node *node; in call_create_leaf()
352 static __isl_give isl_ast_node *before_each_for(__isl_take isl_ast_node *node, in before_each_for()
1120 isl_ast_node *node; in set_for_node_expressions()
1345 static __isl_give isl_ast_node *create_for(__isl_keep isl_ast_build *build, in create_for()
1350 isl_ast_node *node; in create_for()
1485 isl_ast_node *node = NULL; in create_node_scaled()
5130 __isl_give isl_ast_node *isl_ast_build_node_from_schedule_map( in isl_ast_build_node_from_schedule_map()
5134 isl_ast_node *node; in isl_ast_build_node_from_schedule_map()
5153 __isl_give isl_ast_node *isl_ast_build_ast_from_schedule( in isl_ast_build_ast_from_schedule()
5809 static __isl_give isl_ast_node *build_ast_from_domain( in build_ast_from_domain()
[all …]
/external/llvm-project/polly/lib/External/isl/include/isl/
Dast.h106 __isl_give isl_ast_node *isl_ast_node_alloc_user(__isl_take isl_ast_expr *expr);
107 __isl_give isl_ast_node *isl_ast_node_copy(__isl_keep isl_ast_node *node);
108 __isl_null isl_ast_node *isl_ast_node_free(__isl_take isl_ast_node *node);
110 isl_ctx *isl_ast_node_get_ctx(__isl_keep isl_ast_node *node);
111 __isl_subclass(isl_ast_node)
112 enum isl_ast_node_type isl_ast_node_get_type(__isl_keep isl_ast_node *node);
114 __isl_give isl_ast_node *isl_ast_node_set_annotation(
115 __isl_take isl_ast_node *node, __isl_take isl_id *annotation);
116 __isl_give isl_id *isl_ast_node_get_annotation(__isl_keep isl_ast_node *node);
120 __isl_keep isl_ast_node *node);
[all …]
Dast_build.h76 __isl_give isl_ast_node *(*fn)(__isl_take isl_ast_node *node,
84 __isl_give isl_ast_node *(*fn)(__isl_take isl_ast_node *node,
92 __isl_give isl_ast_node *(*fn)(__isl_take isl_ast_node *node,
96 __isl_give isl_ast_node *(*fn)(__isl_take isl_ast_build *build,
119 __isl_give isl_ast_node *isl_ast_build_node_from_schedule(
122 __isl_give isl_ast_node *isl_ast_build_node_from_schedule_map(
124 __isl_give isl_ast_node *isl_ast_build_ast_from_schedule(
Dast_type.h13 struct __isl_export isl_ast_node; variable
14 typedef struct isl_ast_node isl_ast_node; typedef
/external/llvm-project/polly/include/polly/CodeGen/
DIslAst.h46 __isl_give isl_ast_node *getAst();
64 isl_ast_node *Root = nullptr;
122 __isl_give isl_ast_node *getAst();
138 static IslAstUserPayload *getNodePayload(__isl_keep isl_ast_node *Node);
141 static bool isInnermost(__isl_keep isl_ast_node *Node);
144 static bool isParallel(__isl_keep isl_ast_node *Node);
147 static bool isOutermostParallel(__isl_keep isl_ast_node *Node);
150 static bool isInnermostParallel(__isl_keep isl_ast_node *Node);
153 static bool isReductionParallel(__isl_keep isl_ast_node *Node);
156 static bool isExecutedInParallel(__isl_keep isl_ast_node *Node);
[all …]
DIslNodeBuilder.h103 void create(__isl_take isl_ast_node *Node);
253 void getReferencesInSubtree(__isl_keep isl_ast_node *For,
284 virtual void createMark(__isl_take isl_ast_node *Marker);
286 virtual void createFor(__isl_take isl_ast_node *For);
321 void createForVector(__isl_take isl_ast_node *For, int VectorWidth);
327 void createForParallel(__isl_take isl_ast_node *For);
344 createNewAccesses(ScopStmt *Stmt, __isl_keep isl_ast_node *Node);
385 virtual void createIf(__isl_take isl_ast_node *If);
386 void createUserVector(__isl_take isl_ast_node *User,
390 virtual void createUser(__isl_take isl_ast_node *User);
[all …]
/external/llvm-project/polly/lib/CodeGen/
DIslAst.cpp143 static const std::string getBrokenReductionsStr(__isl_keep isl_ast_node *Node) { in getBrokenReductionsStr()
173 __isl_keep isl_ast_node *Node, void *) { in cbPrintFor()
286 static __isl_give isl_ast_node *
287 astBuildAfterFor(__isl_take isl_ast_node *Node, __isl_keep isl_ast_build *Build, in astBuildAfterFor()
321 static __isl_give isl_ast_node *
322 astBuildAfterMark(__isl_take isl_ast_node *Node, in astBuildAfterMark()
333 static __isl_give isl_ast_node *AtEachDomain(__isl_take isl_ast_node *Node, in AtEachDomain()
474 static void walkAstForStatistics(__isl_keep isl_ast_node *Ast) { in walkAstForStatistics()
478 [](__isl_keep isl_ast_node *Node, void *User) -> isl_bool { in walkAstForStatistics()
580 __isl_give isl_ast_node *IslAst::getAst() { return isl_ast_node_copy(Root); } in getAst()
[all …]
DIslNodeBuilder.cpp304 IslNodeBuilder::getScheduleForAstNode(__isl_keep isl_ast_node *For) { in getScheduleForAstNode()
308 void IslNodeBuilder::getReferencesInSubtree(__isl_keep isl_ast_node *For, in getReferencesInSubtree()
384 void IslNodeBuilder::createUserVector(__isl_take isl_ast_node *User, in createUserVector()
408 void IslNodeBuilder::createMark(__isl_take isl_ast_node *Node) { in createMark()
433 void IslNodeBuilder::createForVector(__isl_take isl_ast_node *For, in createForVector()
435 isl_ast_node *Body = isl_ast_node_for_get_body(For); in createForVector()
617 void IslNodeBuilder::createForParallel(__isl_take isl_ast_node *For) { in createForParallel()
618 isl_ast_node *Body; in createForParallel()
738 static bool hasPartialAccesses(__isl_take isl_ast_node *Node) { in hasPartialAccesses()
741 [](isl_ast_node *Node, void *User) -> isl_bool { in hasPartialAccesses()
[all …]
DPPCGCodeGeneration.cpp411 void createUser(__isl_take isl_ast_node *UserStmt) override;
413 void createFor(__isl_take isl_ast_node *Node) override;
421 void createDataTransfer(__isl_take isl_ast_node *TransferStmt,
511 void createKernel(__isl_take isl_ast_node *KernelStmt);
1167 void GPUNodeBuilder::createDataTransfer(__isl_take isl_ast_node *TransferStmt, in createDataTransfer()
1213 void GPUNodeBuilder::createUser(__isl_take isl_ast_node *UserStmt) { in createUser()
1286 void GPUNodeBuilder::createFor(__isl_take isl_ast_node *Node) { in createFor()
1360 isl_bool collectReferencesInGPUStmt(__isl_keep isl_ast_node *Node, void *User) { in collectReferencesInGPUStmt()
1777 void GPUNodeBuilder::createKernel(__isl_take isl_ast_node *KernelStmt) { in createKernel()
3125 __isl_take isl_ast_node *Node, void *User) { in printHostUser()
[all …]
/external/llvm-project/polly/lib/External/ppcg/
Dgpu.h209 struct gpu_prog *prog, __isl_keep isl_ast_node *tree,
225 isl_ast_node *tree;
423 isl_ast_node *tree;
440 struct gpu_prog *prog, __isl_keep isl_ast_node *tree,
452 __isl_give isl_ast_node *generate_code(struct gpu_gen *gen,
Dcpu.c238 static __isl_give isl_ast_node *ast_build_after_for( in ast_build_after_for()
239 __isl_take isl_ast_node *node, __isl_keep isl_ast_build *build, in ast_build_after_for()
285 __isl_keep isl_ast_node *node, void *user) in print_user()
318 __isl_keep isl_ast_node *node, __isl_take isl_printer *p, in print_for_with_openmp()
337 __isl_keep isl_ast_node *node, void *user) in print_for()
386 static __isl_give isl_ast_node *at_each_domain(__isl_take isl_ast_node *node, in at_each_domain()
453 static isl_bool at_node(__isl_keep isl_ast_node *node, void *user) in at_node()
480 __isl_keep isl_ast_node *node) in cpu_print_macros()
498 isl_ast_node *tree; in print_scop()
Dcuda.h12 __isl_keep isl_ast_node *node, void *user);
Dcuda.c457 __isl_keep isl_ast_node *node, void *user) in print_kernel_stmt()
549 __isl_keep isl_ast_node *node, struct gpu_prog *prog) in print_device_node()
600 __isl_keep isl_ast_node *node, void *user) in print_host_user()
665 struct gpu_prog *prog, __isl_keep isl_ast_node *tree, in print_host_code()
688 struct gpu_prog *prog, __isl_keep isl_ast_node *tree, in print_cuda()
Dgpu_print.h13 __isl_keep isl_ast_node *node);
Dprint.h25 __isl_keep isl_ast_node *node);
Dgpu_print.c205 static isl_bool at_node(__isl_keep isl_ast_node *node, void *user) in at_node()
250 __isl_keep isl_ast_node *node) in gpu_print_macros()
Dgpu.c1840 static __isl_give isl_ast_node *create_domain_leaf( in create_domain_leaf()
1841 struct ppcg_kernel *kernel, __isl_take isl_ast_node *node, in create_domain_leaf()
1924 static __isl_give isl_ast_node *create_access_leaf(struct ppcg_kernel *kernel, in create_access_leaf()
1925 struct gpu_array_ref_group *group, __isl_take isl_ast_node *node, in create_access_leaf()
1978 static __isl_give isl_ast_node *create_sync_leaf( in create_sync_leaf()
1979 struct ppcg_kernel *kernel, __isl_take isl_ast_node *node, in create_sync_leaf()
2001 static __isl_give isl_ast_node *build_array_bounds( in build_array_bounds()
2002 __isl_take isl_ast_node *node, struct gpu_prog *prog, in build_array_bounds()
2070 static __isl_give isl_ast_node *at_domain(__isl_take isl_ast_node *node, in at_domain()
2415 static __isl_give isl_ast_node *after_mark(__isl_take isl_ast_node *node, in after_mark()
[all …]

12