Displaying 1 result from an estimated 1 matches for "cppnative".
Did you mean:
ce_native
2013 Mar 28
2
[LLVMdev] LLVM Execution engine: Native call vs LLVM IR function call
...1 = phi i64 [ 0, %entry ], [ %res, %cont ]
%2 = icmp ugt i64 %0, 1000000001
br i1 %2, label %exit, label %cont
exit: ; preds = %bb1
ret i64 %1
cont: ; preds = %bb1
%3 = add i64 %0, 1
%res = call i64 @cppnative(i64 %0)
br label %bb1
}
C++:
long cppNative(long data) {
return data*data;
}
I am using g++ 4.5.2. I will appreciate any help.
Thank you.
Best regards,
Nurudeen.