Revision tags: llvmorg-2.3.0 |
|
#
5b3e396c |
| 06-Jun-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Turn stdout into binary mode during bitcode emission. This is necessary on windows targets, since stdout is in text mode there. Patch by Julien Lerouge!
llvm-svn: 52038
|
#
ca0256ab |
| 31-May-2008 |
Dan Gohman <gohman@apple.com> |
Improved bitcode support for insertvalue/extractvalue.
llvm-svn: 51822
|
#
1ecaf45c |
| 31-May-2008 |
Dan Gohman <gohman@apple.com> |
IR, bitcode reader, bitcode writer, and asmparser changes to insertvalue and extractvalue to use constant indices instead of Value* indices. And begin updating LangRef.html.
There's definately more
IR, bitcode reader, bitcode writer, and asmparser changes to insertvalue and extractvalue to use constant indices instead of Value* indices. And begin updating LangRef.html.
There's definately more to come here, but I'm checking this basic support in now to make it available to people who are interested.
llvm-svn: 51806
show more ...
|
#
30499844 |
| 23-May-2008 |
Dan Gohman <gohman@apple.com> |
Make structs and arrays first-class types, and add assembly and bitcode support for the extractvalue and insertvalue instructions and constant expressions.
Note that this does not yet include CodeGe
Make structs and arrays first-class types, and add assembly and bitcode support for the extractvalue and insertvalue instructions and constant expressions.
Note that this does not yet include CodeGen support.
llvm-svn: 51468
show more ...
|
#
6ef726a0 |
| 15-May-2008 |
Dale Johannesen <dalej@apple.com> |
Allow an extra bit for CommonLinkage.
This changes the .bc file format, but if I understand how it works correctly, old .bc files continue to be readable.
llvm-svn: 51161
|
#
ce4396bc |
| 14-May-2008 |
Dale Johannesen <dalej@apple.com> |
Add CommonLinkage; currently tentative definitions are represented as "weak", but there are subtle differences in some cases on Darwin, so we need both. The intent is that "common" will behave ident
Add CommonLinkage; currently tentative definitions are represented as "weak", but there are subtle differences in some cases on Darwin, so we need both. The intent is that "common" will behave identically to "weak" unless somebody changes their target to do something else. No functional change as yet.
llvm-svn: 51118
show more ...
|
#
d2195700 |
| 12-May-2008 |
Nate Begeman <natebegeman@mac.com> |
Add two new instructions to the llvm IR, vicmp and vfcmp. see updated LangRef for details. CodeGen support coming in a follow up patch
llvm-svn: 50985
|
#
4d43d3c7 |
| 25-Apr-2008 |
Nick Lewycky <nicholas@mxc.ca> |
Remove 'unwinds to' support from mainline. This patch undoes r47802 r47989 r48047 r48084 r48085 r48086 r48088 r48096 r48099 r48109 and r48123.
llvm-svn: 50265
|
#
8a923e7c |
| 12-Mar-2008 |
Chris Lattner <sabre@nondot.org> |
Reimplement the parameter attributes support, phase #1. hilights:
1. There is now a "PAListPtr" class, which is a smart pointer around the underlying uniqued parameter attribute list object, and
Reimplement the parameter attributes support, phase #1. hilights:
1. There is now a "PAListPtr" class, which is a smart pointer around the underlying uniqued parameter attribute list object, and manages its refcount. It is now impossible to mess up the refcount. 2. PAListPtr is now the main interface to the underlying object, and the underlying object is now completely opaque. 3. Implementation details like SmallVector and FoldingSet are now no longer part of the interface. 4. You can create a PAListPtr with an arbitrary sequence of ParamAttrsWithIndex's, no need to make a SmallVector of a specific size (you can just use an array or scalar or vector if you wish). 5. All the client code that had to check for a null pointer before dereferencing the pointer is simplified to just access the PAListPtr directly. 6. The interfaces for adding attrs to a list and removing them is a bit simpler.
Phase #2 will rename some stuff (e.g. PAListPtr) and do other less invasive changes.
llvm-svn: 48289
show more ...
|
#
db691cbd |
| 11-Mar-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Honour aliases visibility when reading from/writing to bitcode
llvm-svn: 48248
|
#
3cc9be0b |
| 02-Mar-2008 |
Nick Lewycky <nicholas@mxc.ca> |
Add an unwind_to field to basic blocks, making them Users instead of Values. This is the first checkin for PR1269, the new EH infrastructure.
llvm-svn: 47802
|
#
443018e5 |
| 26-Feb-2008 |
Devang Patel <dpatel@apple.com> |
Remove debugging help.
llvm-svn: 47585
|
#
bbfd874c |
| 26-Feb-2008 |
Devang Patel <dpatel@apple.com> |
Update bitcode reader and writer to handle multiple return values. Take 2.
llvm-svn: 47583
|
#
2f18c397 |
| 23-Feb-2008 |
Evan Cheng <evan.cheng@apple.com> |
Backing out r47521 for now. This has broken a number of tests.
llvm-svn: 47533
|
#
6a49782d |
| 23-Feb-2008 |
Devang Patel <dpatel@apple.com> |
Properly read and write bitcodes for multiple return values.
llvm-svn: 47521
|
#
09f410b6 |
| 22-Feb-2008 |
Dale Johannesen <dalej@apple.com> |
Split ParameterAttributes.h, putting the complicated stuff into ParamAttrsList.h. Per feedback from ParamAttrs changes.
llvm-svn: 47504
|
#
49cfe701 |
| 22-Feb-2008 |
Devang Patel <dpatel@apple.com> |
Read and write getresult.
llvm-svn: 47471
|
#
965155af |
| 20-Feb-2008 |
Dale Johannesen <dalej@apple.com> |
Support alignment within ParamAttrs in the I/O handling.
llvm-svn: 47401
|
#
89268bc6 |
| 19-Feb-2008 |
Dale Johannesen <dalej@apple.com> |
Expand ParameterAttributes to 32 bits (in preparation for adding alignment info, not there yet). Clean up interfaces to reference ParameterAttributes consistently.
llvm-svn: 47342
|
Revision tags: llvmorg-2.2.0 |
|
#
f3ebc3f3 |
| 29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Remove attribution from file headers, per discussion on llvmdev.
llvm-svn: 45418
|
#
25f50766 |
| 12-Dec-2007 |
Christopher Lamb <christopher.lamb@gmail.com> |
Implement part of review feedback for address spaces.
llvm-svn: 44933
|
#
f41217d4 |
| 11-Dec-2007 |
Duncan Sands <baldrick@free.fr> |
Fix compilation.
llvm-svn: 44864
|
#
54dd24c2 |
| 11-Dec-2007 |
Christopher Lamb <christopher.lamb@gmail.com> |
Implement address space attribute for LLVM pointer types. Address spaces are regions of memory that have a target specific relationship, as described in the Embedded C Technical Report.
This also
Implement address space attribute for LLVM pointer types. Address spaces are regions of memory that have a target specific relationship, as described in the Embedded C Technical Report.
This also implements the 2007-12-11-AddressSpaces test, which demonstrates how address space attributes can be used in LLVM IR.
In addition, this patch changes the bitcode signature for stores (in a backwards compatible manner), such that the pointer type, rather than the pointee type, is encoded. This permits type information in the pointer (e.g. address space) to be preserved for stores.
LangRef updates are forthcoming.
llvm-svn: 44858
show more ...
|
#
71183b67 |
| 10-Dec-2007 |
Gordon Henriksen <gordonhenriksen@mac.com> |
Adding a collector name attribute to Function in the IR. These methods are new to Function:
bool hasCollector() const; const std::string &getCollector() const; void setCollector(const std::st
Adding a collector name attribute to Function in the IR. These methods are new to Function:
bool hasCollector() const; const std::string &getCollector() const; void setCollector(const std::string &); void clearCollector();
The assembly representation is as such:
define void @f() gc "shadow-stack" { ...
The implementation uses an on-the-side table to map Functions to collector names, such that there is no overhead. A StringPool is further used to unique collector names, which are extremely likely to be unique per process.
llvm-svn: 44769
show more ...
|
#
1dfc48d4 |
| 27-Nov-2007 |
Chris Lattner <sabre@nondot.org> |
Unbreak backwards compatibility with bytecode format. Regression introduced by this patch: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071126/055824.html
llvm-svn: 44364
|