#
377496bb |
| 23-Aug-2013 |
Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> |
Add function attribute 'optnone'.
This function attribute indicates that the function is not optimized by any optimization or code generator passes with the exception of interprocedural optimizatio
Add function attribute 'optnone'.
This function attribute indicates that the function is not optimized by any optimization or code generator passes with the exception of interprocedural optimization passes.
llvm-svn: 189101
show more ...
|
#
0a8e12fd |
| 26-Jul-2013 |
Tobias Grosser <tobias@grosser.es> |
Make .bc en/decoding of AttrKind stable
The bitcode representation attribute kinds are encoded into / decoded from should be independent of the current set of LLVM attributes and their position in t
Make .bc en/decoding of AttrKind stable
The bitcode representation attribute kinds are encoded into / decoded from should be independent of the current set of LLVM attributes and their position in the AttrKind enum. This patch explicitly encodes attributes to fixed bitcode values.
With this patch applied, LLVM does not silently misread attributes written by LLVM 3.3. We also enhance the decoding slightly such that an error message is printed if an unknown AttrKind encoding was dected.
Bonus: Dropping bitcode attributes from AttrKind is now easy, as old AttrKinds do not need to be kept to support the Bitcode reader. llvm-svn: 187186
show more ...
|
Revision tags: llvmorg-3.3.1-rc1, llvmorg-3.3.0, llvmorg-3.3.0-rc3 |
|
#
534d3a46 |
| 24-May-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove the Copied parameter from MemoryObject::readBytes.
There was exactly one caller using this API right, the others were relying on specific behavior of the default implementation. Since it's to
Remove the Copied parameter from MemoryObject::readBytes.
There was exactly one caller using this API right, the others were relying on specific behavior of the default implementation. Since it's too hard to use it right just remove it and standardize on the default behavior.
Defines away PR16132.
llvm-svn: 182636
show more ...
|
Revision tags: llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1 |
|
#
3238fb75 |
| 05-May-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Add ArrayRef constructor from None, and do the cleanups that this constructor enables
Patch by Robert Wilhelm.
llvm-svn: 181138
|
#
0dc08915 |
| 12-Feb-2013 |
Bill Wendling <isanbard@gmail.com> |
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 <isanbard@gmail.com> |
Use a std::map so that we record the group ID.
llvm-svn: 174910
|
#
d688bab5 |
| 11-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[tsan/msan] adding thread_safety and uninitialized_checks attributes
llvm-svn: 174864
|
#
ba629335 |
| 10-Feb-2013 |
Bill Wendling <isanbard@gmail.com> |
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 <jabbey@arxan.com> |
Code Custodian (trivial whitespace cleanup)
llvm-svn: 174550
|
#
27e7ef32 |
| 05-Feb-2013 |
Michael Gottesman <mgottesman@apple.com> |
Added LLVM Asm/Bitcode Reader/Writer support for new IR keyword externally_initialized.
llvm-svn: 174340
|
#
56aeccce |
| 04-Feb-2013 |
Bill Wendling <isanbard@gmail.com> |
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 <isanbard@gmail.com> |
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 <isanbard@gmail.com> |
Use the AttributeSet instead of AttributeWithIndex object.
llvm-svn: 173598
|
#
57625a49 |
| 25-Jan-2013 |
Bill Wendling <isanbard@gmail.com> |
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 <Tim.Northover@arm.com> |
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 <sabre@nondot.org> |
trivial micro-optimization: lazily call the virtual method instead of eagerly calling it.
llvm-svn: 172953
|
#
27d38750 |
| 20-Jan-2013 |
Chris Lattner <sabre@nondot.org> |
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 <sabre@nondot.org> |
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 <sabre@nondot.org> |
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 <isanbard@gmail.com> |
Revert s/Raw/getBitMask/g name change. This is possibly causing LTO test hangings.
llvm-svn: 172020
|
#
9fb823bb |
| 02-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
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 <isanbard@gmail.com> |
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 <isanbard@gmail.com> |
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 <milseman@apple.com> |
Reorganize FastMathFlags to be a wrapper around unsigned, and streamline some interfaces.
llvm-svn: 169712
|
#
6d2ffa18 |
| 09-Dec-2012 |
Michael Ilseman <milseman@apple.com> |
Have the bitcode reader/writer just use FPMathOperator's fast math enum directly
llvm-svn: 169710
|