| /llvm-project-15.0.7/polly/lib/External/ppcg/ |
| H A D | ppcg.c | 105 if (!scop) in ppcg_scop_any_hidden_declarations() 228 if (!scop) in collect_domains() 723 if (!scop) in compute_dependences() 726 compute_live_out(scop); in compute_dependences() 733 compute_flow_dep(scop); in compute_dependences() 747 scop->dep_false = isl_union_map_coalesce(scop->dep_false); in compute_dependences() 882 if (!scop) in ppcg_scop_from_pet_scop() 913 ps->pet = scop; in ppcg_scop_from_pet_scop() 980 pet_scop_free(scop); in transform() 984 scop = pet_scop_align_params(scop); in transform() [all …]
|
| H A D | external.c | 15 __isl_keep pet_scop *scop) { in pet_scop_compute_outer_to_any() argument 19 __isl_keep pet_scop *scop) { in pet_scop_compute_outer_to_inner() argument 74 __isl_take pet_scop *scop, void *user), void *user) { in pet_transform_C_source() argument 81 __isl_null pet_scop *pet_scop_free(__isl_take pet_scop *scop) { in pet_scop_free() argument 84 __isl_give pet_scop *pet_scop_align_params(__isl_take pet_scop *scop) { in pet_scop_align_params() argument 87 int pet_scop_can_build_ast_exprs(__isl_keep pet_scop *scop) { in pet_scop_can_build_ast_exprs() argument 90 int pet_scop_has_data_dependent_conditions(__isl_keep pet_scop *scop) { in pet_scop_has_data_dependent_conditions() argument 129 __isl_keep pet_scop *scop) { in pet_scop_get_tagged_may_reads() argument 142 __isl_keep pet_scop *scop) { in pet_scop_get_tagged_may_writes() argument 146 __isl_keep pet_scop *scop) { in pet_scop_get_tagged_must_writes() argument [all …]
|
| H A D | cpu.c | 103 struct ppcg_scop *scop; member 126 struct ppcg_scop *scop) in ast_schedule_dim_is_parallel() argument 138 deps = isl_union_map_copy(scop->dep_flow); in ast_schedule_dim_is_parallel() 265 for (i = 0; i < scop->pet->n_stmt; ++i) { in find_stmt() 389 struct ppcg_scop *scop = user; in at_each_domain() local 407 stmt->stmt = find_stmt(scop, id); in at_each_domain() 514 build_info.scop = scop; in print_scop() 565 struct ppcg_scop *scop = user; in tile_band() local 767 schedule = get_schedule(scop, options); in generate() 775 struct ppcg_scop *scop, void *user) in print_cpu_wrap() argument [all …]
|
| H A D | ppcg.h | 111 int ppcg_scop_any_hidden_declarations(struct ppcg_scop *scop); 112 __isl_give isl_id_list *ppcg_scop_generate_names(struct ppcg_scop *scop, 118 struct ppcg_scop *scop, void *user), void *user); 125 void compute_dependences(struct ppcg_scop *scop);
|
| H A D | print.c | 421 struct ppcg_scop *scop, int exposed) in print_declarations() argument 426 if (!scop) in print_declarations() 429 build = isl_ast_build_from_context(isl_set_copy(scop->context)); in print_declarations() 430 for (i = 0; i < scop->pet->n_array; ++i) { in print_declarations() 431 struct pet_array *array = scop->pet->arrays[i]; in print_declarations() 449 __isl_take isl_printer *p, struct ppcg_scop *scop) in ppcg_print_exposed_declarations() argument 451 return print_declarations(p, scop, 1); in ppcg_print_exposed_declarations() 458 __isl_take isl_printer *p, struct ppcg_scop *scop) in ppcg_print_hidden_declarations() argument 460 return print_declarations(p, scop, 0); in ppcg_print_hidden_declarations()
|
| H A D | gpu.c | 368 if (i < prog->scop->pet->n_array) in collect_array_info() 3912 gen->prog->scop); in gpu_create_kernel() 5097 data.tagger = prog->scop->tagger; in node_may_persist() 5558 if (!scop || !stmt) in is_stmt_killed() 5586 s->stmt = scop->pet->stmts[i]; in extract_stmts() 5587 killed = is_stmt_killed(scop, scop->pet->stmts[i]); in extract_stmts() 5667 if (!scop) in generate() 5671 prog = gpu_prog_alloc(ctx, scop); in generate() 5683 p = print_cpu(p, scop, options); in generate() 5794 if (!scop) in gpu_prog_alloc() [all …]
|
| H A D | print.h | 36 __isl_take isl_printer *p, struct ppcg_scop *scop); 38 __isl_take isl_printer *p, struct ppcg_scop *scop);
|
| /llvm-project-15.0.7/polly/utils/ |
| H A D | jscop2cloog.py | 5 def getDomains(scop): argument 6 statements = scop['statements']; 11 for statement in scop['statements']: 18 def getSchedules(scop): argument 19 statements = scop['statements']; 29 def writeCloog(scop): argument 50 context = scop['context'] 51 domains = getDomains(scop) 52 schedules = getSchedules(scop) 63 scop = json.load(inputFile) [all …]
|
| /llvm-project-15.0.7/polly/utils/pyscop/ |
| H A D | jscop2iscc.py | 5 def printDomain(scop): argument 9 for statement in scop['statements']: 15 def printAccesses(scop): argument 19 for statement in scop['statements']: 29 for statement in scop['statements']: 37 def printSchedule(scop): argument 41 for statement in scop['statements']: 55 scop = json.load(inputFile) 57 printDomain(scop) 58 printAccesses(scop) [all …]
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopBuilder.cpp | 1237 if (!scop->contains(L)) in buildSchedule() 1326 if (scop->isEscaping(Inst)) in buildEscapingDependences() 1748 for (auto &Stmt : *scop) { in buildAccessFunctions() 2311 for (auto &Stmt : *scop) in updateAccessDimensionality() 2317 for (auto &Stmt : *scop) in foldAccessRelations() 2325 for (auto &Stmt : *scop) in assumeNoOutOfBounds() 3535 if (scop->isEmpty()) { in buildScop() 3570 scop->realignParams(); in buildScop() 3578 scop->simplifyContexts(); in buildScop() 3587 scop->simplifySCoP(true); in buildScop() [all …]
|
| H A D | ScopPass.cpp | 108 if (auto *scop = S.second.get()) in invalidate() local 110 InnerAM->clear(*scop, scop->getName()); in invalidate() 123 auto *scop = S.second.get(); in invalidate() local 124 if (!scop) in invalidate() 128 InnerAM->getCachedResult<FunctionAnalysisManagerScopProxy>(*scop)) { in invalidate() 142 InnerAM->invalidate(*scop, *InnerPA); in invalidate() 148 InnerAM->invalidate(*scop, PA); in invalidate()
|
| /llvm-project-15.0.7/polly/lib/External/pet/include/ |
| H A D | pet.h | 554 __isl_take pet_scop *scop, void *user), void *user); 567 int pet_scop_has_data_dependent_accesses(__isl_keep pet_scop *scop); 575 int pet_scop_can_build_ast_exprs(__isl_keep pet_scop *scop); 577 void pet_scop_dump(__isl_keep pet_scop *scop); 578 __isl_null pet_scop *pet_scop_free(__isl_take pet_scop *scop); 590 __isl_keep pet_scop *scop); 597 __isl_keep pet_scop *scop); 600 __isl_keep pet_scop *scop); 605 __isl_keep pet_scop *scop); 611 __isl_keep pet_scop *scop); [all …]
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | PollyPasses.def | 14 FUNCTION_PASS("polly-scop-viewer", ScopViewer()) 15 FUNCTION_PASS("polly-scop-only-viewer", ScopOnlyViewer()) 16 FUNCTION_PASS("polly-scop-printer", ScopPrinter()) 17 FUNCTION_PASS("polly-scop-only-printer", ScopOnlyPrinter())
|
| /llvm-project-15.0.7/polly/test/ScopDetect/ |
| H A D | report-scop-location.ll | 26 ; CHECK: note: Polly detected an optimizable loop region (scop) in function 'foo' 27 ; CHECK: test.c:2: Start of scop 28 ; CHECK: test.c:3: End of scop 52 ; CHECK: note: Polly detected an optimizable loop region (scop) in function 'bar' 53 ; CHECK: test.c:9: Start of scop 54 ; CHECK: test.c:13: End of scop
|
| /llvm-project-15.0.7/polly/test/CodeGen/ |
| H A D | multiple-scops-in-a-row.ll | 3 ; This test case has two scops in a row. When code generating the first scop, 4 ; the second scop is invalidated. This test case verifies that we do not crash 5 ; due to incorrectly assuming the second scop is still valid. 7 ; We explicitly check here that the second scop is not code generated. Later
|
| H A D | scalar-references-used-in-scop-compute.ll | 3 ; Test the code generation in the presence of a scalar out-of-scop value being 29 ; CHECH-LABEL: @scalar-outside-of-scop 32 define void @scalar-outside-of-scop(float* %A) {
|
| H A D | multiple-codegens.ll | 2 ; RUN: opt %loadNPMPolly "-passes=scop(polly-opt-isl,polly-codegen,polly-codegen)" -S < %s | FileCh… 3 ; RUN: opt %loadNPMPolly "-passes=scop(polly-opt-isl,polly-codegen),scop(polly-codegen)" -S < %s | …
|
| H A D | split_edge_of_exit.ll | 4 ; This is a scop directly precedented by a region, i.e. the scop's entry is the
|
| H A D | non-affine-region-implicit-store.ll | 5 ; causes the dominance check to always fail any block in the scop. The 8 ; implicit stores is assumed to be not from the scop.
|
| H A D | entry_with_trivial_phi_other_bb.ll | 3 ; The entry of this scop's simple region (entry.split => for.end) has an trivial 4 ; PHI node that is used in a different of the scop region. LCSSA may create such
|
| /llvm-project-15.0.7/polly/test/GPGPU/ |
| H A D | add-scalars-in-scop-to-kills.ll | 6 ; Check that we detect a scop. 11 ; Check that we have a scalar that is not a phi node in the scop. 18 ; Check that we add variables that are local to a scop into the kills that we 22 ; #pragma scop
|
| /llvm-project-15.0.7/polly/include/polly/ |
| H A D | ScopPass.h | 259 Scop *scop = SI.getScop(R); 260 if (!scop) 262 Updater.CurrentScop = scop; 264 PreservedAnalyses PassPA = Pass.run(*scop, SAM, AR, Updater); 266 SAM.invalidate(*scop, PassPA);
|
| /llvm-project-15.0.7/polly/test/CodeGen/OpenMP/ |
| H A D | reference-preceeding-loop.ll | 6 ; of the scop, but does not contain the scop.
|
| /llvm-project-15.0.7/polly/test/ScopInfo/ |
| H A D | branch-references-loop-scev-with-unknown-iterations.ll | 23 ; did not identify the branch condition as non-affine during scop detection. 25 ; region (and return an empty scop) or only detect a smaller region if
|
| /llvm-project-15.0.7/polly/lib/External/ppcg/tests/ |
| H A D | scalar.c | 6 #pragma scop in main()
|