search for: scudiero

Displaying 6 results from an estimated 6 matches for "scudiero".

2008 Sep 12
2
[LLVMdev] CPP API User-level Question: Returning multiple values
...h changes made to trunk since the LLVM2.3 release, but do we need to get it working with the LLVM we have for the time being - which means using the 2.3 MRV syntax for the time being. Out of curiosity: does the MRV syntax will still work with first-class aggregates? Thanks! -Tony Scudiero Dan Gohman wrote: > On Sep 12, 2008, at 9:40 AM, Tony Scudiero wrote: > > >> Greetings, >> > > Hi Tony, > > This is an area that's undergone some changes recently. The LLVM 2.3 > multiple-return-value (MRV) syntax has been replaced by the > first...
2008 Sep 12
3
[LLVMdev] CPP API User-level Question: Returning multiple values
...anything by generating an intentionally bad call and letting my gen-compiler list the possible ReturnInst which it knows about. Do I have to create the ReturnInst in a different way to do this? Any guidance for how to do this from within the CPP API would be greatly appreciated. Thanks!! -Tony Scudiero
2008 Sep 12
0
[LLVMdev] CPP API User-level Question: Returning multiple values
...BasicBlock *InsertAtEnd) which are what you're looking for. In LLVM trunk, MRV-syntax LLVM assembly files and bitcode files are auto-upgraded to first-class aggregates in the respective readers. However at the C++ API level, clients must be adapted. Dan On Sep 12, 2008, at 1:43 PM, Tony Scudiero wrote: > Dan, > Thanks for the info. Unfortunately for the time being we are using > (for the most part) the 2.3 release (with a couple of patches that > Dave > Greene has applied). The first-class aggregates is one of the things > we > don't yet have in the LLVM we...
2008 Sep 12
0
[LLVMdev] CPP API User-level Question: Returning multiple values
On Sep 12, 2008, at 9:40 AM, Tony Scudiero wrote: > Greetings, Hi Tony, This is an area that's undergone some changes recently. The LLVM 2.3 multiple-return-value (MRV) syntax has been replaced by the first-class aggregates syntax in SVN trunk. > > I'm working on getting our compiler's interface to LLVM to mimic...
2009 Jan 12
2
[LLVMdev] GlobalVaraible and Function have the same name
Hi all, I just walked across an interesting situation in Module::getOrInsertFunction(Name, Type) in the LLVM C API. In my particular case: One of the first things we do is add a global variable named foo which is a [ 100 x i64 ]. Later we add a function void foo(...) unfortunately, when we do the getOrInsertFunction we get back void (...) * bitcast ([100 x i64]* @foo_ to void (...)*)
2008 Jul 31
1
[LLVMdev] Structs as first class values.
I work with David Greene and I've been looking into the x86-64 ABI. Right now I'm working with the 2.3 release of LLVM and LLVM-GCC 4.2/2.3 (binary release for linux). I'm unable to replicate the results you posted here - I'm getting wildly different output. I wonder what I'm doing wrong. I suspect it has something to do with my not being able to pass it the -m64 or --64