Displaying 2 results from an estimated 2 matches for "kmpc_micro".
2016 Jul 31
0
[Openmp-dev] How to get the function definition of a kmpc_micro call
...here you may be able to find this information.
>
> In the clang sources, have a look at: lib/CodeGen/CGOpenMPRuntime.cpp and
> the function createRuntimeFunction where the call to __kmpc_fork_call() is
> created. The type of the outlined function can be had through the function:
> getKmpc_MicroPointerTy(). Is this what you are looking for?
>
> Regards,
> Arpith
>
> "Openmp-dev" <openmp-dev-bounces at lists.llvm.org> wrote on 07/30/2016
> 12:38:09 PM:
>
> > From: via Openmp-dev <openmp-dev at lists.llvm.org>
> > To: Dounia Khaldi <k...
2016 Jul 30
0
How to get the function definition of a kmpc_micro call
Hello,
The third argument of the OpenMP runtime call __kmpc_fork_call is the
outlined function resulting from omp parallel directive; this is of type
kmpc_micro. I can get this argument as an LLVM value by using
(callInst->getArgOperand...), but once I get this value, i am stuck in
knowing its class type. An example of this value can be:
void (i32*, i32*, ...)* bitcast (void (i32*, i32*, double**, double**,
double**, double**, double**, double*, i32*, d...