search for: parreg1

Displaying 4 results from an estimated 4 matches for "parreg1".

Did you mean: parreg
2012 Oct 02
7
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...pragma omp parallel firstprivate(a) > do_something(a) > ... > } > > becomes something like: > > define private void @parreg(i32 %a) { > entry: > call void @do_something(i32 %a) > ret > } > > define i32 @main() { > entry: > ... > call void @parreg1(i32 %a) !parallel !0 > ... > > !0 = metadata !{ metadata !"region", @parreg } > --Vikram Professor, Computer Science University of Illinois at Urbana-Champaign http://llvm.org/~vadve
2012 Oct 02
0
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...> > } > > > > becomes something like: > > > > define private void @parreg(i32 %a) { > > entry: > > call void @do_something(i32 %a) > > ret > > } > > > > define i32 @main() { > > entry: > > ... > > call void @parreg1(i32 %a) !parallel !0 > > ... > > > > !0 = metadata !{ metadata !"region", @parreg } > > > > > --Vikram > Professor, Computer Science > University of Illinois at Urbana-Champaign > http://llvm.org/~vadve > > > > > > -...
2012 Oct 02
1
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...ike: > > > > > > define private void @parreg(i32 %a) { > > > entry: > > > call void @do_something(i32 %a) > > > ret > > > } > > > > > > define i32 @main() { > > > entry: > > > ... > > > call void @parreg1(i32 %a) !parallel !0 > > > ... > > > > > > !0 = metadata !{ metadata !"region", @parreg } > > > > > > > > > --Vikram > > Professor, Computer Science > > University of Illinois at Urbana-Champaign > > http://llvm.org/~...
2012 Aug 10
2
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...ions 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) { entry: call void @do_something(i32 %a) ret } define i32 @main() { entry: ... call void @parreg1(i32 %a) !parallel !0 ... !0 = metadata !{ metadata !"region", @parreg } -- Reductions -- To handle reductions, first, the variable is converted into a output pass-by-pointer parameter to the function. The pointer refers to an array of values, one for each thread that will execute the r...