Tag Archives: LLVM

  • Just-in-time in No Time? “Use the Source!”
    2012-05-28 Erlang Central

    Videos



    Every cool VM-based language today seems to have a just-in-time (JIT) compiler. With the availability of a powerful compiler infrastructure in the form of LLVM, Erlang is close to get a just-in-time compiler of its own. Using LLVM together with its C-frontend, Clang, and automated source-to-source transformations it is possible to generate a JIT-capable Erlang VM which automatically stays in sync with the basic VM. This talk will provide a brief overview of different just-in-time compilation ...


    Read more


  • ErLLVM
    2012-05-28 Erlang Central

    Videos



    This talk will describe the architecture, design decisions, and the current implementation and performance of ErLLVM. ErLLVM is an extension of the HiPE native code compiler of Erlang/OTP that uses the Low Level Virtual Machine (LLVM) compiler infrastructure as a back-end. As such, it benefits from the set of existing components and low-level optimizations that LLVM provides. More importantly, it is in principle readily available on all platforms that LLVM supports. ErLLVM is a full system cu ...


    Read more


  • ECC – Fun Writing Compilers
    2011-03-21 Erlang Central

    Videos



    This is the story of ECC. ECC is a compiler toolkit built with the following components: - A C pre-processor and parser - A type checker and program normalizer - A back-end target code generator which generates LLVM-assembler code - A Constraint Solver (Gecode) - LLVM Erlang is used to transform C to LLVM-assembler.  LLVM is used to optimize the code and produce code for common targets. Constraint logic programming techniques and Gecode are used for instruction scheduling and code ...


    Read more