similar to: [LLVMdev] Is it possible to inline Functions without using LLVM JIT Framework?

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Is it possible to inline Functions without using LLVM JIT Framework?"

2011 Sep 02
3
[LLVMdev] Is it possible to inline Functions without using LLVM JIT Framework?
Thanks Eric, Jim and Geovani for your responses. Yes, we can combine two or more bitcode modules using llvm-ld and in this way functions can be inlined and optimized during this process. But I am also looking into the possibility of doing the same using LLVM Pass Manager (Without using llvm-ld). This looks difficult due to the fact that the function definitions ought to be in the same module
2011 Sep 01
0
[LLVMdev] Is it possible to inline Functions without using LLVM JIT Framework?
To do it manually, llvm-ld your modules to get a single module with both, then run opt on the result to optimize it. From source code, you can just use -O4 to the compiler on a system with a suitable linker (standard ld on OSX; binutils+gold plugin on Linux, for example). -Jim On Sep 1, 2011, at 9:27 AM, Mian M. Hamayun wrote: > Hi Everyone, > > Hopefully this question is not too
2011 Oct 26
3
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Dear All, I have tested a few examples of LLVM-JIT Framework on Linux x86 Machine. So generating functions on the fly and then executing them is OK on linux i.e. i686-pc-linux-gnu My question is: Can we use the LLVM-JIT on a baremetal x86 machine ? Actually my target is a virtual machine, and I need some dynamic code generation support. I intend to use LLVM-JIT (if possible) for this
2011 Nov 03
1
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi Mian, Looking at the runlog, everything seems fine until LLVM attempts to use lseek() on a file. You see the PANIC because Horizon hasn't implemented lseek yet. Obviously the version of GlibC I was using does not use lseek in that circumstance, but yours does. You just need to implement lseek :) Cheers, James -----Original Message----- From: Mian M. Hamayun
2011 Nov 08
0
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi James, I have two questions for you. Firstly, what is the role of 'module' in init.cc? I can see that its being treated like it is a 'bytecode' file, as we open it and then pass it to the ByteCoder and eventually construct llvm module from it. Like In file init.cc, line:121 FILE *stream = fopen("/module", "rb"); ... fread(c, 1, sz,
2011 Sep 02
0
[LLVMdev] Is it possible to inline Functions without using LLVM JIT Framework?
On Fri, Sep 2, 2011 at 4:23 AM, Mian M. Hamayun <mian-muhammad.hamayun at imag.fr> wrote: > But I am also looking into the possibility of doing the same using LLVM Pass > Manager (Without using llvm-ld). This looks difficult due to the fact that > the function definitions ought to be in the same module as the caller, in > order to be inlined and then optimized onwards, I guess
2011 Aug 31
2
[LLVMdev] How to place call(s) to functions found in other llvm modules ???
Hi, I tried this as well, using the following line to add function declaration to the caller module. Function::Create(FT, Function::ExternalLinkage, "gcd", mod); Where "FT" is the same as before. And the output produced by the PrintModulePass becomes: ; ModuleID = 'GCDMain' declare i32 @gcd(i32, i32) define i32 @main() { EntryBlock: %tmp = call i32 @gcd(i32
2011 Aug 31
0
[LLVMdev] How to place call(s) to functions found in other llvm modules ???
On Wed, Aug 31, 2011 at 10:54 AM, Mian M. Hamayun <mian-muhammad.hamayun at imag.fr> wrote: > Hi, > > I tried this as well, using the following line to add function declaration > to the caller module. > > Function::Create(FT, Function::ExternalLinkage, "gcd", mod); > > Where "FT" is the same as before. And the output produced by the >
2011 Nov 08
2
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi, First question: "/module" is mapped to a special file that reads a kernel module passed in by the bootloader. Much like GRUB, kiwi's bootloader loads a kernel and can load one or more extra files into memory. These are passed to the kernel. The horizon kernel expects one file, which it makes accessible at "/module". This should be set up to be whatever you set
2011 Aug 31
0
[LLVMdev] How to place call(s) to functions found in other llvm modules ???
On Wed, Aug 31, 2011 at 10:00 AM, Mian M. Hamayun <mian-muhammad.hamayun at imag.fr> wrote: > Hello Everyone, > > I am trying to create two modules in LLVM, where first module contains the > definition of a function, gcd in this example and another module contains a > call to this function. You can't reference a global in one module in another module. Either stick with
2011 Aug 31
2
[LLVMdev] How to place call(s) to functions found in other llvm modules ???
Hello Everyone, I am trying to create two modules in LLVM, where first module contains the definition of a function, gcd in this example and another module contains a call to this function. My example is based on the following tutorial, with a few changes. http://llvm.org/releases/2.6/docs/tutorial/JITTutorial2.html When I execute the verifier pass on my modules, it complains that the
2011 Nov 09
0
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi James, Thanks again for bearing with me, you have been very helpful. I have got the problem fixed. In fact I needed to override the 'LSeek' implementation of SpecialFile in SpecialModule class as well. The log for the working example is attached, just as a reference. Now one more thing, when the build system creates the ISO9660 CD-ROM Image, it executes the following commands:
2008 Jun 19
4
Why can't I access Webrick web server from other computers?
Hi everyone, I have a rails project running on Ubuntu. When I ran it on localhost http://localhost:3000, it worked perfectly. But when I tried to access from other computers in the same network by either http://hostname:3000 or http://[ipaddress]:3000, I got a "Internet Explorer cannot display the webpage" error. I double checked my ubuntu with iptables, no rules are defined: iptables
2011 Aug 26
4
[LLVMdev] Is LLVM compatible with AMD?
Hi all! I'm getting starting with LLVM, and I'm creating a new cross-platform programming language LLVM-based with a Standard Library POSIX-based. The language has sintatic sugar of Object Pascal and Ruby. My doubt is if LLVM is compatible with AMD (e.g. Fusion), allowing so that my StdLib can be used to create Games, in future... Regards! -------------- next part -------------- An HTML
2016 Mar 31
5
NFSv4 / Krb / wildcard in keytab
Hi, I'm trying to use wildcard in keytab because i don't want join every computer, client for service NFS krb5. I add a spn like this # samba-tool spn add host/* nfs (I create user nfs before) # samba-tool spn list nfs nfs User CN=nfs,CN=Users,DC=if,DC=ujf-grenoble,DC=fr has the following servicePrincipalName: host/* I export keytab : #samba-tool domain exportkeytab
2017 Jun 19
7
DRS stopped working after upgrade from debian Jessie to Stretch
Hello Samba team ! I'am in a very delicate situation. After an upgrade to debian Stretch my DRS stopped working. I have three DCs (fichdc, fichds01, fichds02), all Debian Stretch, all with the same problem. Everything seems to be fine except DRS. -> File shares works -> DNS (with bind9 DLZ) works -> "kinit administrator" works -> "kinit -k FICHDC$" works ->
2017 Jun 21
4
DRS stopped working after upgrade from debian Jessie to Stretch
21.06.2017 11:45, L.P.H. van Belle via samba пишет: > I suggest before you upgrade do a very good read here. > > https://wiki.samba.org/index.php/Updating_Samba#Notable_Enhancements_and_Changes > > https://wiki.samba.org/index.php/Samba_Features_added/changed_(by_release) > And a summerize version for with all parameter changes as of upgrade from 4.2 up to 4.6 >
2017 Jun 20
2
DRS stopped working after upgrade from debian Jessie to Stretch
On Tue, 20 Jun 2017 22:31:02 +1200 Andrew Bartlett via samba <samba at lists.samba.org> wrote: > On Tue, 2017-06-20 at 11:13 +0200, L.P.H. van Belle via samba wrote: > > Now choose, of > > dedicated keytab file = /etc/krb5.keytab > > To be clear, this parameter is not used in the AD DC. > > Thanks, > > Andrew Bartlett > Shouldn't that be
2017 Jun 21
4
DRS stopped working after upgrade from debian Jessie to Stretch
2017-06-21 14:29 GMT+02:00 Prunk Dump <prunkdump at gmail.com>: > Thank you very much Louis, Rowland, Mike ! > > I have made all the changes proposed by Louis but still have the same problem. > > -> kinit works now with /var/lib/samba/private/secrets.keytab > ------------------------ > ~# kinit -k -t /var/lib/samba/private/secrets.keytab FICHDC$ > ~# >
2018 Mar 12
9
Workaround for bind9 reload bug : samba_dlz Ignoring duplicate zone
Hi samba team ! I'm face with a new problem on a new Samba PDC install (Debian 9). I don't know why, but systemd run multiples "rndc reconfig" commands during the init script. So the bind9 log file show : -> A successful start -> A failed reconfig (samba_dlz Ignoring duplicate zone) at each boot/reboot. So I need to restart bind9 each time manually. I created a wrapper