Displaying 20 results from an estimated 36 matches for "meeren".
2010 Aug 31
4
[LLVMdev] LLVM-C tutorial
...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. 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,...
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 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....
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/Targe...
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) a...
2010 Sep 16
3
[LLVMdev] LLVM-C Patch : LLVMConvertModuleToC
...ding some minor features really limits its usefulness.
Right now, at this very instance it isn't usable. Except as a stepping stone to the bigger framework.
But thats just my 2 cents.
- Filip
On 16 Sep 2010, at 19:51, Eric Christopher wrote:
>
> On Sep 16, 2010, at 5:35 AM, F van der Meeren wrote:
>
>> LLVMConvertModuleToC Patch to LLVM-C
>>
>> <LLVMConvertModuleToCPatch>
>>
>
> *shrug* One of the things about the C API is that it's a "support forever" sort
> of thing. Is this kind of thing a big enough use case that we want...
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: Calling functions contained in other libraries
On Aug 12, 2010, at 10:43 AM, F van der Meeren wrote:
> Where am I going wrong here?
>
Did you link against the library that contains the function?
-eric
2010 Sep 01
0
[LLVMdev] LLVM-C tutorial
...i am hacking (besides 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 Me...
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 *ArgPtr = Type::getInt8PtrTy(Context);
> const Type *IntPtr = getTargetData().getIntPtrType(Context);
>
> and then...
2010 Aug 12
3
[LLVMdev] LLVM-C: Calling functions contained in other libraries
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 Sep 07
4
[LLVMdev] Intrinsic prototype has incorrect number of arguments!
Hello,
I have a question, what is wrong with the following code?
declare void @llvm.memcpy.p0i64.p0i64.i8(i64*, i64*, i8, i32, i1) nounwind
...
call void @llvm.memcpy.p0i64.p0i64.i8(i64* %19, i64* %21, i8 %17, i32 0, i1 false)
...
According to the compiler this is the error, but I seem to miss where exactly my fault is.
Intrinsic prototype has incorrect number of arguments!
void (i64*,
2010 Sep 07
2
[LLVMdev] Intrinsic prototype has incorrect number of arguments!
...loccall to i64* ; <i64*> [#uses=1]
call void @llvm.memcpy.p0i64.p0i64.i64(i64* %9, i64* %11, i64 %7, i32 0, i1 false)
br label %exit
Any ideas on what I am doing wrong here ?
On 07 Sep 2010, at 19:55, Eric Christopher wrote:
>
> On Sep 7, 2010, at 8:03 AM, F van der Meeren wrote:
>
>> Hello,
>>
>> I have a question, what is wrong with the following code?
>>
>> declare void @llvm.memcpy.p0i64.p0i64.i8(i64*, i64*, i8, i32, i1) nounwind
>>
>> ...
>>
>> call void @llvm.memcpy.p0i64.p0i64.i8(i64* %19, i64* %21,...
2010 Jul 06
0
[LLVMdev] llvm-c: llvm-c headers documentation?
Hi Filip,
It's best to email llvmdev, not me directly. A place to start helping is to start working on a new tutorial! :)
-Chris
On Jul 5, 2010, at 2:29 PM, F van der Meeren wrote:
> Will there be any change in this situation?
> And if not, how can I help?
>
> Filip
>
> On 04 Jul 2010, at 19:34, Chris Lattner wrote:
>
>>
>> On Jul 4, 2010, at 12:40 AM, F van der Meeren wrote:
>>
>>> Hi,
>>>
>>> I...
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...
2010 Sep 07
0
[LLVMdev] Intrinsic prototype has incorrect number of arguments!
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 *ArgPtr = Type::getInt8PtrTy(Context);
const Type *IntPtr = getTargetData().getIntPtrType(Context);
and then:
const Type *ArgTypes[3] = {ArgPtr, ArgPtr, IntPtr...
2010 Sep 07
0
[LLVMdev] Intrinsic prototype has incorrect number of arguments!
On Sep 7, 2010, at 8:03 AM, F van der Meeren wrote:
> Hello,
>
> I have a question, what is wrong with the following code?
>
> declare void @llvm.memcpy.p0i64.p0i64.i8(i64*, i64*, i8, i32, i1) nounwind
>
> ...
>
> call void @llvm.memcpy.p0i64.p0i64.i8(i64* %19, i64* %21, i8 %17, i32 0, i1 false)
>
> ......
2010 Sep 07
0
[LLVMdev] Intrinsic prototype has incorrect number of arguments!
On Sep 7, 2010, at 12:25 PM, F van der Meeren wrote:
> That won't work when you are trying to limit yourself to C and only C.
> Is there an LLVM-C alternative?
Hmm... If there isn't then we can easily expand the C bindings to do it.
-eric
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 13
0
[LLVMdev] Emit C
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 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.
Easy. LLVM has a...