Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] Native machine code generation"
2010 Nov 25
1
[LLVMdev] calling c-function with a vector
Hi all,
I have the following problem: I want to call a function from llvm
(tryf in the following) which takes a vector as an argument. The
function tryf is a c-function and should output the whole vector. But
I only get 0.0. Looks like a problem with how the arguments are
passed. I havn't found anything in the docs about how vectors are
passed. Any help would be appreciated.
The llvm-code
2011 Mar 25
3
samba howto: sticky bit on directories
Hi List,
The Samba Howto Collection http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id2611229 says:
"When the set user or group ID bit (s) is set on a directory, then all files created within it will be owned by the user and/or group whose `set user or group' bit is set. "
while i cannot repoduce this behavior the wikipedia says:
2015 Feb 10
2
[LLVMdev] Some basic questions regarding MCJIT and Kaleidoscope sample
HI Dibyendu,
A single MCJIT instance can notionally manage multiple modules, but there
are caveats (which I'm afraid I don't remember off the top of my head) that
make it unattractive in practice. I believe most clients opt for something
like the ExecutionEngine-per-Module model used in the Kaleidoscope
tutorials.
As Dave mentioned, I'm also working on some new JIT APIs (Orc) that
2012 Sep 20
2
[LLVMdev] Programmatically converting LLVM IR to native code
I am generating LLVM IR code and I would like to convert this IR code to native code using the LLVM C++ API. This would be very similar to what's done in the Kaleidoscope tutorial, but instead of relying on JIT compilation, I'd like to emit native code -- the same native code that's produced by llc, for instance.
I'm sure this is possible, but I wasn't able to find the
2009 Jul 27
0
[LLVMdev] llc - generation of native machine code
On Mon, Jul 27, 2009 at 8:25 AM, Rudskyy<tema13tema at yahoo.de> wrote:
> But now I am looking for generation of machine code for my target. I have
> seen, that “llc” has option "-filetype".
>
> It has default value "-filetype=asm", but has more values, as
> "-filetype=obj" and "-filetype=dynlib".
>
> “obj” is very interesting, but
2012 Apr 12
2
[LLVMdev] Native codegen
Hi, I've just started working with LLVM, and have just finished the
Kaleidoscope tutorial. Everything is fine, however I am finding it
difficult to find any information on how to use the /library/ to
generate native object files. I'm assume that it should be possible, but
almost all of the information on llvm.org and beyond is centered around
either JIT compilation or writing new backends
2009 Sep 01
1
[LLVMdev] llc - generation of native machine code
----- Original Message ----
> From aaronngray.lists at googlemail.com Mon Jul 27 15:14:40 2009
> From: aaronngray.lists at googlemail.com (Aaron Gray)
> Date: Mon, 27 Jul 2009 21:14:40 +0100
> Subject: [LLVMdev] llc - generation of native machine code
>
> > On Mon, Jul 27, 2009 at 8:25 AM, Rudskyy<tema13tema at yahoo.de> wrote:
> > > But now I am looking for
2006 Feb 20
0
dual wan, dual router, one machine behind, route from both to / from one machine
i apologize if this has been asked before, but things are too busy to
preclude a full search of the list.
i have both cable and dsl from the local providers here. due to wiring
issues here, i''ve been forced to put the cable modem in one end of the house
and the dsl modem in the other.
the cable modem is firewalled off by a cisco pix 501 (192.168.2.12). the
dsl modem is firewalled off
2009 Jul 27
3
[LLVMdev] llc - generation of native machine code
Hello!
I am working with LLVM project to compile for specific processor
(xPEC-processor from NetX chip, http://hilscher.com/ ).
I have done support of this target successfully! Assembler code can be
emitted with debug information. LLVM - great!)
But now I am looking for generation of machine code for my target. I have
seen, that "llc" has option "-filetype".
It has
2012 Sep 20
0
[LLVMdev] Programmatically converting LLVM IR to native code
On Thu, Sep 20, 2012 at 2:42 AM, Baris Aktemur
<baris.aktemur at ozyegin.edu.tr> wrote:
> I am generating LLVM IR code and I would like to convert this IR code to
> native code using the LLVM C++ API. This would be very similar to what's
> done in the Kaleidoscope tutorial, but instead of relying on JIT
> compilation, I'd like to emit native code -- the same native code
2012 Apr 16
1
Upgrading to Verizon FIOS from Verizon DSL - Linux machine as router/Gateway/LAN server]
Greetings,
A long time ago I setup a Linux machine as a Gateway/LAN Server using
Verizon DSL as the ISP.
I used the following HOWTO as the guide - DSL HOWTO For Linux:
http://www.tldp.org/HOWTO/DSL-HOWTO/index.html
Is there something comprable for Verizon FIOS?
My Gateway machine runs Fedora.
For a new server, I'm considering setting up a CentOS machine, while still
using Fedora on my
2015 Feb 10
3
[LLVMdev] Some basic questions regarding MCJIT and Kaleidoscope sample
Hi,
I am building a new JIT compiler for Lua (actually a derivative of
Lua), and am planning to use LLVM for this. I have trying out some
basic functions using LLVM 3.5.1. I have been puzzled by one aspect of
the MCJIT versions of the Kaleidoscope sample, and would hugely
appreciate some insight.
Can a single MCJIT instance be used to manage several modules?
Why is a separate MCJIT instance
2011 Apr 12
0
[LLVMdev] appropriate for run-time compilation of DSL?
On Mon, Apr 11, 2011 at 11:37 PM, edA-qa mort-ora-y <eda-qa at disemia.com> wrote:
>> There isn't great support for this in the LLVM JIT, but IIRC some
>> clients have managed this by subclassing the JITMemoryManager to copy
>> the code when the function has finished being emitted. I don't know
>> if it's possible to ensure that the code will be position
2008 Jun 07
0
[LLVMdev] C ouput pass or native binary
Recently I've been working on putting a little language together using the llvm toolset. I think I've wrapped my head around some of the beginner bits (and a big "thank you" for the kaleidoscope tutorial). What I'd like to do now is to take my Module* and output either a C file for native compilation, or just directly output a native binary.
I saw that llc can output C
2009 Mar 30
1
[LLVMdev] Print native code emitted by the JIT
Hi everybody,
I'm toying with the Kaleidoscope example from the documentation (with
llvm 2.5) and I want to print out on stderr, the native code (X86)
emitted with the JIT.
I have found the "createMachineFunctionPrinterPass" function.
But when I add it to the FunctionPassManager (
OurFPM.add(createMachineFunctionPrinterPass(cerr, "")); ). I get an
error at runtime :
2012 Apr 12
0
[LLVMdev] Native codegen
On Fri, Apr 13, 2012 at 03:32:01AM +1200, James Miller wrote:
> * Tom Stellard <thomas.stellard at amd.com> [2012-04-12 10:54:17 -0400]:
>
> > On Fri, Apr 13, 2012 at 02:41:58AM +1200, James Miller wrote:
> > > Hi, I've just started working with LLVM, and have just finished the
> > > Kaleidoscope tutorial. Everything is fine, however I am finding it
>
2011 Jun 13
0
multiple asterisk on 1 machine or other idea for using multiple network connection
Hi all
i have a scenario where i have 2 DSL lines (i know its not that reliable but
it fits the bill) connected to 1 box and would like my isp to round robin
between both dsl (to allow for more capacity - each dsl could get me thru
about 16-18 calls and i need about 30
incoming sip gets routed correct it goes out the same interface it came in
but rtp always gets routed out the default gateway
i
2010 Jul 21
1
[LLVMdev] Is there a guide to LLVM's components?
I constructed an LLVM 2.7 VS solution with cmake, but it has 66 projects:
ALL_BUILD, ".\ALL_BUILD.vcproj"
BrainF, "examples\BrainF\BrainF.vcproj"
Fibonacci, "examples\Fibonacci\Fibonacci.vcproj"
FileCheck, "utils\FileCheck\FileCheck.vcproj"
HowToUseJIT,
2012 May 30
2
[LLVMdev] LLVM Usage Question: Generating objects and executables from an LLVM client
Hi,
I was wondering if you have any good pointers to where to find easily
consumable documentation of these things:
1. How to generate a bitcode object file from an LLVM client (namely my
frontend)?
2. How to interact with libraries with objects in bitcode format from an
LLVM client?
3. How to write out a final executable from an LLVM client?
I know I can dig through the LLVM source
2010 Jul 22
2
[LLVMdev] Is there a guide to LLVM's components?
One thing that helps me understand complex software is a dependency graph. I found an LLVM dependency graph at
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_16/docs/UsingLibraries.html#dependencies
but it's really messy and hard to follow. From that graph I made a cleaner graph by hand (attached)... sorry about the fax-quality scan. But I have some questions about it...
-