N
N
netslavehq2015-07-03 22:34:48
C++ / C#
netslavehq, 2015-07-03 22:34:48

What is LVM?

Please explain what is LLVM ?, and how it works / works.
Wiki and related posts did not help, all these backends, frontends optimizers only confuse the explanation.
I would also like such a "diagram"
source code -> code state A (what happened) -> B (what happened) -> ... -> processor instructions.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Valery Okhotnikov, 2015-07-04
@vox13

Source code -> parser (frontend) -> IR code generator (we got an intermediate virtual machine bytecode) -> LLVM backend (from IR code we generate code for the target platform (llc) or we can directly execute it (lli) )
this is a "layer" between the source code and machine code for a specific platform.
What is it for? To generate better (optimized) code.

D
D', 2015-07-03
@Denormalization

>backends, frontends optimizers only confuse explanations
And how can you explain without this, if these are the basic concepts?
Here you can read www.aosabook.org/en/llvm.html with diagrams and examples.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question