Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] JIT functions' signature known only at runtime"
2013 Apr 18
3
[LLVMdev] inserting a function into a module
I'm looking for an example of how to insert a new function into a module.
I have a module pass that needs to create some new functions.
Tia.
Reed
2012 Mar 05
3
[LLVMdev] Problem using march=c
Hello everyone,
I've been trying to generate a C file using the llc tool, but I'm
having a problem. I'm using a single Hello World program in C, and
executing the following passes:
clang -emit-llvm -c -o hello.bc hello.c # getting the bit code of hello.c
llc -march=c hello.bc # generating the
hello.cbe.c file using the llvm C backend
So far, nothing weird
2012 Apr 07
5
FFI and msvcrt
Hi,
I''ve been using FFI with a Ruby 1.9.3 built with MSVC++ and it''s been
working well. One thing I''ve run into though is this:
ffi_lib :msvcrt
But that''s not the runtime I want. But I don''t want to hard code the
runtime name either. I realize I could parse it out of RbConfig, but I
was hoping for something nicer.
Is there a way we could create an
2012 Aug 20
1
[LLVMdev] llmv3.0 CBackend convert IR to IR error
Thank you for answering my E-mail.
According to http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/047989.html,
I open the link:
https://hpcforge.org/scm/viewvc.php/trunk/patches/llvm.gpu.patch?root=kernelgen&view=markup
https://hpcforge.org/scm/viewvc.php/trunk/patches/llvm.patch?revision=591&root=kernelgen&view=markup
The result is:
SCM Repository
An Exception Has Occurred
2009 Oct 28
2
[LLVMdev] JIT, FFI
Hello, I'm new to LLVM and I had a question about it: when we call the
JIT::runFunction, since llvm doesn't has a full FFI, there are some cases in
which the JIT needs to codegen a stub function to call the function we are
interested, my question is: this stub function will remains in the module
until when ? What are the most efficient way to remove it from the module
and memory ? For a
2010 Jan 01
1
[LLVMdev] How does JIT/lli work with bc file?
Hi Eli,
I think the llvm configure has already configured with ffi.
../llvm-2.6/configure -help | grep ffi
--enable-libffi Check for the presence of libffi (default is YES)
In addition, the printf() can work in program, reflecting that libffi is
working, right?
How can I make Interpreter work with getpid(), fork(), and clone()?
On Thu, Dec 31, 2009 at 2:33 AM, Eli
2009 Aug 07
7
Comments for Daniel Berger blog post
Hey Daniel,
I''m trying to leave you a comment on this article you wrote:
http://djberg96.livejournal.com/168403.html
But since you disabled OpenID and anonyous, I''m not fond to register
for another account just to reply your comments.
Quoting your post:
""
Unfortunately, I''ve slammed into the cold hard fact that FFI just
isn''t the grand solution
2012 Mar 05
0
[LLVMdev] Problem using march=c
Hi Cristianno,
This problem has been around for a while, ourselves we solve it with the following patches:
https://hpcforge.org/scm/viewvc.php/trunk/patches/llvm.gpu.patch?root=kernelgen&view=markup
https://hpcforge.org/scm/viewvc.php/trunk/patches/llvm.patch?revision=591&root=kernelgen&view=markup
Please feel free to apply them, they *should* work for you even with the latest llvm
2012 May 18
7
Dir.create_junction with FFI
Hi,
Try as I might, I just cannot get Dir.create_junction to work with FFI
in the ffi branch of the win32-dir project. The problem is the
REPARSE_JDATA_BUFFER struct. I''m just not sure how to set those
members, specifically, the PathBuffer member. The target looks good,
it''s UTF-16LE encoded, but I can''t make it work, despite trying
several ways of defining the struct,
2012 Dec 26
1
[LLVMdev] Proper values for LLVMCreateTargetMachine
I can't seem to get LLVMCreateTargetMachine to work on my box (MBP i7 OS X
10.8). What should the values of triple, cpu and features be? I'm just
looking for a way to get this up and going for now, I don't need specific
optimizations.
No matter what I send the function, I always get nil back. I'm giving it
LLVMGetFirstTarget as the target value.
Thanks for the help,
Timothy
2012 Aug 18
0
[LLVMdev] llmv3.0 CBackend convert IR to IR error
Hi,
First of all, please note: as of v3.1, C backend has been thrown away
for being "buggy" and "unmaintained".
Several months ago there was a similar question, and it was solved.
Please see the patch attached here:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/047989.html
Best,
- D.
2012/8/18 xiaoyaollvm <xiaoyaollvm at 126.com>:
> In llvm3.0,I use the llc
2012 Aug 18
2
[LLVMdev] llmv3.0 CBackend convert IR to IR error
In llvm3.0,I use the llc to convert the IR to C code,
But the code lack key words like "struct", Who can tell me how to modify the CBackend, 3Q ^-^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120818/ee901cb1/attachment.html>
2019 Jun 27
4
Re: [PATCH 9/9] Rust bindings: Complete bindings
Patch 9 is a kind of dumping ground of all kinds of stuff. It may be
better to spend some time with git rebase -i trying to work this into
more coherent patches.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live
2012 Mar 05
1
[LLVMdev] Problem using march=c
Hello again,
Thanks for the responses =)
Dmitry, I have two points to comment:
- First, I applied these two patches, and the .cbe.c file came out ok,
except for one little thing -- the global variable was created with
both modifiers: static and extern. Then, I just added a single guard
to prevent this to happen (in a case of a variable having local
linkage, the "extern" part was not
2009 Dec 31
0
[LLVMdev] How does JIT/lli work with bc file?
On Thu, Dec 31, 2009 at 2:26 AM, Heming Cui <heming at cs.columbia.edu> wrote:
> Hi Eli,
> Thanks for your reply. If I add -force-interpreter to lli, then it seems
> that it can not run external function like printf or malloc. Is there any
> easy way to solve this problem?
Does the LLVM configure find libffi?
-Eli
2009 Dec 31
2
[LLVMdev] How does JIT/lli work with bc file?
Hi Eli,
Thanks for your reply. If I add -force-interpreter to lli, then it seems
that it can not run external function like printf or malloc. Is there any
easy way to solve this problem?
On Wed, Dec 30, 2009 at 11:26 PM, Eli Friedman <eli.friedman at gmail.com>wrote:
> On Wed, Dec 30, 2009 at 7:53 PM, Heming Cui <heming at cs.columbia.edu>
> wrote:
> > Dear all,
>
2008 Jun 30
2
[LLVMdev] Recently failing vector tests
Hi Dale, yes it's just stack alignment. Unfortunately
your patch doesn't make any difference.
Thanks for thinking about this,
Duncan.
On Friday 27 June 2008 19:51:00 Dale Johannesen wrote:
> On Jun 27, 2008, at 3:11 AMPDT, Duncan Sands wrote:
> > FAIL: test/CodeGen/X86/vec_shuffle-10.ll
> > Failed with exit(1) at line 3
> > while running: llvm-as <
2017 Apr 24
1
[FFI] [OrcJIT] Status update on C FFI for OrcJIT?
I looked around for the status of OrcJIT FFI support. The last e-mail
thread I could find was this one: Link
<http://lists.llvm.org/pipermail/llvm-dev/2015-February/081679.html>
Raw: http://lists.llvm.org/pipermail/llvm-dev/2015-February/081679.html
Is OrcJIT now considered stable enough that there can be "official" exposed
C APIs?
If not, what's the standard approach if I
2008 Jul 24
2
[LLVMdev] customized output of double load/store on ppc32
On Wed, Jul 23, 2008 at 4:46 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Wed, Jul 23, 2008 at 4:23 PM, Scott Graham <scott.llvm at h4ck3r.net> wrote:
>> I'm using the PPC backend's output as the "bytecode" for an interpreter
>> that I would like to be able to run on both little- and big-endian
>> platforms. The split stw's mean
2019 Jun 27
16
[PATCH 1/9] Rust bindings: Add Rust bindings
From: Hiroyuki_Katsura <hiroyuki.katsura.0513@gmail.com>
---
Makefile.am | 4 ++++
configure.ac | 3 +++
generator/Makefile.am | 3 +++
generator/bindtests.ml | 3 +++
generator/bindtests.mli | 1 +
generator/main.ml | 5 +++++
generator/rust.ml | 34 ++++++++++++++++++++++++++++++++++
generator/rust.mli | 19 +++++++++++++++++++