search for: sumeeth

Displaying 11 results from an estimated 11 matches for "sumeeth".

2013 Nov 01
2
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...GlobalSymbolTable is being used in MCJIT. I guess it wasn't clear from the proposal that the user program will be modified to indicate that the callback should happen at that point in the code. The objective is to call some of the functions which belong to lli or the ExecutionEngine. Thanks, Sumeeth On Fri, Nov 1, 2013 at 5:40 PM, Kaylor, Andrew <andrew.kaylor at intel.com>wrote: > Are you using the latest code from trunk? I didn’t think the latest > code used the address mapping in the ExecutionEngine base class.**** > > ** ** > > Of course, if people are dependin...
2013 Nov 01
0
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...work with both JIT and MCJIT. Another options is to use the LazyFunctionCreator which is implemented in both JIT and MCJIT. Andy - MCJIT::getPointerToFunction does call EE:addGlobalMapping - however EEState.getGlobalAddressMap is not used in MCJIT. Should this call be removed? Yaron 2013/11/1 sumeeth kc <sumeethkc at gmail.com> > Hi Andrew, > > I used the latest code from trunk. GlobalSymbolTable is being used in > MCJIT. > > I guess it wasn't clear from the proposal that the user program will be > modified to indicate that the callback should happen at that poin...
2013 Jan 31
1
[LLVMdev] Stub function generation in MCJIT using lli.
...T::getPointerToFunctionOrStub and this is in JITEmitter under JIT. I may be wrong here though. Could you please give a brief overview how the stub functions are generated? Also, how does the original function when it is compiled is put in place of the stub? Your help is much appreciated. Thanks, Sumeeth -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130131/604231d3/attachment.html>
2013 Oct 06
1
[LLVMdev] Resolving a function symbol using JIT.
...-jit-emit-debug test 1. Running pass 'X86 Machine Code Emitter' on function '@_ZN4llvm5APInt15clearUnusedBitsEv' Aborted If this approach is not proper, where else can I intercept the call to that symbol and return a pointer to the concrete implementation? Thanks in advance. -Sumeeth -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131006/b31c4ecf/attachment.html>
2013 Nov 01
5
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Kaylor, Andrew > Subject: Re: [LLVMdev] [Proposal] Adding callback mechanism to Execution Engines > If the function is in a statically linked module, you need to do something to explicitly expose it. With > the older JIT engine you can use addGlobalMapping as Yaron suggests, but I
2013 Nov 01
0
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
On Thu, Oct 31, 2013 at 11:39 PM, sumeeth kc <sumeethkc at gmail.com> wrote: > Hello, > > I would like to have your opinions on this. > > *Problem:* > > Currently, there are no ways to perform hypercalls into LLVM (they > transfer execution from the program being executed to the LLVM > infrastructure to pe...
2013 Nov 01
0
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...e address mapping in the ExecutionEngine base class. Of course, if people are depending on this it might be something that should be fixed if it isn't working. -Andy From: Caldarale, Charles R [mailto:Chuck.Caldarale at unisys.com] Sent: Friday, November 01, 2013 10:54 AM To: Kaylor, Andrew; sumeeth kc; LLVM Dev Subject: RE: [LLVMdev] [Proposal] Adding callback mechanism to Execution Engines > From: llvmdev-bounces at cs.uiuc.edu<mailto:llvmdev-bounces at cs.uiuc.edu> [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Kaylor, Andrew > Subject: Re: [LLVMdev] [Proposal] Addin...
2013 Nov 01
4
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...ing a function on demand from the client. Also, if we want to find the address of a function in a large module, we can get it using a mechanism like this. Please let me know if there is a better design to achieve this. I am attaching the diff of the implementation for your reference. Thanks, Sumeeth -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131031/73d42da1/attachment.html> -------------- next part -------------- Index: tools/lli/lli.cpp ===========================================================...
2013 Nov 01
0
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
Hi Sumeeth, I'm not sure I understand what your new mechanism is supposed to add. You can already call functions defined in the host program from generated code. The Kaleidoscope tutorial does this. If the function you want to call is defined in a module that is dynamically loaded and you are using th...
2013 Nov 01
0
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
Hey Everyone, I understood this a little differently (well, I do have direct contact with Sumeeth given that we both work in the same lab). Allow me to try and explain his proposal. We are trying to optimise out instructions from a program (JIT-compiled OS Kernels or JIT-compiled Web Server code) during run time and we have this hypothesis that some of the decisions are best taken by the progr...
2013 Mar 24
0
[LLVMdev] Change optimization level during compilation
...I have code in bitcode format and I am using LLI to execute it using JIT. But during some point of time in the execution, I want to set a different level of optimization for the remainder of the code yet to be compiled and executed. Is there a way to do it? Your help is much appreciated. Thanks, Sumeeth -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130324/29cb87bb/attachment.html>