Push some more methods down to hide the use of the Attribute class.
authorBill Wendling <isanbard@gmail.com>
Fri, 18 Jan 2013 21:11:39 +0000 (21:11 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 18 Jan 2013 21:11:39 +0000 (21:11 +0000)
commit775438952693c261bf1b5a85143dea4f5852dcdf
treefa8e7f5c9677bc1375634402ce35a98c2c98160f
parent8bee90d5f33f49d4ebcb89aac780916fe3bfc65d
Push some more methods down to hide the use of the Attribute class.

Because the Attribute class is going to stop representing a collection of
attributes, limit the use of it as an aggregate in favor of using AttributeSet.
This replaces some of the uses for querying the function attributes.

llvm-svn: 172844
llvm/include/llvm/IR/Attributes.h
llvm/lib/IR/Attributes.cpp
llvm/lib/IR/Verifier.cpp
llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/lib/Transforms/Utils/CloneFunction.cpp