| #
0dc08915 |
| 12-Feb-2013 |
Bill Wendling <[email protected]> |
Have the bitcode writer and reader handle the new attribute references.
The bitcode writer emits a reference to the attribute group that the object at the given index refers to. The bitcode reader i
Have the bitcode writer and reader handle the new attribute references.
The bitcode writer emits a reference to the attribute group that the object at the given index refers to. The bitcode reader is modified to read this in and map it back to the attribute group.
llvm-svn: 174952
show more ...
|
| #
e46707e4 |
| 11-Feb-2013 |
Bill Wendling <[email protected]> |
Use a std::map so that we record the group ID.
llvm-svn: 174910
|
| #
d688bab5 |
| 11-Feb-2013 |
Kostya Serebryany <[email protected]> |
[tsan/msan] adding thread_safety and uninitialized_checks attributes
llvm-svn: 174864
|
| #
ba629335 |
| 10-Feb-2013 |
Bill Wendling <[email protected]> |
Add support in the bitcode reader to read the attribute groups.
This reads the attribute groups. It currently doesn't do anything with them.
NOTE: In the commit to the bitcode writer, the format *m
Add support in the bitcode reader to read the attribute groups.
This reads the attribute groups. It currently doesn't do anything with them.
NOTE: In the commit to the bitcode writer, the format *may* change in the near future. Which means that this code would also change.
llvm-svn: 174849
show more ...
|
| #
97b7a171 |
| 06-Feb-2013 |
Joe Abbey <[email protected]> |
Code Custodian (trivial whitespace cleanup)
llvm-svn: 174550
|
| #
27e7ef32 |
| 05-Feb-2013 |
Michael Gottesman <[email protected]> |
Added LLVM Asm/Bitcode Reader/Writer support for new IR keyword externally_initialized.
llvm-svn: 174340
|
| #
56aeccce |
| 04-Feb-2013 |
Bill Wendling <[email protected]> |
Initial cleanups of the param-attribute code in the bitcode reader/writer.
Rename the PARAMATTR_CODE_ENTRY to PARAMATTR_CODE_ENTRY_OLD. It will be replaced by another encoding. Keep around the curre
Initial cleanups of the param-attribute code in the bitcode reader/writer.
Rename the PARAMATTR_CODE_ENTRY to PARAMATTR_CODE_ENTRY_OLD. It will be replaced by another encoding. Keep around the current LLVM attribute encoder/decoder code, but move it to the bitcode directories so that no one's tempted to use them.
llvm-svn: 174335
show more ...
|
| #
60011b8e |
| 29-Jan-2013 |
Bill Wendling <[email protected]> |
Use an AttrBuilder to generate the correct AttributeSet.
We no longer accept an encoded integer as representing all of the attributes. Convert this via the AttrBuilder class into an AttributeSet wit
Use an AttrBuilder to generate the correct AttributeSet.
We no longer accept an encoded integer as representing all of the attributes. Convert this via the AttrBuilder class into an AttributeSet with the correct representation (an AttributeSetImpl that holds a list of Attribute objects).
llvm-svn: 173750
show more ...
|
| #
71173cb7 |
| 27-Jan-2013 |
Bill Wendling <[email protected]> |
Use the AttributeSet instead of AttributeWithIndex object.
llvm-svn: 173598
|
| #
57625a49 |
| 25-Jan-2013 |
Bill Wendling <[email protected]> |
Remove some introspection functions.
The 'getSlot' function and its ilk allow introspection into the AttributeSet class. However, that class should be opaque. Allow access through accessor methods i
Remove some introspection functions.
The 'getSlot' function and its ilk allow introspection into the AttributeSet class. However, that class should be opaque. Allow access through accessor methods instead.
llvm-svn: 173522
show more ...
|
| #
29178a34 |
| 22-Jan-2013 |
Tim Northover <[email protected]> |
Make APFloat constructor require explicit semantics.
Previously we tried to infer it from the bit width size, with an added IsIEEE argument for the PPC/IEEE 128-bit case, which had a default value.
Make APFloat constructor require explicit semantics.
Previously we tried to infer it from the bit width size, with an added IsIEEE argument for the PPC/IEEE 128-bit case, which had a default value. This default value allowed bugs to creep in, where it was inappropriate.
llvm-svn: 173138
show more ...
|
| #
8d140535 |
| 20-Jan-2013 |
Chris Lattner <[email protected]> |
trivial micro-optimization: lazily call the virtual method instead of eagerly calling it.
llvm-svn: 172953
|
| #
27d38750 |
| 20-Jan-2013 |
Chris Lattner <[email protected]> |
convert the bitstream reader itself and the IR .bc file parser to use the new advance() APIs, simplifying things and making a bunch of details more private to BitstreamCursor.
llvm-svn: 172947
|
| #
ab770174 |
| 19-Jan-2013 |
Chris Lattner <[email protected]> |
Add a new BitstreamEntry concept, and add two helper methods for walking through a BitstreamCursor that produce it: advance() and advanceSkippingSubblocks(), representing the two most common ways cl
Add a new BitstreamEntry concept, and add two helper methods for walking through a BitstreamCursor that produce it: advance() and advanceSkippingSubblocks(), representing the two most common ways clients want to walk through bitcode.
llvm-svn: 172919
show more ...
|
| #
59c3abc6 |
| 19-Jan-2013 |
Chris Lattner <[email protected]> |
BitstreamReader hasn't aged well. It's been hacked on by various people and has past the point of making sense. Lets tidy things up: first step, moving a ton of big functions out of line.
llvm-svn
BitstreamReader hasn't aged well. It's been hacked on by various people and has past the point of making sense. Lets tidy things up: first step, moving a ton of big functions out of line.
llvm-svn: 172904
show more ...
|
| #
3b65187d |
| 09-Jan-2013 |
Bill Wendling <[email protected]> |
Revert s/Raw/getBitMask/g name change. This is possibly causing LTO test hangings.
llvm-svn: 172020
|
| #
9fb823bb |
| 02-Jan-2013 |
Chandler Carruth <[email protected]> |
Move all of the header files which are involved in modelling the LLVM IR into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long
Move all of the header files which are involved in modelling the LLVM IR into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM.
There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier.
The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today.
I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something).
I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily.
llvm-svn: 171366
show more ...
|
| #
3e4c4c96 |
| 30-Dec-2012 |
Bill Wendling <[email protected]> |
s/Raw/getBitMask/g to be more in line with current naming conventions. This method won't be sticking around.
llvm-svn: 171244
|
|
Revision tags: llvmorg-3.2.0 |
|
| #
3d7b0b8a |
| 19-Dec-2012 |
Bill Wendling <[email protected]> |
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future.
llvm-svn: 170502
|
| #
65f1435a |
| 09-Dec-2012 |
Michael Ilseman <[email protected]> |
Reorganize FastMathFlags to be a wrapper around unsigned, and streamline some interfaces.
llvm-svn: 169712
|
| #
6d2ffa18 |
| 09-Dec-2012 |
Michael Ilseman <[email protected]> |
Have the bitcode reader/writer just use FPMathOperator's fast math enum directly
llvm-svn: 169710
|
| #
e94d843e |
| 07-Dec-2012 |
Bill Wendling <[email protected]> |
s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future.
llvm-svn: 169651
|
|
Revision tags: llvmorg-3.2.0-rc3 |
|
| #
ed0881b2 |
| 03-Dec-2012 |
Chandler Carruth <[email protected]> |
Use the new script to sort the includes of every file under lib.
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module
Use the new script to sort the includes of every file under lib.
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented.
Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =]
llvm-svn: 169131
show more ...
|
|
Revision tags: llvmorg-3.2.0-rc2 |
|
| #
706d3d66 |
| 28-Nov-2012 |
Bill Wendling <[email protected]> |
Add back support for reading and parsing 'deplibs'.
This is for backwards compatibility for pre-3.x bc files. The code reads the code, but does nothing with it.
llvm-svn: 168779
|
| #
ee5984df |
| 27-Nov-2012 |
Bill Wendling <[email protected]> |
Remove the dependent libraries feature.
The dependent libraries feature was never used and has bit-rotted. Remove it.
llvm-svn: 168694
|