[LLVMdev] [cfe-dev][Openmp-dev] Provide LLVM IR and OpenMP LLVM IR as input in a Pass
simone.at at gmail.com
Tue Oct 21 13:42:03 PDT 2014
thanks for your answer.
> I think it would be better if you gave us some idea of what you're trying to do. clang's OpenMP implementation turns the OpenMP pragmas into function calls to the runtime library. You can run passes on this IR as you would any other IR. When you say, "Do some operation on it and get results" do you mean generating code, linking and executing that code?
I want to use the pass Polly to find any data dependence in the code.
Since it does not work on OpenMP, I was thinking to apply it on the not-OpenMP IR, then I need the results of Polly to apply other passes to the OpenMP IR.
That is why I need both.
>> I hope this is clear and you can give me some suggestion.
>> Best Regards,
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> Hal Finkel
> Assistant Computational Scientist
> Leadership Computing Facility
> Argonne National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev