Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] Questions about LLVM"
2009 Jun 01
0
[LLVMdev] Questions about LLVM
On Mon, Jun 1, 2009 at 4:25 AM, Camille Troillard<camille at osculator.net> wrote:
> 1. Do you think it would make sense to use the clang codebase (specifically
> Objective-C CodeGen / CGObjCRuntime) in order to generate the code that will
> replace F-Script's interpretation? If that is possible it would enable me
> to start progressively porting F-Script to LLVM, instead of
2009 Jun 05
2
[LLVMdev] Creating a LLVM Project from the Sample project
Hello,
I have followed the steps described in http://llvm.org/docs/Projects.html.
It seems there is a problem with the AutoRegen.sh script.
In order to get the whole sample project working in a directory
outside of llvm directory structure, I had to replace lines 22 and 23
by :
llvm_src_root=../llvm
llvm_obj_root=../llvm
I am not a configuration specialist, so I can't tell if this is a
2009 Jun 11
2
[LLVMdev] Access a specific address in the JIT compiler
Hi,
I am using the JIT compiler to execute code that must interface with
the running process.
I would like to access some specific addresses.
The solution I found is to create a global variable for each address I
want to reference, and pass it as a mapping to the ExecutionEngine
with addGlobalMapping.
Is that how I should do this?
Is there no way to just reference the addresses with constants?
2009 Jun 05
2
[LLVMdev] Using LLVM JIT inside a Cocoa application
Hello,
I am trying to compile a project I am writing with Xcode that will use
LLVM libraries to generate code executed with the JIT.
I would be curious to learn how you deal with LLVM header files,
libraries, makefiles and Cocoa application projects.
My candid understanding is that LLVM projects need to be built with
LLVM makefiles (hence the previous message I sent about LLVM
Projects). I am
2009 Jun 05
0
[LLVMdev] Using LLVM JIT inside a Cocoa application
Hello,
I'm not an LLVM expert, but I think you can build a Cocoa/LLVM project
by using the LLVM's libraries and headers the same way you did with
any other third party library.
In fact, that's what the clang Xcode project does. It does not use any
makefile.
In short:
- Add the llvm/include folder in you header search path (in the
project's build settings).
To add
2018 Feb 14
3
Is it possible to execute Objective-C code via LLVM JIT?
> On 13 Feb 2018, at 17:42, Stanislav Pankevich <s.pankevich at gmail.com> wrote:
>
> On Tue, Feb 13, 2018 at 12:18 PM, David Chisnall
> <David.Chisnall at cl.cam.ac.uk> wrote:
>> On 12 Feb 2018, at 22:31, Stanislav Pankevich via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>>
>>> Specifically I explored the latest objc4-723
>>>
2018 Feb 13
0
Is it possible to execute Objective-C code via LLVM JIT?
On Tue, Feb 13, 2018 at 12:18 PM, David Chisnall
<David.Chisnall at cl.cam.ac.uk> wrote:
> On 12 Feb 2018, at 22:31, Stanislav Pankevich via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> Specifically I explored the latest objc4-723
>> from Apple Open Source and it looks like all of the APIs that allow
>> the registration of Objective-C classes,
2018 Feb 15
2
Is it possible to execute Objective-C code via LLVM JIT?
Hi David, Stanislav,
Sorry for the delayed reply.
Short version: There hasn't been any progress on this just yet, as I have
been busy with an overhaul of the underlying ORC APIs.
1) Hack up something in RuntimeDyldMachO to handle the data structures
> currently generated by clang. This is fragile, because the interface
> between the compiler and the runtime is not documented, and is
2018 Apr 06
0
Is it possible to execute Objective-C code via LLVM JIT?
Hi again,
I had tried to follow David's suggestion to take a step back and look
into codegen instead of hacking on RuntimeDyld but then I quickly
realized that I don't understand what exactly needs to be done to
fully register Objective-C runtime. I decided to iterate on JIT code
again and somehow I found that I can hook into SectionMemory by
subclassing it and working with its
2018 Feb 13
2
Is it possible to execute Objective-C code via LLVM JIT?
On 12 Feb 2018, at 22:31, Stanislav Pankevich via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Specifically I explored the latest objc4-723
> from Apple Open Source and it looks like all of the APIs that allow
> the registration of Objective-C classes, selectors, etc. are all very
> private.
The Objective-C runtime provides public APIs for doing all of this. They’re
2018 May 03
2
Is it possible to execute Objective-C code via LLVM JIT?
Hi Stanislav,
Sorry -- I am not much help here. I would like to get ObjC runtime support
for the JIT, but have not had time to look in to it closely. When I last
tested the idea (a couple of years ago now) we used selector registration
and objc_readClassPair to get basic test cases working as you have, but ran
into (possibly similar) failures on non-trivial test cases. I think the
interpretation
2009 Jun 06
0
[LLVMdev] Creating a LLVM Project from the Sample project
2009/6/5 Camille Troillard <camille at osculator.net>:
>
> I have followed the steps described in http://llvm.org/docs/Projects.html.
> It seems there is a problem with the AutoRegen.sh script.
>
I'm not sure anyone actually uses that -- the bug about it seems to be
ignored: http://llvm.org/bugs/show_bug.cgi?id=1220
Perhaps if you add your findings to it it might get
2009 Jun 11
0
[LLVMdev] Access a specific address in the JIT compiler
This seems to be the "proper" way to do that.
Another possibility, is to create a ConstantInt with the size of the pointer
(found in TargetData), then do a IntToPtr cast, and use this absolute
address in load/store/call.
Cheers,
Olivier.
On Thu, Jun 11, 2009 at 12:27 PM, Camille Troillard
<camille at osculator.net>wrote:
> Hi,
>
> I am using the JIT compiler to
2012 Mar 13
7
ROC Analysis
Hi everybody,
I have a data set with a value and a status (positive or negative case) and
I want make a ROC Analysis. So, with ROCR Package, I have got the ROC curve
(True Positive Fraction [tpf] according 1-True Negative Fraction [1-tnf]).
http://r.789695.n4.nabble.com/file/n4469203/01.png
But, now I want a new graphic which show the sum of true positive fraction
and true negative fraction
2006 Apr 13
3
editor for Ubuntu
Hello,
I am new on Ubuntu. I would like to use R, but I tried Kate and Scite.
The first one keeps trying to use KDE applications,while the other does
not understand the language. I have searched for another editor for
hours, in vain. Which editor should work with Ubuntu?
I am looking forward to your answer,
thanks,
Camille
2006 Dec 19
1
Is logic right?
OK. My basic asterisk install seems to be working. I can get caller
ID. My dialplan says:
[incoming]
; incoming calls from the FXO port are directed to this context from
zapata.conf
exten => s/9185415897,1,Set(CALLERID(name)=Michael Sullivan)
exten => s/9185415897,1,HANGUP(1)
exten => s,1,Set(CALLERID(name)=Someone Else)
This is for testing. It's supposed to check the caller ID
2004 Sep 27
1
multinom object :way of plotting??
Dear all,
I'm fitting a multinom function to my dataset (multinom(outcome~age+K+D))
and I need to present my results on a poster. Does someone know a nice way
of doing that? I think I saw in an archive that you cannot plot a
multinom.object, is it true?
Thank you by advance for your help,
Cheers
Camille
2006 Dec 12
3
Need help getting started with asterisk
I am new to asterisk. I need help getting started, if it's even worth
getting started. I say if it's worth getting started because I'm not
sure if my hardware will even work with asterisk. I have a US ROBOTICS
56K V.90 PCI SOFT MODEM. I have standard twisted pair telephone wire.
I can't afford to alter my hardware. I know I won't be able to do any
sophistocated VoIP stuff.
2010 Oct 28
2
How to enable Arial font for postcript/pdf figure on Windows?
Hi,
I need to generate some figure using the Arial font as a requirement for
PLoS.
Following their guidelines, I have converted the windows font files
arial.tff files to .afm using tff2afm (exec file from MikTeX), but when I
try to generate a postcript file, the postcript device does not recognize
the .afm files.
The code I use to test the new font is the following:
2010 Feb 20
1
Advanced use of to_xml and to_json
Hello,
I''m working on a Rails app which has a REST API. I manage two formats
JSON and XML.
Very often to simplify the use if the API, I''m making includes. But when
you add params to to_json and to_xml like :only, :except, it''s not only
applied on the root object but on all the objects included.
Do you know libs or methods to answer to these different problems:
* Tell