search for: parallelizationcleanup

Displaying 6 results from an estimated 6 matches for "parallelizationcleanup".

2012 Aug 10
2
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...special-handling child regions (parallel loops and serialized/critical regions) If the special-handling region metadata is no longer referenced by code within the parallel region, then the region has become invalid, and will be removed (meaning all parallelization metadata will be removed) by the ParallelizationCleanup. The same is true for all other cross-referenced metadata below. Note that parallel regions can be nested. As a quick example, something like: int main() { int a; #pragma omp parallel firstprivate(a) do_something(a) ... } becomes something like: define private void @parreg(i32 %a) { entr...
2012 Oct 02
7
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...s (parallel loops and serialized/critical > regions) > > If the special-handling region metadata is no longer referenced by code > within the parallel region, then the region has become invalid, and > will be removed (meaning all parallelization metadata will be removed) > by the ParallelizationCleanup. The same is true for all other > cross-referenced metadata below. > > Note that parallel regions can be nested. > > As a quick example, something like: > int main() { > int a; > #pragma omp parallel firstprivate(a) > do_something(a) > ... > } > > be...
2012 Aug 13
0
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...ring will be done by IR level passes in CodeGen > prior to SelectionDAG conversion. Currently, this means after > loop-strength reduction. Like loop-strength reduction, these IR level > passes will get a TLI object pointer and will have target-specific > override capabilities. > > ParallelizationCleanup - This pass will be scheduled prior to the other > parallelization lowering passes (and anywhere else we decide). Its job > is to remove parallelization metadata that had been rendered > inconsistent by earlier optimization passes. When a parallelization > region is removed, any paralle...
2012 Oct 02
0
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...; serialized/critical regions) > > > > If the special-handling region metadata is no longer referenced by > > code within the parallel region, then the region has become > > invalid, and will be removed (meaning all parallelization metadata > > will be removed) by the ParallelizationCleanup. The same is true > > for all other cross-referenced metadata below. > > > > Note that parallel regions can be nested. > > > > As a quick example, something like: > > int main() { > > int a; > > #pragma omp parallel firstprivate(a) > > do...
2012 Oct 02
1
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...gions) > > > > > > If the special-handling region metadata is no longer referenced by > > > code within the parallel region, then the region has become > > > invalid, and will be removed (meaning all parallelization metadata > > > will be removed) by the ParallelizationCleanup. The same is true > > > for all other cross-referenced metadata below. > > > > > > Note that parallel regions can be nested. > > > > > > As a quick example, something like: > > > int main() { > > > int a; > > > #pragma omp pa...
2012 Aug 13
2
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...passes in > > CodeGen prior to SelectionDAG conversion. Currently, this means > > after loop-strength reduction. Like loop-strength reduction, these > > IR level passes will get a TLI object pointer and will have > > target-specific override capabilities. > > > > ParallelizationCleanup - This pass will be scheduled prior to the > > other parallelization lowering passes (and anywhere else we > > decide). Its job is to remove parallelization metadata that had > > been rendered inconsistent by earlier optimization passes. When a > > parallelization region is...