search for: howtousejit

Displaying 20 results from an estimated 141 matches for "howtousejit".

2020 Feb 24
2
segfault with HowToUseJIT
Hi! I've started looking porting our application which uses LLVM JIT to using LLVM 9 (9.0.1). To begin, I tried running the HowToUseJIT.cpp (example directory) program and it fails with a segfault: ./HowToUseJIT We just constructed this LLVM module: ; ModuleID = 'test' source_filename = "test" Running foo: Segmentation fault (core dumped) Running it through GDB: Program received signal SIGSEGV, Segmentati...
2004 Sep 15
2
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No such file or directory
Hi I'm trying to compile HowToUseJIT.cpp, but it seems that iterator definition is missing: --------------------Configuration: HowToUseJIT - Win32 Debug-------------------- Compiling... HowToUseJIT.cpp c:\sfu\usr\local\src\llvm\include\llvm\adt\ilist(41) : fatal error C1083: Cannot open include file: 'llvm/ADT/iterator': N...
2007 Mar 29
0
[LLVMdev] compile error with HowToUseJIT
Hi all! I have installed LLVM 1.9 under FreeBSD and read the documentation. Problem: examples/HowToUseJIT fails to compile. I entered the following command in the directory /usr/home/x/llvm1.9/examples/HowToUseJIT : gmake ENABLE_OPTIMIZED=0 It stops after producing object files (.o) without comment. When I enter the following (from the documentation): g++ `llvm-config --ldflags` -o HowToUseJIT HowTo...
2011 Mar 05
1
[LLVMdev] llvm-config example need update
...p://llvm.org/cmds/llvm-config.html But actually bcreader components is not there anymore. The new name of it is bitreader. I thinks this webpage may need to update and also. If i do "llvm-config --help". It will also show wrong component name in examples g++ `llvm-config --cxxflags` -o HowToUseJIT.o -c HowToUseJIT.cpp g++ `llvm-config --ldflags` -o HowToUseJIT HowToUseJIT.o `llvm-config --libs engine bitreader scalaropts` -- Qingpeng Niu Department of Computer Science and Engineering at OSU -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.ll...
2019 Nov 18
2
HowToUseLLJIT crashes in debug build
...io, HowToUseLLJIT.cpp It works fine in a release build. In a debug build It aborts due to an assert failure on Core.cpp (383) because the lhs flags are (Exported | Callable) and the rhs flags are (Callable). What mods should be made to fix this issue? Side note: The comments at the top reference HowToUseJIT.cpp rather than HotToUseLLJIT.cpp Thanks, Rob Conde -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191118/6cba3e60/attachment.html>
2004 Sep 15
0
[LLVMdev] Setup of VC and LLVM folder structure when compiling: HowToUseJIT example
Paolo, how is your setup of VC and LLVM folder structure when compiling: HowToUseJIT example? Henrik --- Got Freedom? Software Freedom Day 2004 - 28th of August http://www.softwarefreedomday.org/ --- _________________________________________________________________ F� alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
2005 Mar 11
2
[LLVMdev] Linking LLVM code with LLVM
Hi all, Sorry if this is obvious. I'm trying to link LLVM-generated code with LLVM itself, and don't know how to do it. Just as a little test, I've tried compiling the example HowToUseJIT.cpp using llvm-g++, but I get tons of errors. Is there an easy way of doing this? Has anyone tried it before? Thanks, Marc Ordinas i Llopis | Tragnarion Studios
2011 Mar 25
0
[LLVMdev] Calling external functions failed on PowerPC
Hi, all I found the example code examples/HowToUseJIT.cpp also shows the same error. Attachment is the LLVM module created by HowToUseJIT. And here is the error, Running foo: %X4<def> = LDtoc <ga:@add1>, %X2 UNREACHABLE executed! Stack dump: 0. Running pass 'PowerPC Machine Code Emitter' on function '@foo' Aborte...
2004 Nov 07
2
[LLVMdev] LLVM for JIT only use
...re! > > Sorry for the confusion. By 'runtime', I mean 'llvm/runtime' directory, > > In your list, (1) is llvm/lib/VMCore and a few others, (2) you provide. > We just have a different terminology I did "make" inside llvm/examples/ and inside llvm/examples/HowToUseJIT/ and expected to get an ELF executable.. But I've only got the 2 Release/HowToUseJIT.[do] files.. But the llvm/examples/HowToUseJIT/HowToUseJIT.cpp has at line 47 a "int main()" function. So I was waiting for an executable which I would be able to run. (FYI, the GNU lightning library...
2005 Mar 13
0
[LLVMdev] Linking LLVM code with LLVM
On Fri, 11 Mar 2005, Marc Ordinas i Llopis wrote: > Sorry if this is obvious. > I'm trying to link LLVM-generated code with LLVM itself, and don't know how > to do it. Just as a little test, I've tried compiling the example > HowToUseJIT.cpp using llvm-g++, but I get tons of errors. > > Is there an easy way of doing this? Has anyone tried it before? What sort of errors do you get? Are you passing the right -I options? -Chris -- http://nondot.org/sabre/ http://llvm.cs.uiuc.edu/
2011 Mar 23
4
[LLVMdev] Calling external functions failed on PowerPC
Hi, all I have a trouble with calling external functions on PowerPC. What I am doing is generating a LLVM IR first like this, - x86 call void @helper_shack_flush(%struct.CPUX86State* %62) noinline, !flags !12 - ppc call void @helper_shack_flush(%struct.CPUX86State* %62) noinline, !flags !10 After lowering above LLVM IR for x86 and ppc, it becomes: - x86 %RAX<def> = MOV64ri
2004 Sep 15
0
[LLVMdev] Skip this and previous mail about: HowToUseJIT.cpp
I was only looking in the LLVM source folders. It is located in the build folders... Henrik _________________________________________________________________ F� alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
2004 Sep 16
1
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': Nosuchfile or directory
>From: Paolo Invernizzi <arathorn at fastwebnet.it> >Date: Thu, 16 Sep 2004 11:18:00 +0200 >If VC6 is not doing something wrong with templates... ;-/ As far as I know is template handling a part of some C++ ISO standard. Then, MS should adhere to this... However, what you objects against is that MS didn't implement STL the way STL should be implemented. And the reason to
2010 Jul 27
5
[LLVMdev] Why are LLVM libraries enormous?
...t; I agree that LLVM can be considered a heavyweight dependency on this >> aspect. > > Why is the size of static libraries a "nonsensical" topic of > discussion? Why do you care about the size of library files? > Anyway, in the same example I mentioned that the size of HowToUseJIT > (an executable) is very large (15.4 MB debug, 3.4 MB release); as is a > small example, I'd expect any real-world executable to be larger. Of course a real-world project would be larger, but not on a "linear" proportion compared to HowToUseJIT. That example application pulls...
2004 Sep 16
1
[LLVMdev] HowToUseJIT.cpp - file: 'llvm/ADT/iterator': No suchfile or directory
>From: Paolo Invernizzi <arathorn at fastwebnet.it> >Date: Thu, 16 Sep 2004 10:20:39 +0200 > >I'm using scons to generate that files from .in files. I implemented in it >the configure check regarding iterators, hash and so on... >something like: > Hey, you've found the tool that makes it possible to generically reading Makefiles... Cool - The tool I've
2010 Jul 22
1
[LLVMdev] Is there a guide to LLVM's components?
...try using automated tools such as graphvis and something called "DepCharter" to construct a more up-to-date graph. Including all targets on the graph produced a useless mess, so I removed most of the stuff from "tools", "utils" and "examples" folders (except HowToUseJIT) to produce another graph (attached). But this graph raises some new questions, and I don't think it is conceptually accurate. - What is intrinsics_gen and why does pretty much everything depend on it? - The graph says that nothing except HowToUseJIT depends on LLVMCore. In fact, there are v...
2010 Jul 28
0
[LLVMdev] Why are LLVM libraries enormous?
...static libraries were similar in size, but I just checked some of my own static libraries and they are indeed much larger than the executables they compile to. Sorry, it just never occurred to me that they would be much different. > > Anyway, in the same example I mentioned that the size of HowToUseJIT > > (an executable) is very large (15.4 MB debug, 3.4 MB release); as is > a > > small example, I'd expect any real-world executable to be larger. > > Of course a real-world project would be larger, but not on a "linear" > proportion compared to HowToUseJIT. T...
2005 Mar 14
2
[LLVMdev] Linking LLVM code with LLVM
...Chris Lattner wrote: > On Fri, 11 Mar 2005, Marc Ordinas i Llopis wrote: > >> Sorry if this is obvious. >> I'm trying to link LLVM-generated code with LLVM itself, and don't >> know how to do it. Just as a little test, I've tried compiling the >> example HowToUseJIT.cpp using llvm-g++, but I get tons of errors. >> >> Is there an easy way of doing this? Has anyone tried it before? > > > What sort of errors do you get? Are you passing the right -I options? > Sorry, I didn't mean I had problems compiling HowToUseJIT.cpp with llvm-g++...
2006 Mar 10
2
[LLVMdev] Getting Started with LLVM
...d. 4) The performance of generated code is comparable to GCC, at least on the PowerPC. 5) The LLVM developers appear sufficiently ambitious to encourage real-world use of LLVM. :-) After reading the manuals, building llvm, and messing around with llvm-gcc--all straightforward experiences--I copied HowToUseJIT.cpp to a new directory and tried to build it. At this point, I hit the wall fairly hard: 1) The only supported way to link against LLVM from outside the build directory is to use Makefile.common and the LLVM build system, both of which require an LLVM build tree. Without extensive customization:...
2005 Feb 20
3
[LLVMdev] HowToUseJIT: failed assertion on PPC/Mac OS X
I just got the CVS version of LLVM running tonight. On my PowerBook, one of the examples (HowToUseJIT) has an assertion error when I try and run it: Running foo: JIT.cpp:217: failed assertion `!isAlreadyCodeGenerating && "Error: Recursive compilation detected!"' However, when I compile and run the same program on x86 Linux, it runs fine (Running foo: Result: 11). I ca...