Displaying 8 results from an estimated 8 matches for "kaleidescope".
2009 Dec 21
0
[LLVMdev] Kaleidescope lesson #3
I tried to compile and run the code from the Kaleidescope tutorial:
http://llvm.org/docs/tutorial/LangImpl3.html
While the compilation worked fine, the run did not. I'm using the
version of llvm from svn for 12/15/09. In gdb
I get this stack trace, and never see the "ready>" prompt. Apparently
it's dying inside constructors in the...
2010 Aug 11
4
[LLVMdev] Optimization pass questions
...ectly call a few functions in the module, the others existing only in case they are needed by the dynamically-generated code that I'm JITing?
It seems that the combinatorics of which passes to apply, and in which order (including doing some multiple times), are pretty daunting. Other than the Kaleidescope tutorial (too simple) and the StandardPasses.h (too complex?) I can't find any other examples, much less pro/con discussion or guidance. Does anybody have any pointers to web pages or other docs where people have shared their experiences walking through the space of possible pass combinations?...
2012 Nov 05
0
[LLVMdev] [cfe-dev] License of LLVM Tutorial
...polished a bit.
First of all, you probably want to add CMake files along with the makefiles.
Second, you will want to bring the code in line with the coding
standards <http://llvm.org/docs/CodingStandards.html>. In particular,
I am seeing hard tabs in the code. Also, IIRC, last I looked at
kaleidescope, there were memory leaks and nasty global variables which
should probably be fixed before merging this in.
You will also want to thoroughly document this project (using Sphinx
and _not_ HTML); describe the overall structure of the compiler and
which LLVM APIs it uses, give an overview of the direc...
2012 Nov 04
2
[LLVMdev] License of LLVM Tutorial
Hello List,
I am studying LLVM/clang recently.
One of the method of my learning is making a LLVM project based on
LLVM tutorial.
http://llvm.org/docs/tutorial/
I divided toy.cpp into several .cpp and .h files in several directories.
The purpose of this work is making it structured similar to clang.
And I put it up to github.
git://github.com/Journeyer/klang.git
Now I wonder what license
2010 Aug 12
0
[LLVMdev] Optimization pass questions
...ns in the module, the others existing only in case they are needed by
> the dynamically-generated code that I'm JITing?
>
> It seems that the combinatorics of which passes to apply, and in which
> order (including doing some multiple times), are pretty daunting. Other
> than the Kaleidescope tutorial (too simple) and the StandardPasses.h (too
> complex?) I can't find any other examples, much less pro/con discussion or
> guidance. Does anybody have any pointers to web pages or other docs where
> people have shared their experiences walking through the space of possible
>...
2010 Aug 12
0
[LLVMdev] Optimization pass questions
...dule, the others existing only in case they are needed by the dynamically-generated code that I'm JITing?<br />
> <br />
> It seems that the combinatorics of which passes to apply, and in which order (including doing some multiple times), are pretty daunting. Other than the Kaleidescope tutorial (too simple) and the StandardPasses.h (too complex?) I can't find any other examples, much less pro/con discussion or guidance. Does anybody have any pointers to web pages or other docs where people have shared their experiences walking through the space of possible pass combinations?...
2010 Aug 12
0
[LLVMdev] Optimization pass questions
...a few functions in the module, the others existing only in case they are needed by the dynamically-generated code that I'm JITing?
>
> It seems that the combinatorics of which passes to apply, and in which order (including doing some multiple times), are pretty daunting. Other than the Kaleidescope tutorial (too simple) and the StandardPasses.h (too complex?) I can't find any other examples, much less pro/con discussion or guidance. Does anybody have any pointers to web pages or other docs where people have shared their experiences walking through the space of possible pass combinations?...
2015 Apr 09
2
[LLVMdev] BNF for IL/IR interpreter
This might be a very beginner question, but I'm looking for an example for
something that I have never done.
Suppose that I wanted to express actions with respect to lifted semantics
of CPU instructions to an intermediate representation, BAP IL or LLVM IR.
How might I go about providing a Backus Naur Form specification and then
dynamically interpreting those lifted instructions by also