Displaying 18 results from an estimated 18 matches for "lostfreeman".
2010 Jun 05
0
[LLVMdev] Fwd: Passing structures by value on Windows
---------- Forwarded message ----------
From: lost <lostfreeman at gmail.com>
Date: 2010/6/5
Subject: Re: [LLVMdev] Passing structures by value on Windows
To: Anton Korobeynikov <anton at korobeynikov.info>
Ok, but how to bitcast structure?
Documentation<http://llvm.org/docs/LangRef.html#i_bitcast>says that
bitcast does not applicable to aggreg...
2010 Jun 03
4
[LLVMdev] Passing structures by value on Windows
Hello, LLVM team!
I faced a problem with passing structures by value on Windows (both
x86 and x64). I tried to write simple { i32 i32 } Vector2D addition
using IR builder (signature is Vector2D add(Vector2D a, Vector2D b)).
x86 version worked fine, but on x64 function returned incorrect value.
Some research showed, that { i16 i16 } addition also fails on x86, so
I guess the problem is in passing
2010 Sep 17
0
[LLVMdev] Accurate garbage collection
...have implemented a GC, you can
parse the ocaml format to locate the objects.
I think the web page needs to be updated, because you can make the GC work
with the JIT. You can just use LLVM's internal representations of frames.
Hope that helps,
Nicolas
On Thu, Sep 16, 2010 at 8:30 PM, lost <lostfreeman at gmail.com> wrote:
> Hello!
>
> I'm looking at "Overview of available features" here:
> http://llvm.org/docs/GarbageCollection.html#collector-algos and can't
> understand something.
> First, does table header mean that there are already some GC's
> i...
2010 Sep 16
4
[LLVMdev] Accurate garbage collection
Hello!
I'm looking at "Overview of available features" here:
http://llvm.org/docs/GarbageCollection.html#collector-algos and can't
understand something.
First, does table header mean that there are already some GC's
implemented besides "shadow stack"? E.g. can I just use them?
Second, does row "JIT", "NO" mean that GC is not compatible with
2010 Apr 20
0
[LLVMdev] Fwd: Re: NaNs and Infinities
I forgot to forward to the rest of the list...
-------- Original Message --------
Subject: Re: [LLVMdev] NaNs and Infinities
Date: Mon, 19 Apr 2010 23:41:43 -0700
From: Javier Martinez <javier at jmartinez.org>
To: lost <lostfreeman at gmail.com>
Hi,
If it's an immediate you can cast the SDValue to a ConstantFP and use
the isNaN() or isInfinity() member functions (see below). For non
immediates you can use bitcasting to convert the float to an integer. If
bits 0-22 are 0 and bits 23-30 are 1 it's infinity; if b...
2011 May 18
1
[LLVMdev] Can I get the value of the global variable defined in some module (JITing)
Ok, another explanation. In my runtime that uses LLVM as JIT engine, I
have an instnace of GlobalVariable. The program I run in it writes
some value to this variable. How can I read it?
2011/5/18 Duncan Sands <baldrick at free.fr>:
> Hi,
>
>> I need to define the global variable which would be modified by JITted
>> code. Can I read it from the JITter itself? It is of
2012 Mar 03
0
[LLVMdev] Access Violation using ExecutionEngine on 64-bit Windows 8 Consumer Preview
...cation that is more than 32bits bytes away from the jitted code. Marina's patch changes the code that generates a call to '_chkstk' from PCREL32 (which uses a 32bit offset) to an indirect call (which uses a 64bit address from a register).
-----Original Message-----
From: lost [mailto:lostfreeman at gmail.com]
Sent: Saturday, March 03, 2012 01:32
To: Rotem, Nadav; Yatsina, Marina; LLVM
Subject: Re: [LLVMdev] Access Violation using ExecutionEngine on 64-bit Windows 8 Consumer Preview
Hi Rotem,
Thank to you, and especially to Marina! The problem gone. I'm a bit interested, what is the...
2012 Mar 02
2
[LLVMdev] Access Violation using ExecutionEngine on 64-bit Windows 8 Consumer Preview
Hi Rotem,
Thank to you, and especially to Marina! The problem gone. I'm a bit
interested, what is the reason it worked in Win7, and not in Win8.
I've recently used Process Explorer to discover, that the call was to
ntdll.dll, which in Win8 is loaded to the totally different address.
Best regards,
Victor Milovanov
Moscow State University graduate student
2012/3/3 Rotem, Nadav
2010 Apr 17
2
[LLVMdev] Parsing (and compiling) on demand.
Hi!
I'm trying to develop JIT compiler using LLVM as its backend. I know
LLVM itself supports JIT-compiling, but I need to generate IR first.
I don't want to generate IR before function is actually needed. How
can I achieve this?
If it matters, I have prototypes for all functions I'm going to use.
Best regards,
Milovanov Victor.
2010 Apr 17
2
[LLVMdev] Parsing (and compiling) on demand.
Ok than, but how to insert a call to an undefined function?
> See ExecutionEngine::InstallLazyFunctionCreator().
> http://llvm.org/doxygen/classllvm_1_1ExecutionEngine.html#6a126d6cd1fa07a4331179597de0c46a
>
> Nick
>
2010 Apr 17
0
[LLVMdev] Parsing (and compiling) on demand.
So you mean that is not the way. But what is InstallLazyFunctionCreator for?
2010/4/17 Kenneth Uildriks <kennethuil at gmail.com>:
> On Sat, Apr 17, 2010 at 2:15 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
>> lost wrote:
>>> Ok than, but how to insert a call to an undefined function?
>>
>> You need to have the function declaration and insert a call to
2010 Apr 17
0
[LLVMdev] Parsing (and compiling) on demand.
Just to do my own try. How can I use it to replace dlsym style
lookups? Any example?
> You can use it to return a function pointer when asked for a function by
> name. It can replace dlsym() style lookups.
>
> I would've expected that given its name it could be used to lazily create
> functions too, but apparently not.
>
> Nick
2010 Apr 19
1
[LLVMdev] NaNs and Infinities
Hello!
How can I test if floating-point value is NaN or positive/negative infinity?
2010 Apr 20
1
[LLVMdev] Is alloca the only way to create a structure?
Hello!
I failed to find answer in docs.
2011 May 17
2
[LLVMdev] Can I get the value of the global variable defined in some module (JITing)
Hello, everyone!
I need to define the global variable which would be modified by JITted
code. Can I read it from the JITter itself? It is of pointer type.
Best regards,
Milovanov Victor.
2012 Mar 01
2
[LLVMdev] Is there any way to print assembly code of a function compiled by ExecutionEngine?
Hello!
I'm using LLVM's JIT in my project. Is there any way to view assembly
code of functions it generates without disassembling them from the
memory?
2012 Mar 02
3
[LLVMdev] Access Violation using ExecutionEngine on 64-bit Windows 8 Consumer Preview
Hi everyone!
I've faced a strange problem after updating to Windows 8 Consumer
Preview recently. It seems that LLVM inserts 4 calls to the same
function at the start of generated code. The function's disassembly
(taken from nearby computer with Windows 7) is:
00000000773A0DD0 sub rsp,10h
00000000773A0DD4 mov qword ptr [rsp],r10
00000000773A0DD8 mov qword ptr
2012 Mar 02
2
[LLVMdev] Access Violation using ExecutionEngine on 64-bit Windows 8 Consumer Preview
Hi, Takumi!
I tried your patch, and it did not help. Moreover, I tried to compile
under Windows 7 and copy files to Windows 8, and received the same
exception. So the problem seems to be in Windows 8 itself or some
non-portable code inside LLVM.
Could anyone tell me what LLVM code in ExecutionEngine is responsible
for allocating and protecting memory for generated native functions?
Best