Hi Chevounne,
LLVM Infrastructure is mostly based on an source code and target
independent intermediate representation (LLVMIR) to do most of its
transformation. Usually the IR is stored in a file (.ll file).
Different front-end codes could all generate LLVMIR, so that LLVM
could then eat all such kind of IR, and process it. Depends on the
language, a bunch of runtime function call might be generated in LLVMIR.
Following is some of the most important docs/papers about how it works
(In my opinion), Other guys in the community might have additional useful
other docs.
1. LLVM Introuduction paper by Chris Lattner (CGO 2004)
http://llvm.org/pubs/2004-01-30-CGO-LLVM.pdf
2. How OpenGL support works in LLVM (The "different frontend example)
by Chris Lattner.
http://lists.cs.uiuc.edu/pipermail/llvmdev/2006-August/006492.html
3. The LLVM IR representation docs:
http://llvm.org/docs/LangRef.html
Kun Ling
On Sat, Jun 27, 2015 at 11:51 AM, Kayona Getten <chevkay at gmail.com>
wrote:
> Good Afternoon LLVM Team,
>
> I am currently doing a research paper on LLVM and I need to understand how
> the infrastructure takes different front-end codes and cross compile them.
> Are there any papers explaining how exactly this service works please.
>
> Regards,
> Chevounne Getten
> University of Technology Jamaica
> chevkay at gmail.com
>
>
<https://urldefense.proofpoint.com/v2/url?u=http-3A__goog-5F535946363&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=KWhRR3iiu443f88I27S4w8TBWGzzTuXm4b68kGVZwLo&s=bH5wE6LmVS3YmPmExkoNTv_WoJqQZtCmz6jnY-9Lf-o&e=>
> chevounneg at yahoo.com
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
--
http://www.lingcc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20150628/bf2e4944/attachment.html>