Displaying 4 results from an estimated 4 matches for "ravi_llvmcodegen".
2019 Aug 10
2
ORC v2 question
...mized and expected optimized code? The default implementation only contains some transformations. It would be helpful to know what you are actually trying.
> Optimize Module is just a function object.
>
You can view the code here:
https://github.com/dibyendumajumdar/ravi/blob/master/include/ravi_llvmcodegen.h
https://github.com/dibyendumajumdar/ravi/blob/master/src/ravi_llvmjit.cpp
Just look for USE_ORCv2_JIT
The code is messy but that is because LLVM's api keeps changing from
version to version, causing huge issues for users.
>
> On Sat, 10 Aug 2019 at 22:55, Dibyendu Majumdar via llvm-...
2019 Aug 13
3
ORC v2 question
...of the problem.
Code is still not getting optimized at all. I don't really know what
is going on.
Yet the same setup works fine with the Legacy ORC v1 setup.
Any help is appreciated.
Here are again the links to the relevant code:
https://github.com/dibyendumajumdar/ravi/blob/master/include/ravi_llvmcodegen.h
https://github.com/dibyendumajumdar/ravi/blob/master/src/ravi_llvmjit.cpp
Just look sections marked USE_ORCv2_JIT.
>> > Optimize Module is just a function object.
>> >
>>
>> Thank you - I fixed that now.
Regards
Dibyendu
2019 Aug 10
2
ORC v2 question
On Sat, 10 Aug 2019 at 21:05, Praveen Velliengiri
<praveenvelliengiri at gmail.com> wrote:
>
> Optimize Module is just a function object.
>
Thank you - I fixed that now.
Regards
2019 Aug 10
3
ORC v2 question
Hi,
I am trying out ORC v2 and facing some problems.
I am using LLVM 8.0.1.
I updated my ORC v1 implementation from 6.0 to 8.0 based on
Kaleidoscope example (i.e. using Legacy classes) and that works fine.
Now I am trying out ORC v2 apis, based on
https://github.com/llvm-mirror/llvm/blob/master/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h.
I have got it to compile and build.