Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] OCaml Kaleidoscope tutorial links to the C++ tutorial"
2008 Mar 27
2
[LLVMdev] first two chapters for the ocaml bindings in svn
I've just committed the first two chapters of my ocaml llvm bindings
tutorial by porting the Kaleidoscope tutorial to ocaml. These chapters
are the lexer and parser. If anyone is interest in trying it out, I'd
love any feedback. If you've got the svn trunk checked out, you'll
find the docs here:
docs/tutorial/OCamlLangImpl1.html
docs/tutorial/OCamlLangImpl2.html
If not, you can
2008 Mar 27
0
[LLVMdev] first two chapters for the ocaml bindings in svn
On Mar 27, 2008, at 04:30, Erick Tryzelaar wrote:
> I've just committed the first two chapters of my ocaml llvm bindings
> tutorial by porting the Kaleidoscope tutorial to ocaml. These chapters
> are the lexer and parser. If anyone is interest in trying it out, I'd
> love any feedback. If you've got the svn trunk checked out, you'll
> find the docs here:
>
>
2013 Nov 23
1
[LLVMdev] "Broken" link in Kaleidoscope sample
Perhaps somebody out there knows where this link should point:
http://llvm.org/docs/ProgrammersManual.html#TypeResolve
It simply goes to the top of the document, probably because something has
been deleted or the document has been converted to reST.
It is found on the last page of the Kaleidoscope tutorial:
http://llvm.org/docs/tutorial/LangImpl8.html.
-- Mikael
-------------- next part
2007 Nov 13
0
[LLVMdev] 'Implementing a language with LLVM' tutorial
Hi Chris,
Here are some diffs for the final three chapters of the Kaleidoscope
tutorial. The changes are the same sort of changes as previous diffs.
One question though....under the "Memory in LLVM" section of chapter 7
(mutable variables) there is a statement like this:
The mem2reg pass implements the standard "iterated dominator frontier"
algorithm...
Should this read
2010 Jun 21
1
[LLVMdev] [PATCH] docs/tutorial/ Kaleidoscope typos
On Mon, 21 Jun 2010 15:31:57 -0500, Chris Lattner <clattner at apple.com>
wrote:
> Applied in r106468, thanks!
>
> -Chris
I think there's a few bugs left in the Kaleidoscope tutorial -- I noticed
somebody converted some of the "Builder.CreateAdd" to CreateFAdd, etc., but
there seem to be a few that got missed. Attached diff is what I could
find...
Kevin Kelley
2008 Nov 13
0
[LLVMdev] Kaleidoscope tutorial and llvm 2.4
Hi all,
being myself still a llvm novice I thought I'd do all fellow newbies a favor and provide a patch that makes the code in the tutorial compile with 2.4, just to avoid extra headache in the (not so easy) process of getting into the matters... it's actually just the new template parameters of the IRBuilder class.
The patch is on the docs/ level since I didn't checkout the whole
2009 Oct 03
1
[LLVMdev] LLVM-Kaleidoscope tutorial
Good morning everyone,
It seems the LLVM tutorial is not up to date anymore and doesn't
compile as is...
The function makeLLVMModule() function doesn't compile at all. Here is
a fix:
Module *makeLLVMModule()
{
// Caches the global context to share it with new Module() and
IntegerType::get() calls
LLVMContext &context = getGlobalContext();
// Module Construction
2010 Jun 03
2
[LLVMdev] [PATCH] docs/tutorial/ Kaleidoscope typos
Index: docs/tutorial/LangImpl6.html
===================================================================
--- docs/tutorial/LangImpl6.html (revision 105365)
+++ docs/tutorial/LangImpl6.html (working copy)
@@ -531,7 +531,7 @@
def unary-(v)
0-v;
-# Define > with the same precedence as >.
+# Define > with the same precedence as <.
def binary> 10 (LHS RHS)
2010 Jun 21
0
[LLVMdev] [PATCH] docs/tutorial/ Kaleidoscope typos
Applied in r106468, thanks!
-Chris
On Jun 2, 2010, at 5:23 PM, Adam Warner wrote:
> Index: docs/tutorial/LangImpl6.html
> ===================================================================
> --- docs/tutorial/LangImpl6.html (revision 105365)
> +++ docs/tutorial/LangImpl6.html (working copy)
> @@ -531,7 +531,7 @@
> def unary-(v)
> 0-v;
>
> -# Define > with
2013 Jul 04
1
[LLVMdev] Kaleidoscope Tutorial is Out of Date
I'm working thought the Kaleidoscope tutorials for LLVM 3.3 and noticed the code listing for chapter 4 is out of date on the web.
Take a look at http://llvm.org/releases/3.3/docs/tutorial/LangImpl4.html. The first line includes llvm/DerivedTypes.h, but this does not compile. The correct path is llvm/IR/Derivedtypes.h. There are other differences, and the examples that I pulled along with
2019 Jan 12
2
LLVM header files for Kaleidoscope tutorial
I'm going through the Kaleidoscope tutorial, adding the codegen()
functions: https://llvm.org/docs/tutorial/LangImpl03.html.
I cannot find any discussion of header files to include, (other than the
include of llvm/ADT/STLExtras.h in the lexer/parser code), and the
compilation is failing due to several undefined symbols: LogErrorV, Value,
LLVMContext, APFloat, and others. I've been hunting
2010 Jan 22
0
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
On Fri, Jan 22, 2010 at 1:56 PM, ALbert Mietus <albert at ons-huis.net> wrote:
> Hello All
>
> I 'm studing LLVM/Clang and trying to follow the Kaleidoscope tutorial
> (Release 2.6 version).
> I found some minir docu-bugs and added them to Bugzilla.
>
> However, Now I found a show-stopper for me, the toy (v4) demo does
> build, but does crash, on any input. Even a
2008 Dec 02
1
[LLVMdev] Kaleidoscope tutorial failed at Chapter 4...
Hi everyone. I am using LLVM 2.4 release to practise the tutorial at
Kaleidoscope Chapter 4.
I built the LLVM library, and created my own project, and then paste the
code from the tutorial into my own project. Then after compiled and built
it, I passed the built stage. (I am using visual studio 2005 )
However, when I tried to input some code in the command line window, the
sample program crashed.
2014 Oct 21
2
[LLVMdev] Updating Kaleidoscope tutorial
Hi there,
I've been working through the tutorial on using LLVM to implement a small
language (http://llvm.org/docs/tutorial/index.html), and I noticed that the
code in the tutorial is a bit out of sync with LLVM 3.5.
I managed to get the code working, and it appears to even be working
correctly. I'd like to help correct the tutorial so that other people can
also benefit from the pain
2008 Dec 03
0
[LLVMdev] Kaleidoscope tutorial failed at Chapter 4...
Thank you very much for your idea, chuck Zhao.
May I ask whether you have solved this problem or not?
--
Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081203/f53425e5/attachment.html>
2013 Jun 04
1
[LLVMdev] MCJIT and Kaleidoscope Tutorial
Hi Andrew,
Am 04.06.2013 02:13, schrieb Kaylor, Andrew:
> Hi Dmitri,
>
> You might want to try replacing the call to JMM->invalidInstructionCache() with a call to TheExecutionEngine->finalizeObject(). If you are getting a non-NULL pointer from getPointerToFunction but it crashes when you try to call it, that is most likely because the memory for the generated code has not been
2017 Feb 13
2
I'd like to translate the Kaleidoscope tutorial to D language, where should I ask for permission?
Hi llvm-dev:
Sorry for bothering at this mailing list, as I don't know where to ask.
I'm learning LLVM and read the tutorials and found that there are tutorials for C++, C and Ocaml users.
I recently found that there are D bindings for LLVM and it is feasible to write this tutorial in D.
I'd like to take on this little project and translate the code to D, making changes where
2013 Jun 04
0
[LLVMdev] MCJIT and Kaleidoscope Tutorial
Am 04.06.2013 16:05, schrieb David Tweed:
> | I am curious about JMM->invalidInstructionCache(), which I found in
> | lli.cpp implementation. lli.cpp contains also call finalizeObject(), I
> | just overlooked it. lli.cpp calls finalizeObject(), which calls
> | applyPermissions, which in turn calls invalidateInstructionCache. So why
> | lli.cpp does call
2013 Jun 04
1
[LLVMdev] MCJIT and Kaleidoscope Tutorial
Hi Dmitri,
You're right. The lli code should be cleaned up. As David said, there was a time when the call to invalidate the instruction cache was necessary. It isn't necessary anymore.
-Andy
-----Original Message-----
From: Dmitri Rubinstein [mailto:dmitri.rubinstein at googlemail.com]
Sent: Tuesday, June 04, 2013 7:20 AM
To: David Tweed
Cc: Kaylor, Andrew; LLVM Dev
Subject: Re:
2008 Apr 15
2
[LLVMdev] Bugs in Kaleidoscope tutorial code, and a bus error
I'm working through the Kaleidoscope tutorial through section 2.4, and
I've encountered some problems: several minor bugs, and finally a bus
error that has me stumped:
-------
In the code listed in LLVM Tutorial section 2.2 Implementing a Parser and AST.
Line 19 has a comma at the end of line that shouldn't be there
Line 120 is missing a closing angle bracket.
Line 120 should be