summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/AttributeImpl.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename VMCore directory to IR.Chandler Carruth2013-01-021-113/+0
| | | | | | | | | | | | | | | | | | 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) llvm-svn: 171359
* Remove the Function::getFnAttributes method in favor of using the AttributeSetBill Wendling2012-12-301-1/+1
| | | | | | | | | directly. This is in preparation for removing the use of the 'Attribute' class as a collection of attributes. That will shift to the AttributeSet class instead. llvm-svn: 171253
* Add a few more c'tors:Bill Wendling2012-12-301-5/+17
| | | | | | | | | | | | | | | * One that accepts a single Attribute::AttrKind. * One that accepts an Attribute::AttrKind plus a list of values. This is for attributes defined like this: #1 = attributes { align = 4 } * One that accepts a string, for target-specific attributes like this: #2 = attributes { "cpu=cortex-a8" } llvm-svn: 171249
* Add a few (as yet unused) query methods to determine if the attribute that'sBill Wendling2012-12-301-0/+17
| | | | | | | stored here is of a certain kind. This is in preparation for when an Attribute object represents a single attribute, instead of a bitmask of attributes. llvm-svn: 171247
* Uniquify the AttributeImpl based on the Constant pointer, since those areBill Wendling2012-12-301-1/+3
| | | | | | | | | already uniquified. Note: This will be expanded in the future to add more than just one pointer value. llvm-svn: 171245
* s/Raw/getBitMask/g to be more in line with current naming conventions. This ↵Bill Wendling2012-12-301-2/+2
| | | | | | method won't be sticking around. llvm-svn: 171244
* Use a 'Constant' object instead of a bit field to store the attribute data.Bill Wendling2012-12-291-7/+6
| | | | llvm-svn: 171221
* Some random comment, naming, and format changes.Bill Wendling2012-12-201-4/+13
| | | | | | | Rename the AttributeImpl* from Attrs to pImpl to be consistent with other code. Add comments where none were before. Or doxygen-ify other comments. llvm-svn: 170767
* s/AttributesImpl/AttributeImpl/g This is going to apply to Attribute, not ↵Bill Wendling2012-12-201-0/+74
Attributes. llvm-svn: 170631
OpenPOWER on IntegriCloud