Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Getting started with LLVM core libraries
  • Table Of Contents Toc
Getting started with LLVM core libraries

Getting started with LLVM core libraries

By : Bruno Lopes, Auler
4.3 (18)
close
close
Getting started with LLVM core libraries

Getting started with LLVM core libraries

4.3 (18)
By: Bruno Lopes, Auler

Overview of this book

In today’s fast-paced world of change, companies expect you to do more, with less. Drawing on over a decade of Change Management experience as a consultant with Fortune 500 companies including IBM and NCR, Emily Carr shares the secrets to making change happen smoothly.
Table of Contents (12 chapters)
close
close
11
Index

Introducing the llvm::MCJIT framework


The MCJIT class is a novel JIT implementation for LLVM. It differs from the old JIT implementation by the MC framework, explored in Chapter 6, The Backend. MC provides a uniform representation for instructions and is a framework shared among the assembler, disassembler, assembly printer and MCJIT.

The first advantage of using the MC library is that targets need to specify their instruction encodings only once because this information is used by all the subsystems. Therefore, when writing an LLVM backend, if you implement the object code emission for your target, you have the JIT functionality as well.

The llvm::JIT framework is going to be removed after LLVM 3.5 and completely replaced by the llvm::MCJIT framework. So, why did we study the old JIT? Although they are different implementations, the ExecutionEngine class is generic and most concepts apply to both engines. Most importantly, as in the LLVM 3.4 release, the MCJIT design does not support some...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Getting started with LLVM core libraries
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon