Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] [PATCH] Fix recompileAndRelinkFunction"
2009 Dec 22
0
[LLVMdev] [PATCH] Fix recompileAndRelinkFunction
On Dec 19, 2009, at 3:36 PM, Gianluca Guida wrote:
> Hello,
>
> JIT::recompileAndRelinkFunction's runJITOnFunction does not use the
> MCI arg, causing null pointer deferences at every call.
>
> Attached patch makes runJITOnFunction more reliable.
When would MCI be null?
-Chris
2009 Dec 22
2
[LLVMdev] [PATCH] Fix recompileAndRelinkFunction
On Tue, Dec 22, 2009 at 6:14 AM, Chris Lattner <clattner at apple.com> wrote:
> On Dec 19, 2009, at 3:36 PM, Gianluca Guida wrote:
>> Attached patch makes runJITOnFunction more reliable.
>
> When would MCI be null?
Everytime you call recompileAndRelinkFunction. It calls
runJITOnFunction without specifying the MCI argument, which get
defaulted to NULL.
Gianluca
--
It was a
2009 Dec 22
0
[LLVMdev] [PATCH] Fix recompileAndRelinkFunction
Please add a test to
http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp?view=markup
verifying that recompileAndRelinkFunction() keeps working. Then this
fix will look fine to me.
On Tue, Dec 22, 2009 at 12:23 AM, Gianluca Guida <glguida at gmail.com> wrote:
> On Tue, Dec 22, 2009 at 6:14 AM, Chris Lattner <clattner at apple.com> wrote:
>>
2009 Dec 22
1
[LLVMdev] [PATCH] Fix recompileAndRelinkFunction
On Tue, Dec 22, 2009 at 5:51 PM, Jeffrey Yasskin <jyasskin at google.com> wrote:
> Please add a test to
> http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp?view=markup
> verifying that recompileAndRelinkFunction() keeps working. Then this
> fix will look fine to me.
Here it is. Unfortunately I'm not exactly a C++ guy so I'm open to
2010 Mar 31
0
[LLVMdev] One question on runJITOnFunction() in JIT.cpp in llvm-2.6
Dear all,
I have a question on the runJITOnFunction() function in JIT.cpp. The
second argument MCI must be used to create a MCIListener in the
runJITOnFunction() function. However, the JIT::recompileAndRelinkFunction()
just calls the runJITOnFunction() like this: " runJITOnFunction(F);",
leaving the second argument, the MCI, empty.
As a result, if the call the
2009 Apr 22
7
Consult some concepts about shadow paging mechanism
Dear All:
I am pretty new to xen-devel, please correct me in the following.
Assume we have the following terms
GPT: guest page table
SPT: shadow page table
(Question a) When guest OS is running, is it always using SPT for
address translation? If it is the case, how does guest OS refer and
modify its own GPT content? It seems that there is a page table entry
in SPT for the GPT page.
(Question
2010 Jul 07
0
[LLVMdev] simple way to print disassembly of final code from jit?
Hi Bill,
I'm coincidently planning right now on doing exactly the same things as you. I haven't yet had a chance to implement the code, but I can point you to how I currently believe you can get access to what you need. If you take a look at the code for the implementation of lvm::JIT::runJITOnFunction(Function *, MachineCodeInfo *), you'll see that if a MachineCodeInfo parameter is
2013 Mar 17
0
[LLVMdev] Problem with executing recompileAndRelinkFunction successively
Hi,
I am trying to recompile a function during runtime, using JIT
compilation (not MCJIT). I choose JIT over MCJIT, because I only want
to modify a single function and not the whole module.
I am successfully able to recompile the function, but after that, the
original function definition is lost. And if I try to recompile, it
recompiles with the new function definition.
I figured out two
2016 Mar 27
0
recompileAndRelinkFunction
Dear All,
"recompileAndRelinkFunction" found in Interpreter and previously in JIT, is not found in MCJIT.
Can I just implement it in MCJIT like its old definition in JIT, or it contradicts with some design issue in MCJIT?
Regards,
Marwa Yusuf
Teaching Assistant - Computer Engineering Department
Faculty of Engineering - Benha University
E-JUST PhD Student
Computer Science &
2010 Jul 08
1
[LLVMdev] simple way to print disassembly of final code from jit?
Thanks for all the hints everyone.
Based on your suggestion, O.J., I've added code to toy.cpp from the
tutorial to disassemble.
ready> 1+1;
ready> movabsq $140737353367568, %rax
movsd (%rax), %xmm0
ret
Evaluated to 2.000000
ready>
Which looks correct by inspection - printing the byte array to stdout
and feeding it to llvm-mc offline produces the same code as one would
also
2010 Nov 13
8
[LLVMdev] Ahoy JIT Users
Hi,
I am starting to poke at the LLVM JIT, which seems to be in need of some TLC.
If you are a "sophisticated" JIT user and are using either internal
APIs (either by integrating with LLVM, or by other C++ tricks), or are
using obscure or poorly documented public APIs (e.g., why is
runJITOnFunction exposed?) please make me aware of it!
I reserve the right to break anything which
2010 Nov 13
0
[LLVMdev] Ahoy JIT Users
Will this poking include converting the JIT to use the MC framework?
I've added an MC based asm parser, disassembler, and code emitter recently to the MBlaze backend and it would be nice to get JIT support automatically :)
-- Wesley Peck
On Nov 12, 2010, at 7:42 PM, Daniel Dunbar wrote:
> Hi,
>
> I am starting to poke at the LLVM JIT, which seems to be in need of some TLC.
>
2008 Sep 25
3
[LLVMdev] Kaleidoscope doesn't work properly
Hi
I hope this is a proper place to put my question.
I've compiled Kaleidoscope from "Adding JIT and Optimizer Support" tutorial.
Basically it works just fine but when I try to run extern'ed putchard
function it aborts.
Please, tell me what am I doing wrong?
Here is more information:
My PC runs FreeBSD.
I've copied the toy source code exactly and didn't change it.
2008 Apr 30
1
[VPID] Invalidate VPID mapping on INVLPG? [PATCH]
Hello,
In processors supporting VPID I think we should invalidate the VPID
mapping in the TLB after a shadow invlpg (in case EPT is turned off).
Signed-off-by: Gianluca Guida <gianluca.guida@eu.citrix.com>
Gianluca
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2008 Feb 19
2
[PATCH] Minor fix to the fast emulation patch.
Hello,
The fast emulation path patch introduced a bug when we have an event
injection during a write to a pagetable: after removing shadows we
still jump to the done label, releasing the lock even if we aren''t
grabbing it.
Inline patch fixes this.
Signed-off-by: Gianluca Guida <gianluca.guida@eu.citrix.com>
diff -r 8848d9e07584 xen/arch/x86/mm/shadow/multi.c
---
2012 Oct 04
2
[LLVMdev] Problems of manipulating GEP for struct type
Hi,
I use JIT to execute the following LLVM IR,
------------------------------------------------------------------------------------------------------------
define internal fastcc i32 @L_00008120_(%struct.ThreadContext* %ThreadCtx) {
L_00000000_:
%0 = alloca i32
%1 = alloca i32
%2 = alloca %struct.ThreadContext*, align 4
store %struct.ThreadContext* %ThreadCtx, %struct.ThreadContext**
2007 Jul 30
2
EditingCentOSWiki in Italian
= Linee guida per la modifica del Wiki di CentOS =
Questa pagina contiene alcune linee guida per la modifica del Wiki. Poich?
queste linee guida sono in divenire, ricordatevi di tornare su questa pagina
ogni tanto.
== Linee guida riguardo al markup del Wiki ==
* Usare link relativi invece che link assoluti o link liberi. I link
relativi devono avere la forma seguente: {{{[:Percorso:Testo
2007 Nov 26
2
Filling in a Zero Matrix
Hi
I am very new to R and statistical programming in general. I am trying to reorder data from a .csv file. I have managed to import the data and create a zero matrix. I am now trying to fill the matrix. There seems to be some problem with this section of my code. I have highlighted the dodgy code in red. Please help if possible.
######################################################
###########
2005 Jun 13
7
MCI vs. XO/Allegiance
Hello All,
Anyone out there using ISDN PRI from either MCI or XO/Allegiance?
Gotta make the choice today and the difference per month is only about
$25 in favor of MCI.
Billing is pretty much the same between the two so I have pretty much no
point of reference on which to choose.
Any thoughts from anyone experienced with these two compnies would be
greatly appreciated!
Thanks,
Wiley
2008 Apr 22
1
lmer model building--include random effects?
Hello,
This is a follow up question to my previous one http://tolstoy.newcastle.edu.au/R/e4/help/08/02/3600.html
I am attempting to model relationship satisfaction (MAT) scores
(measurements at 5 time points), using participant (spouseID) and
couple id (ID) as grouping variables, and time (years) and conflict
(MCI.c) as predictors. I have been instructed to include random
effects for the