History log of /external/llvm/lib/IR/AttributeImpl.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/lib/IR/AttributeImpl.h
354362524a72b3fa43a6c09380b7ae3b2380cbba 19-Nov-2013 Juergen Ributzka <juergen@apple.com> [weak vtables] Remove a bunch of weak vtables

This patch removes most of the trivial cases of weak vtables by pinning them to
a single object file. The memory leaks in this version have been fixed. Thanks
Alexey for pointing them out.

Differential Revision: http://llvm-reviews.chandlerc.com/D2068

Reviewed by Andy

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
b21ab43cfc3fa0dacf5c95f04e58b6d804b59a16 18-Nov-2013 Alexey Samsonov <samsonov@google.com> Revert r194865 and r194874.

This change is incorrect. If you delete virtual destructor of both a base class
and a subclass, then the following code:
Base *foo = new Child();
delete foo;
will not cause the destructor for members of Child class. As a result, I observe
plently of memory leaks. Notable examples I investigated are:
ObjectBuffer and ObjectBufferStream, AttributeImpl and StringSAttributeImpl.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194997 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
5a364c5561ec04e33a6f5d52c14f1bac6f247ea0 15-Nov-2013 Juergen Ributzka <juergen@apple.com> [weak vtables] Remove a bunch of weak vtables

This patch removes most of the trivial cases of weak vtables by pinning them to
a single object file.

Differential Revision: http://llvm-reviews.chandlerc.com/D2068

Reviewed by Andy

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194865 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
55c06ae7afa3f862a6bb4a4441fe485c135f5b5e 11-Sep-2013 Benjamin Kramer <benny.kra@googlemail.com> Revert "Give internal classes hidden visibility."

It works with clang, but GCC has different rules so we can't make all of those
hidden. This reverts commit r190534.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190536 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
15f387c93ef8d5c23f110143996c8b9b4a089864 11-Sep-2013 Benjamin Kramer <benny.kra@googlemail.com> Give internal classes hidden visibility.

Worth 100k on a linux/x86_64 Release+Asserts clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190534 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
40bacacad3dac9eb5202193f685719d0f37d7f4a 03-Aug-2013 Peter Collingbourne <peter@pcc.me.uk> Add a AttributeSetImpl::dump function.

This is for the benefit of those of us with inferior debuggers which
do not permit member function calls on value types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
7bba9c5c0a5235f585ee4bd3efec29e0982de3f8 03-Aug-2013 Peter Collingbourne <peter@pcc.me.uk> Make one of the AttributeSet ctors maintain the invariant that the
attribute list is ordered by index.

Differential Revision: http://llvm-reviews.chandlerc.com/D1265

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
e22cde01a63c907cb23f425ba4f4f16ede754dbe 11-Jul-2013 Benjamin Kramer <benny.kra@googlemail.com> Reduce the number of indirections in the attributes implementation.

- Coallocate entires for AttributeSetImpls and Nodes after the class itself.
- Remove mutable iterators from immutable classes.
- Remove unused context field from AttributeImpl.
- Derive Enum/Align/String attribute implementations from AttributeImpl instead
of having a whole new inheritance tree for them.
- Derive AlignAttributeImpl from EnumAttributeImpl.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
aae0298921d946a64385052ce6e678d36f936fb3 01-May-2013 Rafael Espindola <rafael.espindola@gmail.com> Now that the underlying issue is fixed, revert r180750 and r180722.

The cause of the windows failures was fixed by r180791. Revert to the state
after Sabre's original revert.

Original message:

revert r179735, it has no testcases, and doesn't really make sense.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180844 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
76f103e02164d27b41bd92a9767c7012482ba31a 30-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Change getSlotIndex to return unsigned.

The actual storage was already using unsigned, but the interface was using
uint64_t. This is wasteful on 32 bits and looks to be the root causes of
a miscompilation on Windows where a value was being sign extended to 64bits
to compare with the result of getSlotIndex.

Patch by Pasi Parviainen!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
f2e83499fcc41484cb5dac073c4fe87525926d2b 29-Apr-2013 Reid Kleckner <reid@kleckner.net> Revert "revert r179735, it has no testcases, and doesn't really make sense."

This un-reverts r179735 and reverts commit r180574.

