search for: abi_call_test_tuple_2p

Displaying 2 results from an estimated 2 matches for "abi_call_test_tuple_2p".

2018 Apr 21
0
How to add/use parameter attributes? Troubles with "byval"
I'm unable to figure out how IR attributes can be added via the C++ API. I need to create a function like this:     %1 = call i64 @abi_call_test_tuple_2p(%struct.abi_tuple_2p* byval align 8 %v) Where a structure is being passed by value. I need to add the `byval` attribute somewhere (I'm not clear if this is on the function arguments or the type). I'm also uncertain of why that results in a different calling convention than just:     %1 =...
2018 Apr 22
0
Subject: How to define vector element type bool in builtin function
...eter attributes? Troubles with "byval" Message-ID: <4643e384-6ce5-5095-2ebd-fa6244e0d7be at disemia.com> Content-Type: text/plain; charset=utf-8 I'm unable to figure out how IR attributes can be added via the C++ API. I need to create a function like this: %1 = call i64 @abi_call_test_tuple_2p(%struct.abi_tuple_2p* byval align 8 %v) Where a structure is being passed by value. I need to add the `byval` attribute somewhere (I'm not clear if this is on the function arguments or the type). I'm also uncertain of why that results in a different calling convention than just: %...