search for: orcv2exampl

Displaying 8 results from an estimated 8 matches for "orcv2exampl".

Did you mean: orcv2examples
2020 Mar 16
4
ORC JIT Weekly #8: Basic OrcV2 C Bindings, MachO and COFF improvements.
Hi All, I've added a very basic set of C bindings for OrcV2 in 633ea07200e, with an example in llvm/example/OrcV2Examples/BasicOrcV2CBindings. Development of the C APIs is being tracked by http://llvm.org/PR31103 -- if you're interested in C APIs for OrcV2 please get involved. I would especially appreciate feedback and patches from C API users: I don't have a use case for the C APIs myself, so I'm just g...
2020 Apr 13
4
LLVM 10 ORC2 issue with symbol resolution
Hi, I updated my project to LLVM 10.0 today and I am getting JIT symbol resolution errors. I could not find any example or updated tutorial or documentation that describes the new api - as all documentation seems out of date. I paste below some code snippets that show what I am doing: /* global syms is a array mapping names to function addresses */
2020 Apr 20
2
ORC JIT Weekly #12
Hi All, There was only one interesting ORC-specific commit this week: A new example showing how to initialize and de-initialize JITDylibs has been added in llvm/examples/OrcV2Examples/LLJITWithInitializers. The Extensible RTTI system (https://reviews.llvm.org/D39111) that I posted a while back has landed. While this is not ORC specific, I expect it to be used in upcoming patches to allow ORC clients to check the dynamic type of MaterializationUnits. This can be used during di...
2020 Sep 04
2
Performance of JIT execution
Hello, I recently noticed a performance issue of JIT execution vs native code of the following simple logic which computes the Fibonacci sequence: uint64_t fib(int n) { if (n <= 2) { return 1; } else { return fib(n-1) + fib(n-2); } } When compiled natively using clang++ with -O3, it took 0.17s to compute fib(40). However, when executing using LLJIT, fed with the IR output of "clang++
2020 Oct 01
2
[Release-testers] [11.0.0 Release] Please help writing release notes!
...nd LLJIT::deinitialize methods > - Static libraries can now be added to a JITDylib using the StaticLibraryDefinitionGenerator class > - A C API has been added for OrcV2 (llvm-project/llvm/include/llvm-c/Orc.h) > - Several OrcV2 example projects have been added to llvm-project/llvm/examples/OrcV2Examples > - Many bug fixes and API improvements > > -- Lang. > > On Tue, Sep 15, 2020 at 11:19 AM Hans Wennborg via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Thanks! Committed in 158581772fc8f3d6c601ceba14a08285e46cb7e9 >> >> On Tue, Sep 15, 2020 at 4...
2020 Apr 13
2
LLVM 10 ORC2 issue with symbol resolution
...utorial or documentation that describes the new api - as all documentation seems out of date. > > > The doxygen comments should be up-to-date, as should http://llvm.org/docs/ORCv2.html. You can find up-to-date example code for LLJIT in llvm/examples/LLJITExamples (LLVM 10) or llvm/examples/OrcV2Examples (master). If you come across any documentation in master that appears to be out of date please let me know and I will fix it. > Sadly http://llvm.org/docs/ORCv2.html is out of date. For example: auto &JD = ES.getMainJITDylib(); This api no longer exists. I did look at OrcV2Examples but...
2020 Sep 15
2
[Release-testers] [11.0.0 Release] Please help writing release notes!
Thanks! Committed in 158581772fc8f3d6c601ceba14a08285e46cb7e9 On Tue, Sep 15, 2020 at 4:23 PM Ahsan Saghir <saghir.ibm at gmail.com> wrote: > > Hi Hans, > Here are the PowerPC release notes for 11.0.0: > > Optimization: > > Improved Loop Unroll-and-Jam legality checks, allowing it to handle more than two level loop nests > Improved Loop Unroll to be able
2020 May 19
3
linker adaptability ...
hello folks, I'm working to add runtime updating of code to the OCaml compiler which in its bytecode guise presents no barrier because there is only one linker and it is written in that language and full control is available. With native code on the other hand, there is reliance on the system linker and I got completely lost examining the GNU ld/dl library source code. The prospect of