This fixes assertion failures for me locally and should fix the failures
on Windows reported widely on llvm-dev. We should check if the bots
caught this and if so why not.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180722 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
29fce9ad39636d38f43add5d7c23e83d9d1cc249 25-Apr-2013 Chris Lattner <sabre@nondot.org> revert r179735, it has no testcases, and doesn't really make sense.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180574 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
8a6a7bb6a601061031cddd77129532a3b467300b 18-Apr-2013 Bill Wendling <isanbard@gmail.com> Cleanup patch:

Semantics of parameters named Index and Idx were inconsistent between
"include/llvm/IR/Attributes.h", "lib/IR/AttributeImpl.h" and
"lib/IR/Attributes.cpp": sometimes these were fixed 1-based indexes of IR
parameters (or AttributeSet::ReturnIndex for IR return values or
AttributeSet::FunctionIndex for IR functions), other times they were the
internal slot for storage in the underlying AttributeSetImpl. I renamed usage of
the former to "Index" and usage of the latter to "Slot" ("Slot" was already
being used consistently for the latter in a subset of cases)

Patch by Stephen Lin!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
b1ac6e617291e2a628bc460933bde97c73466cb0 18-Apr-2013 Bill Wendling <isanbard@gmail.com> Add an option `-enable-old-style-attr-syntax' to print out function attributes in the "old" style.

It's sometimes beneficial to emit a testcase with the old style attribute
syntax. Allow someone to do this.
<rdar://problem/13563209>


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
40c81fe501ac99ff3f3ec004ce9e5a526d07e441 28-Feb-2013 Bill Wendling <isanbard@gmail.com> Don't add the 'Value' string if there isn't one.

This was causing the folding set to fail to fold attributes, because it was
being calculated in one spot without an empty values string but here with an
empty values string.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
0e9d5d059c4aa959e9ef4dff011dbd38d45a1016 13-Feb-2013 Bill Wendling <isanbard@gmail.com> Add some accessor and query methods for retrieving Attribute objects and such.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175046 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
b29ce26ea60f7516c853318ffbfc107fde9ad897 11-Feb-2013 Bill Wendling <isanbard@gmail.com> Add support for printing out the attribute groups.

This emits the attribute groups that are used by the functions. (It currently
doesn't print out return type or parameter attributes within attribute groups.)

Note: The functions still retrieve their attributes from the "old" bitcode
format (using the deprecated 'Raw()' method). This means that string attributes
within an attribute group will not show up during a disassembly. This will be
addressed in a future commit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174867 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
60309e17a3a86756f7a1bbaca409159733586f2d 06-Feb-2013 Craig Topper <craig.topper@gmail.com> Remove unused private field to suppress a build warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174491 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
8c74ecfbddabe89e150abff4fdff0a27108874b9 05-Feb-2013 Bill Wendling <isanbard@gmail.com> Convert to storing the attribute's internals as enums, integers, and strings.

The stuff we're handing are all enums (Attribute::AttrKind), integers and
strings. Don't convert them to Constants, which is an unnecessary step here. The
rest of the changes are mostly mechanical.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174456 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
bdcbccc710a0528b4abce947782fd502bafb848d 02-Feb-2013 Bill Wendling <isanbard@gmail.com> Use the AttributeSet's iterators.

Use the AttributeSet's iterators in AttrBuilder::hasAttributes() when
determining of the intersection of the AttrBuilder and AttributeSet is non-null.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
5a4041e7282ca1dba93fe1a97c8260c0ef621f5d 01-Feb-2013 Bill Wendling <isanbard@gmail.com> Change the AttributeImpl to hold a single Constant* for the values.

This Constant could be an aggregate to represent multiple values.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174228 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
7beee2876795098d2e2f31ecc2ca29fa7640a8eb 01-Feb-2013 Bill Wendling <isanbard@gmail.com> Remove some dead code, improve some asserts, and other assorted changes. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
f715dbd263149efeb9c684dfdb0637cf84f94399 01-Feb-2013 Bill Wendling <isanbard@gmail.com> Remove one of the odious 'Raw' methods.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
169d5270751597aed4095ead00401a3374906147 01-Feb-2013 Bill Wendling <isanbard@gmail.com> Remove the AttrBuilder form of the Attribute::get creators.

The AttrBuilder is for building a collection of attributes. The Attribute object
holds only one attribute. So it's not really useful for the Attribute object to
have a creator which takes an AttrBuilder.

This has two fallouts:

1. The AttrBuilder no longer holds its internal attributes in a bit-mask form.
2. The attributes are now ordered alphabetically (hence why the tests have changed).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174110 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
14292a6be51ab57ff425ff263d4134fe46d082c4 31-Jan-2013 Bill Wendling <isanbard@gmail.com> Add support for emitting a string attribute.

Attributes that are strings are typically target-dependent attributes. They are
of this form in the IR:

"attr"
"attr" = "val"


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
82aea644c6d2a21464958fe2e3a1cd0f6bfc82db 31-Jan-2013 Bill Wendling <isanbard@gmail.com> Remove the Attribute::hasAttributes() function.

That function doesn't make sense anymore because there's only one attribute per
Attribute object now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
eddab1550ee10cce3bb26a26e88529cb19451aa3 31-Jan-2013 NAKAMURA Takumi <geek4civic@gmail.com> Revert r174026, "Remove Attribute::hasAttributes() and make Attribute::hasAttribute() private."

It broke many hosts to crash.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
85238aae1a4b6ac67e16560a9855944191f3db5b 31-Jan-2013 Bill Wendling <isanbard@gmail.com> Remove Attribute::hasAttributes() and make Attribute::hasAttribute() private.

The Attribute::hasAttributes() is kind of meaningless since an Attribute can
have only one attribute. And we would rather people use the 'operator=='
instead of Attribute::hasAttribute().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174026 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
9f175f88190fae22df9c6e68af618d0493477ff9 29-Jan-2013 Bill Wendling <isanbard@gmail.com> s/Data/Kind/g. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173827 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
606c8e36dfdd28fc589356addd3e2cbb89a32e4d 29-Jan-2013 Bill Wendling <isanbard@gmail.com> Convert getAttributes() to return an AttributeSetNode.

The AttributeSetNode contains all of the attributes. This removes one (hopefully
last) use of the Attribute class as a container of multiple attributes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173761 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
c22f4aa886443507f8406d30d118fdeeac6a8c6c 29-Jan-2013 Bill Wendling <isanbard@gmail.com> Reorder some functions and add comments. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173733 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
6bdbf061c353295669b6bfc271b948158602d1bc 28-Jan-2013 Bill Wendling <isanbard@gmail.com> Try to appease some broken compilers by using 'unsigned' instead of 'uint64_t'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173725 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
87e10dfefa94f77937c37b0eb51095540d675cbc 28-Jan-2013 Bill Wendling <isanbard@gmail.com> Remove the AttributeWithIndex class.

The AttributeWithIndex class exposed the interior structure of the AttributeSet
class. That was gross. Remove it and all of the code that relied upon it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173722 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
73bc452bcd63620daefb0a3bc613746af7418076 28-Jan-2013 Bill Wendling <isanbard@gmail.com> Remove a use of AttributeWithIndex.

We want to remove AttributeWithIndex because it provides a non-encapsulated view
of the AttributeSetImpl object. Instead, use accessor methods and iterators.

Eventually, this code can be simplified because the Attribute object will hold
only one attribute instead of multiple attributes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173641 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
5f33912f91ec2673545a5e000cc7bf7a0ecccdbd 28-Jan-2013 Bill Wendling <isanbard@gmail.com> Use proper return type for attribute index.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
d05204aea4977eaec25e96bc7605a7bb9d806fc0 28-Jan-2013 Bill Wendling <isanbard@gmail.com> Push the calculation of the 'Raw' attribute mask down into the implementation. It in turn uses the correct list for calculating the 'Raw' value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
1cc0d5a4311c2d4bc01051561549390307b789a1 27-Jan-2013 Bill Wendling <isanbard@gmail.com> Privitize some the copy c'tor and assignment operator of uniquified objects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
893eac1648151ca42e3d0f9e9da092d817c9f8ba 27-Jan-2013 Bill Wendling <isanbard@gmail.com> Add some helpful comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173631 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
a5372d270864316fb0752dd366f03fc1b45c6143 27-Jan-2013 Bill Wendling <isanbard@gmail.com> Start using more of the AttrNode in the AttributeSetImpl class.

Also add some asserts.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173627 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
6a325cc46db9cb0c631ac832474e5df039d04b19 27-Jan-2013 Bill Wendling <isanbard@gmail.com> In the AttributeSetImpl c'tor, fill in the AttrNodes data structure with the attributes being passed in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
8e47daf2858e980210f3e1f007036b24da342c29 26-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 instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173522 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
e1f95db4803a48a30fc2a1d5868281a87a36fb85 25-Jan-2013 Bill Wendling <isanbard@gmail.com> Add an accessor method to get the slot's index. This will limit the use of AttributeWithIndex.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173495 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
bb08593980b16fbd9758da6ca4fa9c7964f2f926 24-Jan-2013 Bill Wendling <isanbard@gmail.com> Add a profile for uniquifying the AttributeSet with the AttributeSetNodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173313 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
3467e30edf63b6d8a8d446186674ba9e4b7885a9 24-Jan-2013 Bill Wendling <isanbard@gmail.com> Create a new class: AttributeSetNode.

This is a helper class for the AttributeSetImpl class. It holds a set of
attributes that apply to a single element: function, return type, or
parameter.

These are uniqued.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173310 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
2915a691b9eecde508948d4300428860d1655175 23-Jan-2013 Bill Wendling <isanbard@gmail.com> Remove dead methods.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173302 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
c5f1bc88a2eb7ad9ff924ca90cf88494e5f947b9 21-Jan-2013 Bill Wendling <isanbard@gmail.com> Make AttributeSet::getFnAttributes() return an AttributeSet instead of an Attribute.

This is more code to isolate the use of the Attribute class to that of just
holding one attribute instead of a collection of attributes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173094 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
1db9b6957c2565a2322206bd5907530895f1c7ac 10-Jan-2013 Bill Wendling <isanbard@gmail.com> Revert s/Raw/getBitMask/g name change. This is possibly causing LTO test hangings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
ff887165bc221c0398c0d4404dc0b22de216dedf 09-Jan-2013 Bill Wendling <isanbard@gmail.com> Add the integer value of the ConstantInt instead of the Constant* value.

This is causing some problems. The root cause is unknown at this time.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
a90a99a82b9c5c39fc6dbee9c266dcd7b107fe2f 07-Jan-2013 Bill Wendling <isanbard@gmail.com> Rough out a new c'tor for the AttrBuilder class.

This c'tor takes the AttributeSet class as the parameter. It will eventually
grab the attributes from the specified index and create a new attribute builder
with those attributes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
1bbd644301ed4d8a7efd4ceb15f71c56fa914f28 05-Jan-2013 Bill Wendling <isanbard@gmail.com> Add a method to create an AttributeSet from an AttrBuilder.

The Attribute class is eventually going to represent one attribute. So we need
this class to create the set of attributes. Add some iterator methods to the
builder to access its internal bits in a nice way.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171586 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
60507d53e7e8e6b0c537675f68204a93c3033de7 04-Jan-2013 Bill Wendling <isanbard@gmail.com> General cleanups.

* Remove dead methods.
* Use the 'operator==' method instead of 'contains', which isn't needed.
* Fix some comments.

No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
e5ab1bee8c1b4ae58bc108c28194af56379e55ac 03-Jan-2013 Bill Wendling <isanbard@gmail.com> Revert everything to r171366 to try to fix the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
22bd64173981bf1251c4b3bfc684207340534ba3 03-Jan-2013 Bill Wendling <isanbard@gmail.com> Try again to revert the bad patch. The tree was reverted for some unknown reason
before the last time.

--- Reverse-merging r171442 into '.':
U include/llvm/IR/Attributes.h
U lib/IR/Attributes.cpp
U lib/IR/AttributeImpl.h



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171448 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
8351a60d6da4f5cdab80753ad2266085a6fbf62a 03-Jan-2013 Bill Wendling <isanbard@gmail.com> Remove the 'contains' methods in favor of the 'operator==' method.

The 'operator==' method is a bit clearer and much less verbose for somethings
that should have only one value. Remove from the AttrBuilder for consistency.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171442 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
47990e974355dd58d1f320f252e1a7ed3a79e034 03-Jan-2013 Bill Wendling <isanbard@gmail.com> Make the type signature more strict.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
0b8c9a80f20772c3793201ab5b251d3520b9cea3 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 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h
c2c50cdcdc19a1bca993c06d13d8cdca87083ce4 02-Jan-2013 Chandler Carruth <chandlerc@gmail.com> Rename VMCore directory to IR.

Aside from moving the actual files, this patch only updates the build
system and the source file comments under lib/... that are relevant.

I'll be updating other docs and other files in smaller subsequnet
commits.

While I've tried to test this, but it is entirely possible that there
will still be some build system fallout.

Also, note that I've not changed the library name itself: libLLVMCore.a
is still the library name. I'd be interested in others' opinions about
whether we should rename this as well (I think we should, just not sure
what it might break)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171359 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/IR/AttributeImpl.h