Displaying 4 results from an estimated 4 matches for "paramcount".
2009 Dec 07
4
[LLVMdev] 2.6 JIT using wrong address for external functions
...look familiar to anyone? I'm
using 2.6 on Solaris10/x64 if it matters.
This has been working for about two months and I can't readily figure
out what I changed to break it.
tia,
-n
define i64 @"extern::427433251261"(%struct.ContextFrame* %context, i64*
nocapture %params, i64 %paramCount) {
entry:
%correctParamCount = icmp eq i64 %paramCount, 0 ; <i1> [#uses=1]
br i1 %correctParamCount, label %copyParams, label %invalidParams
copyParams: ; preds = %entry
%tmp4.i.i.i.i.i = tail call i64
@ContextFrame_getInt64Value(%struct.ContextFra...
2009 Dec 07
0
[LLVMdev] 2.6 JIT using wrong address for external functions
...Solaris10/x64 if it matters.
>
> This has been working for about two months and I can't readily figure
> out what I changed to break it.
>
> tia,
> -n
>
>
> define i64 @"extern::427433251261"(%struct.ContextFrame* %context, i64*
> nocapture %params, i64 %paramCount) {
> entry:
> %correctParamCount = icmp eq i64 %paramCount, 0 ; <i1> [#uses=1]
> br i1 %correctParamCount, label %copyParams, label %invalidParams
>
> copyParams: ; preds = %entry
> %tmp4.i.i.i.i.i = tail call i64
> @ContextFrame_g...
2017 Sep 18
0
Counterintuitive use of LLVMBool in C-API?
Okay after translating the headers to Delphi, i found more inconsistencies:
> LLVMTypeRef LLVMFunctionType(LLVMTypeRef ReturnType,
> LLVMTypeRef *ParamTypes, unsigned ParamCount,
> LLVMBool IsVarArg);
>
In this case it is the other way around. 0 means False and anything else
means true :/ (so it acts more like a "traditional" bool)
2016-09-12 11:17 GMT+02:00 Alexander Benikowski <sebal007 at googlemail.com>:
> Of cou...
2016 Sep 12
1
Counterintuitive use of LLVMBool in C-API?
Of course, this is normal for C-APIs. But maybe change the name to
LLVMResult to propagate the real use? I am not arguing about the results
themself. They are standard. But the name is missguiding. As long as it's
consistent i know that i have to write an extra record operator in Delphi
to reflect this.
2016-09-12 11:11 GMT+02:00 David Chisnall <David.Chisnall at cl.cam.ac.uk>:
> On