search for: code2develop

Displaying 20 results from an estimated 24 matches for "code2develop".

2010 Aug 31
4
[LLVMdev] LLVM-C tutorial
.... Filip On 31 Aug 2010, at 17:25, Rajika Kumarasiri wrote: > Most of the documents (html) are generated using rst2html. So I think a patch to the rst file in llvm/tools/llvmc/doc should be fine. > > Rajika > > On Mon, Aug 30, 2010 at 7:59 PM, F van der Meeren <llvm-dev at code2develop.com> wrote: > As I have stated before, I am creating a LLVM-C tutorial. > Now I expect it to be in a final draft form within 2~3 weeks, but how do I have to deliver it to the community? > > - File format ? > - Style ? > - ... > > Thank you, > > Filip > >...
2010 Sep 01
0
[LLVMdev] LLVM-C tutorial
I think it'd be nice to have a ToC describing what you plan to cover in the "hello world" tutorial. I'll take a look at the tutorial in the week end and send feed back. Rajika On Wed, Sep 1, 2010 at 2:02 AM, F van der Meeren <llvm-dev at code2develop.com>wrote: > I am going to post my first chapter, just to see if it is acceptable. > Any feedback is good feedback for me. > > > > > > Filip > > On 31 Aug 2010, at 17:25, Rajika Kumarasiri wrote: > > Most of the documents (html) are generated using rst2html....
2010 Aug 30
2
[LLVMdev] LLVM-C tutorial
As I have stated before, I am creating a LLVM-C tutorial. Now I expect it to be in a final draft form within 2~3 weeks, but how do I have to deliver it to the community? - File format ? - Style ? - ... Thank you, Filip
2010 Aug 31
0
[LLVMdev] LLVM-C tutorial
Most of the documents (html) are generated using rst2html. So I think a patch to the rst file in llvm/tools/llvmc/doc should be fine. Rajika On Mon, Aug 30, 2010 at 7:59 PM, F van der Meeren <llvm-dev at code2develop.com > wrote: > As I have stated before, I am creating a LLVM-C tutorial. > Now I expect it to be in a final draft form within 2~3 weeks, but how do I > have to deliver it to the community? > > - File format ? > - Style ? > - ... > > Thank you, > > Filip > &gt...
2010 Sep 01
0
[LLVMdev] LLVM-C tutorial
...s the llvm source itself which, although authoritative, is far from simple!). i read it, it made immediate sense and i liked the style. i'd love to see more tutorials at that level. > > good luck and have fun, > n > > > On 31 August 2010 22:55, F van der Meeren <filip at code2develop.com> wrote: > I am aware that it contains a few (a lot of) mistakes, it is only a draft. But it would be nice to have comments on it or discard reactions from people before I commit more time to this. > > Filip > > On 31 Aug 2010, at 22:32, F van der Meeren wrote: > >>...
2010 Jul 06
2
[LLVMdev] LLVM-C headers: create native library
Hi, Is it possible to create a .dll / .so / .dylib by only using the LLVM-C headers ? If so, I cannot find it. Filip
2010 Jul 07
0
[LLVMdev] LLVM-C headers: create native library
...LVM. For that you need a linker. LLVM generates assembly files (.s) and very soon it will generate object files natively (.o). The clang driver generally uses an installed gcc to do the assemble and link steps at the moment. Reid On Tue, Jul 6, 2010 at 7:51 AM, F van der Meeren <llvm-dev at code2develop.com> wrote: > Hi, > > Is it possible to create a .dll / .so / .dylib by only using the LLVM-C headers ? > If so, I cannot find it. > > Filip > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu         http://ll...
2010 Sep 13
3
[LLVMdev] Emit C
I am still having some trouble finding my way in the C++ files. Could you give me a clearer direction? Filip On 13 Sep 2010, at 18:39, Charles Davis wrote: > On 9/13/10 10:32 AM, F van der Meeren wrote: >> Hello, >> >> I am trying to emit C code from the module I just created. And this from LLVM-C. >> If someone could give me a pointer on how to do this in llvm (with
2010 Sep 13
0
[LLVMdev] Emit C
On Sep 13, 2010, at 10:40 AM, F van der Meeren wrote: > I am still having some trouble finding my way in the C++ files. > Could you give me a clearer direction? If you have llvm IR then you can use 'llc' to generate c code. Try $ llc <input_llvm_ir> -march=c -o /tmp/output.c This C backend is implemented in llvm/lib/Target/CBackend - Devang
2010 Jul 04
2
[LLVMdev] llvm-c: llvm-c headers documentation?
Hi, I am trying to get started with the llvm-c headers. Is there any place where I can get/retrieve documentation about it? Such as a basic tutorial, memory managment... Thank you, Filip
2010 Aug 12
0
[LLVMdev] llvm-c headers: How to call external function?
Hello, I have a question concerning llvm-c. I have set up a function that needs to invoke an external method, in a other library. It has the following signature: void* NSFullUserName(void); The void* can be replaced with a i8*, that far I was able to get, but when my call is invoked, the engine gives me the following message: LLVM ERROR: Tried to execute an unknown external function: i8* ()*
2010 Aug 29
0
[LLVMdev] LLVM-C: getting the @llvm.global_ctors
Hello, I am still experimenting with the C interface to LLVM, it is going well so far. But I am seeming to have trouble getting access the @llvm.global_ctors variable and add a function that I have created. Any idea how to approach his by only using the LLVM-C interface? Thank you, Filip
2010 Sep 02
0
[LLVMdev] Creating a dylib from llvm
Hello, I have been trying to create a dylib for llvm. But I can't get the settings right it seems. I am using Mac Os X with the following command export LOADABLE_MODULE=true make -f ./utils/build_it/GNUMakefile install Any help on this? Thank you, Filip
2010 Sep 07
2
[LLVMdev] Intrinsic prototype has incorrect number of arguments!
That won't work when you are trying to limit yourself to C and only C. Is there an LLVM-C alternative? Filip On 07 Sep 2010, at 20:37, Eric Christopher wrote: > > On Sep 7, 2010, at 11:30 AM, F van der Meeren wrote: > >> >> >> Any ideas on what I am doing wrong here ? >> > > > Why not just use something like: > > const Type
2010 Sep 13
2
[LLVMdev] Emit C
Hello, I am trying to emit C code from the module I just created. And this from LLVM-C. If someone could give me a pointer on how to do this in llvm (with C++) I might be able to figure it out how to do it in LLVM-C or write my own LLVM-C wrapper for it. Thank you, Filip
2010 Sep 15
2
[LLVMdev] LLVM-C addition: LLVMConvertModuleToXXX
What do you guys/girls think about LLVM-C additions that are similar to the following: char * LLVMConvertModuleToC(LLVMModuleRef aModule); Which creates the X-code for a given module (in this case for the language C). - Filip -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Sep 16
1
[LLVMdev] LLVM-C addition: LLVMConvertModuleToXXX
To get the cpp version, just remove the first line... It just feels to me that the llvm-c version is the unwanted sibling. And I want to change it in a rapid tempo. To a fully equipped alternative. -Filip Sent from my iPad On 16 Sep 2010, at 10:00, Duncan Sands <baldrick at free.fr> wrote: > Hi Filip, > >> What do you guys/girls think about LLVM-C additions that are similar
2010 Sep 16
2
[LLVMdev] LLVM-C Patch : LLVMConvertModuleToC
LLVMConvertModuleToC Patch to LLVM-C -------------- next part -------------- A non-text attachment was scrubbed... Name: LLVMConvertModuleToCPatch Type: application/octet-stream Size: 3075 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100916/d866557f/attachment.obj> -------------- next part -------------- - Filip
2010 Sep 16
2
[LLVMdev] LLVM-C Patch : LLVMConvertModuleToC
I could extract all the functionality into wrapper methods. So that it would be possible to create such a thing in C. But without considering the coding standards (it comes directly out of my repository), why would you object against this? It seemed logical to me, to be able to create code in C, and then generate C out of it. This would be useful in things like a new flex/bison. And combining
2010 Sep 17
0
[LLVMdev] LLVM-C Patch : LLVMConvertModuleToC
On 17 Sep 2010, at 23:14, Eric Christopher wrote: >> >> >>> And combining modules is something that seemed a primitive to me. >> >> Why not just wrap the Linker interface? > > To be more specific, why not just wrap certain specific Linker calls instead of another big function that does a huge amount of work? > > -eric Done, and I will make an