Displaying 20 results from an estimated 1000 matches similar to: "LLVM header files for Kaleidoscope tutorial"
2019 Jan 09
4
Problems trying to build LLVM
Hi, I am brand new to LLVM, or more precisely, trying to be. I'm getting
stuck on compiling LLVM.
- I tried installing on a Mint 18.1 VM with 6GB RAM, and the builds of some
large executables were killed by the OOM killer. I finally realized that I
needed to build using shared libraries, and succeeded. This was in November.
- I put aside my LLVM project, and just got back to it. I got stuck
2001 Dec 03
1
Re-joining the Domain
I was wondering if there is an answer to this
challenge or if I just have to live with it? I'm a bit
of a Newbie here. I'm in the process of setting up
Samba -2.2.2 on a Redhat v7.1 (Seawolf) server.
I've discovered that joining the NT Domain is a simple
matter of
smbpasswd -j DOMAIN_NAME
smbpasswd picks up the PDC name from smb.conf
and moves right along. There is no need to
2014 Jun 30
3
[LLVMdev] LLD dynamic compilation
On 30 June 2014 16:16, Shankar Easwaran <shankare at codeaurora.org> wrote:
> I think you are hitting a bug, the Observer pattern was added a few weeks
> back, and may be there is some sort of uninitialized variable ?
This is my back-trace at "-O2 -g" (since -O1 pass):
operator() (file=<optimized out>, __closure=0x7fffffffde40) at
2016 Aug 29
2
cmake configuration changes to build Kaleidoscope outside of llvm examples src tree
I try to understand cmake build configuration. As an example, I copied
Kaleidoscope from llvm examples to some other directory (e.g.,
/tmp/Kaleidoscope). What change(s) that I need to make to "CMakkeLists.txt"
in order to build Kaleidoscope from /tmp/Kaleidoscope?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2016 Mar 31
1
Kaleidoscope examples on Windows
Are the Kaleidoscope examples supposed to work on Windows? e.g.
C:\llvm\examples\Kaleidoscope\Orc\initial\toy.cpp
when I try to compile this with clang it gives compile time error
messages, and when I try with Microsoft C++ it generates an executable that
runs but crashes when I type in an expression; I get similar results with
a few of the other versions. I can give more detailed feedback if
2016 Apr 01
0
Kaleidoscope on Windows - bug maybe found?
Addendum: this still fails:
auto ExprSymbol = J.findSymbol("putchard");
As yet, I have no idea why - that symbol even seemed to be exported:
extern "C"
double putchard(double X) {
putchar((char)X);
return 0;
}
On Fri, Apr 1, 2016 at 2:42 AM, Russell Wallace <russell.wallace at gmail.com>
wrote:
> To try to find out why it was crashing, I followed the
2010 Nov 15
0
[LLVMdev] Optimization of calls to functions without side effects (from Kaleidoscope example)
On Nov 15, 2010, at 8:42 AM, Rob Pieke wrote:
> SUCCESS!
>
> Sorry, I had removed the addFnAttr() call by accident. Using the basicAA pass and ReadOnly, as you suggested, works like a charm!
>
> :)
Thanks. I've updated the documentation and examples in r119169.
I didn't update the OCaml documentation or examples yet. It looks
like the OCaml bindings don't expose
2008 Sep 26
1
[LLVMdev] Kaleidoscope doesn't work properly
Haohui Mai <haohui.mai at gmail.com> writes:
> I've already filed a bug report but nobody cares :-(
>
> Is it possible to fix the documentation? Because I think the tutorial
> is really important to beginners, which should not be misleading.
>
>> Thanks, -rdynamic helps! It's a pity that it's not written in the
>> tutorial.
>>
>> Also
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
2010 Aug 13
0
[LLVMdev] Kaleidoscope example control flow to c like control flow?
Can anyone point me in the right direction so i can have c like control flow
in the Kaleidoscope example.
for example in Kaleidoscope it's
if a < 5 then
//do something;
to
if (a < 5)
{
//do something
}
im trying to use LLVM to create an audio signal processing library/code for
my music application to create music synths and audio effects.
Thanks.
--
View this message in
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
2001 Dec 03
15
"could not connect to host - localhost"
Hi All:
I'm running Mandrake 8.1 (downloaded) and the install went fine.
Configuring Samba however is another story. I get the message "could not
connect to host - localhost" on the Linux box. I cannot see the network
from the Linux system. The Linux system is visable from Win'98SE as are the
shares but I cannot access them "password is incorrect".
This does not
2018 Dec 30
2
kaleidoscope ch4 jit example regression?
https://llvm.org/docs/tutorial/LangImpl04.html has an example where
the function `foo` gets redefined, and the JIT returns evaluation of
the latest definition. I thought my code was wrong, but it seems that
the binary produced by `ninja Kaleidoscope-Ch4` has the same bug.
Granted, my LLVM checkout is from Nov 3 2018 (r346062). Is this a known issue?
~Nick Desaulniers
2010 Nov 15
1
[LLVMdev] Optimization of calls to functions without side effects (from Kaleidoscope example)
Still no luck after switching to:
theFPM->add( new llvm::TargetData( *theExecutionEngine->getTargetData() ) );
theFPM->add( llvm::createBasicAliasAnalysisPass() );
theFPM->add( llvm::createInstructionCombiningPass() );
theFPM->add( llvm::createReassociatePass() );
theFPM->add( llvm::createGVNPass() );
theFPM->add( llvm::createCFGSimplificationPass() );
Based on output
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
2012 May 14
0
[LLVMdev] Fwd: Tiny bug in Kaleidoscope sample (FALSE ALARM)
Nope, it seems that the code is correct after all. Perhaps a bit unclear,
but correct. So shame on me!
Cheers,
Mikael
---------- Forwarded message ----------
From: Mikael Lyngvig <mikael at lyngvig.org>
Date: 2012/5/14
Subject: Tiny bug in Kaleidoscope sample
To: llvmdev at cs.uiuc.edu
Hi,
As far as I can tell, there's a tiny error in the sample code for the
Kaleidoscope
2013 Mar 26
0
[LLVMdev] Fwd: Extending Kaleidoscope to support Strings
I hope this is the right place to ask this question. If not, please let me
know where I can ask for help.
We are using Kaleidoscope as the base framework to write a source to source
compiler. Our source language has Strings with supported operations such
as concatenation, upper case, and substrings.
I am following the patterns set forth in Kaleidoscope, and need to
represent my std::string as