Displaying 3 results from an estimated 3 matches for "__mpc_static_loop_begin".
2012 Jan 16
1
[LLVMdev] OpenMP support for LLVM
...PC: (for schedule = runtime)
if ( __mpcomp_runtime_loop_begin( ... ) ) {
do {
for ( ... ) {
A ;
}
} while ( __mpcomp_runtime_loop_next( ... ) ) ;
}
__mpcomp_runtime_loop_end() ;
-> Lowering to MPC: (for schedule = static)
Some fast LLVM-IR implementations of __mpc_static_loop_begin() may be
called and inlined.
How to generate the OpenMP intrinsics?
There are two ways:
* People implement the OpenMP frontend stuff in clang and clang can
directly emit the relevant intrinsics when generating LLVM-IR.
* An automatic parallelizer generates code by transforming existing
LLVM-...
2012 Jan 16
3
[LLVMdev] multi-threading in llvm
I am interested. I would be grateful for your hints.
So OpenMP has various constructs such as parallel, barrier, single,
for, etc. And there is at least two libraries to generate OpenMP code:
libgomp and mpc. We want to be independent of specific library.
We should create an interface with methods which present manual
inserting of OpenMP pragmas in C or Fortran code. These sounds like
"this
2012 Jan 16
0
[LLVMdev] OpenMP support for LLVM
...oop_begin( ... ) ) {
> do {
> for ( ... ) {
> A ;
> }
> } while ( __mpcomp_runtime_loop_next( ... ) ) ;
> }
> __mpcomp_runtime_loop_end() ;
>
> -> Lowering to MPC: (for schedule = static)
>
> Some fast LLVM-IR implementations of __mpc_static_loop_begin() may be
> called and inlined.
>
> How to generate the OpenMP intrinsics?
>
> There are two ways:
>
> * People implement the OpenMP frontend stuff in clang and clang can
> directly emit the relevant intrinsics when generating LLVM-IR.
>
> * An automatic paralleli...