summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AttributeImpl.h
Commit message (Collapse)AuthorAgeFilesLines
...
* In the AttributeSetImpl c'tor, fill in the AttrNodes data structure with the ↵Bill Wendling2013-01-271-4/+2
| | | | | | attributes being passed in. llvm-svn: 173618
* Remove some introspection functions.Bill Wendling2013-01-251-0/+6
| | | | | | | | 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
* Add an accessor method to get the slot's index. This will limit the use of ↵Bill Wendling2013-01-251-0/+4
| | | | | | AttributeWithIndex. llvm-svn: 173495
* Add a profile for uniquifying the AttributeSet with the AttributeSetNodes.Bill Wendling2013-01-241-1/+14
| | | | llvm-svn: 173313
* Create a new class: AttributeSetNode.Bill Wendling2013-01-241-1/+34
| | | | | | | | | | 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. llvm-svn: 173310
* Remove dead methods.Bill Wendling2013-01-231-3/+0
| | | | llvm-svn: 173302
* Make AttributeSet::getFnAttributes() return an AttributeSet instead of an ↵Bill Wendling2013-01-211-0/+2
| | | | | | | | | 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. llvm-svn: 173094
* Revert s/Raw/getBitMask/g name change. This is possibly causing LTO test ↵Bill Wendling2013-01-091-2/+2
| | | | | | hangings. llvm-svn: 172020
* Add the integer value of the ConstantInt instead of the Constant* value.Bill Wendling2013-01-091-6/+1
| | | | | | This is causing some problems. The root cause is unknown at this time. llvm-svn: 171923
* Rough out a new c'tor for the AttrBuilder class.Bill Wendling2013-01-071-3/+1
| | | | | | | | 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. llvm-svn: 171712
* Add a method to create an AttributeSet from an AttrBuilder.Bill Wendling2013-01-051-0/+4
| | | | | | | | 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. llvm-svn: 171586
* General cleanups.Bill Wendling2013-01-041-27/+20
| | | | | | | | | | * Remove dead methods. * Use the 'operator==' method instead of 'contains', which isn't needed. * Fix some comments. No functionality change. llvm-svn: 171523
* Revert everything to r171366 to try to fix the build.Bill Wendling2013-01-031-2/+2
| | | | llvm-svn: 171450
* Try again to revert the bad patch. The tree was reverted for some unknown reasonBill Wendling2013-01-031-4/+15
| | | | | | | | | | | before the last time. --- Reverse-merging r171442 into '.': U include/llvm/IR/Attributes.h U lib/IR/Attributes.cpp U lib/IR/AttributeImpl.h llvm-svn: 171448
* Remove the 'contains' methods in favor of the 'operator==' method.Bill Wendling2013-01-031-15/+4
| | | | | | | 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. llvm-svn: 171442
* Make the type signature more strict.Bill Wendling2013-01-031-2/+2
| | | | llvm-svn: 171434
* Move all of the header files which are involved in modelling the LLVM IRChandler Carruth2013-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
* Rename VMCore directory to IR.Chandler Carruth2013-01-021-0/+113
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
OpenPOWER on IntegriCloud