search for: call_by_point

Displaying 4 results from an estimated 4 matches for "call_by_point".

Did you mean: call_by_pointer
2011 Aug 11
2
[LLVMdev] Pass a struct on windows
...test case can be flagged as the ABI issue. Or this would be a llvm code generator bug on window 32. The complete IR is attached as a text file and I checked the test with lli. (1) Pass a struct of type {void*, uint64_t} by pointer (in fact this is generated from Clang 3.0). The returned value of @call_by_pointer is 4 as expected, on both windows XP ia32 and linux ubuntu x64 I tested. %0 = type { i8*, i64 } define void @foo_by_pointer(%0* %agg_addr, i8*, i64) nounwind { entry: %agg_addr.0 = getelementptr inbounds %0* %agg_addr, i32 0, i32 0 store i8* %0, i8** %agg_addr.0, align 8 %agg_addr.1 = get...
2011 Aug 11
0
[LLVMdev] Pass a struct on windows
...the ABI issue. Or this would be a llvm > code generator bug on window 32. The complete IR is attached as a text file > and I checked the test with lli. > > (1) Pass a struct of type {void*, uint64_t} by pointer (in fact this is > generated from Clang 3.0). > The returned value of @call_by_pointer is 4 as expected, on both windows XP ia32 > and linux ubuntu x64 I tested. > > %0 = type { i8*, i64 } > > define void @foo_by_pointer(%0* %agg_addr, i8*, i64) nounwind { > entry: > %agg_addr.0 = getelementptr inbounds %0* %agg_addr, i32 0, i32 0 > store i8* %0, i8**...
2011 Aug 11
1
[LLVMdev] Pass a struct on windows
...lvm > > code generator bug on window 32. The complete IR is attached as a text > file > > and I checked the test with lli. > > > > (1) Pass a struct of type {void*, uint64_t} by pointer (in fact this is > > generated from Clang 3.0). > > The returned value of @call_by_pointer is 4 as expected, on both windows > XP ia32 > > and linux ubuntu x64 I tested. > > > > %0 = type { i8*, i64 } > > > > define void @foo_by_pointer(%0* %agg_addr, i8*, i64) nounwind { > > entry: > > %agg_addr.0 = getelementptr inbounds %0* %agg_addr,...
2011 Aug 15
3
[LLVMdev] structured types as function arguments
Hi, When calling a function, does the llvm code generator support passing structured types (arrays, structs, etc.) by _value_? I wrote some small examples, and it seemed to work, but I was wondering if anything can go wrong if the structured types are very large... Thanks, N