#
e94d843e |
| 07-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
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 <chandlerc@gmail.com> |
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 <isanbard@gmail.com> |
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 <isanbard@gmail.com> |
Remove the dependent libraries feature.
The dependent libraries feature was never used and has bit-rotted. Remove it.
llvm-svn: 168694
|
#
ac997e96 |
| 27-Nov-2012 |
Joe Abbey <jabbey@arxan.com> |
Code pretification
llvm-svn: 168661
|
#
9978d7e9 |
| 27-Nov-2012 |
Michael Ilseman <milseman@apple.com> |
Fast-math flags for the bitcode
Added in bitcode enum for the serializing of fast-math flags. Added in the reading/writing of fast-math flags from the OptimizationFlags record for BinaryOps.
llvm-s
Fast-math flags for the bitcode
Added in bitcode enum for the serializing of fast-math flags. Added in the reading/writing of fast-math flags from the OptimizationFlags record for BinaryOps.
llvm-svn: 168646
show more ...
|
#
2ad8df24 |
| 25-Nov-2012 |
Joe Abbey <jabbey@arxan.com> |
Code Custodian: - Widespread trailing space removal - A dash of OCD spacing to block align enums - joined a line that probably needed 80 cols a while back
llvm-svn: 168566
|
#
f86efb9b |
| 20-Nov-2012 |
Bill Wendling <isanbard@gmail.com> |
Make the AttrListPtr object a part of the LLVMContext.
When code deletes the context, the AttributeImpls that the AttrListPtr points to are now invalid. Therefore, instead of keeping a separate mana
Make the AttrListPtr object a part of the LLVMContext.
When code deletes the context, the AttributeImpls that the AttrListPtr points to are now invalid. Therefore, instead of keeping a separate managed static for the AttrListPtrs that's reference counted, move it into the LLVMContext and delete it when deleting the AttributeImpls.
llvm-svn: 168354
show more ...
|
#
5beb3f6e |
| 19-Nov-2012 |
Joe Abbey <jabbey@arxan.com> |
80 cols
llvm-svn: 168318
|
#
26ee2b84 |
| 15-Nov-2012 |
Michael Ilseman <milseman@apple.com> |
Remove trailing whitespace
llvm-svn: 168103
|
Revision tags: llvmorg-3.2.0-rc1 |
|
#
50d27849 |
| 15-Oct-2012 |
Bill Wendling <isanbard@gmail.com> |
Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change.
llvm-svn: 165960
|
#
d079a446 |
| 15-Oct-2012 |
Bill Wendling <isanbard@gmail.com> |
Attributes Rewrite
Convert the internal representation of the Attributes class into a pointer to an opaque object that's uniqued by and stored in the LLVMContext object. The Attributes class then be
Attributes Rewrite
Convert the internal representation of the Attributes class into a pointer to an opaque object that's uniqued by and stored in the LLVMContext object. The Attributes class then becomes a thin wrapper around this opaque object. Eventually, the internal representation will be expanded to include attributes that represent code generation options, etc.
llvm-svn: 165917
show more ...
|
#
506a1c5a |
| 11-Oct-2012 |
Sean Silva <silvas@purdue.edu> |
Remove unnecessary classof()'s
isa<> et al. automatically infer when the cast is an upcast (including a self-cast), so these are no longer necessary.
llvm-svn: 165767
|
#
afaced07 |
| 11-Oct-2012 |
Jan Wen Voung <jvoung@google.com> |
Change encoding of instruction operands in bitcode binaries to be relative to the instruction position. The old encoding would give an absolute ID which counts up within a function, and only resets
Change encoding of instruction operands in bitcode binaries to be relative to the instruction position. The old encoding would give an absolute ID which counts up within a function, and only resets at the next function.
I.e., Instead of having:
... = icmp eq i32 n-1, n-2 br i1 ..., label %bb1, label %bb2
it will now be roughly:
... = icmp eq i32 1, 2 br i1 1, label %bb1, label %bb2
This makes it so that ids remain relatively small and can be encoded in fewer bits.
With this encoding, forward reference operands will be given negative-valued IDs. Use signed VBRs for the most common case of forward references, which is phi instructions.
To retain backward compatibility we bump the bitcode version from 0 to 1 to distinguish between the different encodings.
llvm-svn: 165739
show more ...
|
#
db0dbd88 |
| 04-Oct-2012 |
Bill Wendling <isanbard@gmail.com> |
Use method to query if there are attributes.
llvm-svn: 165213
|
#
e51b9497 |
| 25-Sep-2012 |
Bill Wendling <isanbard@gmail.com> |
Move remaining methods inside the Attributes class. Merge the 'Attribute' namespaces.
llvm-svn: 164631
|
#
736a4fc4 |
| 21-Sep-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
BitcodeReader: Correctly insert blockaddress constant referring to a already parsed function.
We inserted a placeholder that was never replaced because the function was already visited. Assert that
BitcodeReader: Correctly insert blockaddress constant referring to a already parsed function.
We inserted a placeholder that was never replaced because the function was already visited. Assert that all placeholders have been resolved when tearing down the bitcode reader.
Fixes PR13895.
llvm-svn: 164369
show more ...
|
#
a60c0f11 |
| 15-Sep-2012 |
Craig Topper <craig.topper@gmail.com> |
Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.
llvm-svn: 163974
|
#
4717a8d6 |
| 06-Sep-2012 |
Roman Divacky <rdivacky@freebsd.org> |
Dont cast away const needlessly. Found by gcc48 -Wcast-qual.
llvm-svn: 163324
|
#
d8c76107 |
| 05-Sep-2012 |
Chad Rosier <mcrosier@apple.com> |
[ms-inline asm] Enumerate the InlineAsm dialects and rename the nsdialect to inteldialect.
llvm-svn: 163231
|
#
5895edaf |
| 05-Sep-2012 |
Chad Rosier <mcrosier@apple.com> |
Add a FIXME that assumes we maintain backward compatibility until the next major release.
llvm-svn: 163195
|
#
18fcdcfb |
| 05-Sep-2012 |
Chad Rosier <mcrosier@apple.com> |
[ms-inline asm] Add support for the nsdialect keyword in the Bitcode Reader/Writer.
llvm-svn: 163185
|
#
34bc34ec |
| 17-Aug-2012 |
Bill Wendling <isanbard@gmail.com> |
Change the `linker_private_weak_def_auto' linkage to `linkonce_odr_auto_hide' to make it more consistent with its intended semantics.
The `linker_private_weak_def_auto' linkage type was meant to aut
Change the `linker_private_weak_def_auto' linkage to `linkonce_odr_auto_hide' to make it more consistent with its intended semantics.
The `linker_private_weak_def_auto' linkage type was meant to automatically hide globals which never had their addresses taken. It has nothing to do with the `linker_private' linkage type, which outputs the symbols with a `l' (ell) prefix among other things.
The intended semantic is more like the `linkonce_odr' linkage type.
Change the name of the linkage type to `linkonce_odr_auto_hide'. And therefore changing the semantics so that it produces the correct output for the linker.
Note: The old linkage name `linker_private_weak_def_auto' will still parse but is not a synonym for `linkonce_odr_auto_hide'. This should be removed in 4.0. <rdar://problem/11754934>
llvm-svn: 162114
show more ...
|
#
318f03f5 |
| 19-Jul-2012 |
Bill Wendling <isanbard@gmail.com> |
Remove tabs.
llvm-svn: 160479
|
#
cbe34b4c |
| 23-Jun-2012 |
Hans Wennborg <hans@hanshq.net> |
Extend the IL for selecting TLS models (PR9788)
This allows the user/front-end to specify a model that is better than what LLVM would choose by default. For example, a variable might be declared as
Extend the IL for selecting TLS models (PR9788)
This allows the user/front-end to specify a model that is better than what LLVM would choose by default. For example, a variable might be declared as
@x = thread_local(initialexec) global i32 42
if it will not be used in a shared library that is dlopen'ed.
If the specified model isn't supported by the target, or if LLVM can make a better choice, a different model may be used.
llvm-svn: 159077
show more ...
|