similar to: [LLVMdev] Access a specific address in the JIT compiler

Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Access a specific address in the JIT compiler"

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
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 01
2
[LLVMdev] Questions about LLVM
Dear list, I am learning LLVM and would like to add JIT support to the F-Script language. F-Script is a Smalltalk like scripting language that lives in the Objective-C runtime. It is written by Philippe Mougin. The goal is for me to become more familiar with LLVM, and learn about the conclusions we can draw in terms performance improvements (or degradation !), possible optimizations, etc. So
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
2009 Jan 19
1
[LLVMdev] Load from abs address generated bad code on LLVM 2.4
Andrew Haley <aph at redhat.com> writes: > Óscar Fuentes wrote: >> The following message is a courtesy copy of an article >> that has been posted to gmane.comp.compilers.llvm.devel as well. >> >> Andrew Haley <aph at redhat.com> writes: >> >>> This is x86_64. I have a problem where an absolute memory load >>> >>> define
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 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 Jan 21
0
[LLVMdev] Load from abs address generated bad code on LLVM 2.4
Óscar Fuentes wrote: > Andrew Haley <aph at redhat.com> writes: > >> Óscar Fuentes wrote: >>> The following message is a courtesy copy of an article >>> that has been posted to gmane.comp.compilers.llvm.devel as well. >>> >>> Andrew Haley <aph at redhat.com> writes: >>> >>>> This is x86_64. I have a problem where an
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
2009 Mar 14
5
[LLVMdev] Strange LLVM Crash
I'm implementing a JIT and getting some strange crashes. I'm unsure exactly what's causing them, but it seems to occur when I call the getReturnType() method on some LLVM function objects. More precisely, I'm registering some native C++ functions as LLVM functions through the addGlobalMapping method of an execution engine object. I then keep a pointer to those LLVM function
2011 Jul 02
0
[LLVMdev] Pointer Constant?
1. Create an extern global variable of the type being pointed to. Use ExecutionEngine::addGlobalMapping to map that extern global variable to the pointer. Then your IR code can refer to the extern global variable and get the pointer. 2. Convert the pointer to an int. Create an int constant in IR. Then add an inttoptr instruction, and your IR has the pointer constant. Last I checked, though,
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 Feb 17
3
[LLVMdev] Work in progress patch to bug 2606
Hi Olivier, Thanks for responding! I get to learn this way. On Feb 17, 2010, at 12:50, Olivier Meurant wrote: > Hi Garrison, > > I am not a specialist of the code but here is my 2 cents: > > - I like the idea that in lazy-mode the call (in module or not) is treated by a stub (like every calls). If we go further with this, I'll have to add test cases for lazy mode. I kind
2008 Aug 19
0
[LLVMdev] Please help with LLVM C++ integration
kirill havok wrote: > Hi Gordon, > I wrote a small example, but while running I get an error("Tied to > execute an unknown external function"), where I am wrong? > I think the problem is that some_test_func() is a C++ function, so its name is being mangled during compilation. To fix it, I think you want to add a declaration telling the compiler to treat some_test_func()
2008 Aug 19
0
[LLVMdev] Please help with LLVM C++ integration
Hi Kirill, Don't forget to add X86TargetMachine.obj (add to Additional Dependencies in Linker options, if you are using MSVS) otherwise LLVM will try and use Interpreter instead of JIT. Hope this helps, Rob. > -----Original Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of kirill havok > Sent: Wednesday, August 20, 2008
2009 Jun 11
1
[LLVMdev] Output to a DLL
When you say "spit bitecode from the JIT the first time, load it on subsequent sessions" : - do you want to write the IR in a file via BitcodeWriter and re-read it via BitcodeReader ? (you will pay the cost of native code emission on each load ?) - do you want to write the native code ? In that case, how do you retrieve the size of the buffer prepared by the