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)
commit956f13440a4aa0297606a4412f4aa091d931592a
tree9f6f5438f51c7f91338256e9949a5588d575971c
parente72fac60e3dbcf14ec68cedc1e86feafec1652eb
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172844 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Attributes.h
lib/IR/Attributes.cpp
lib/IR/Verifier.cpp
lib/Transforms/IPO/ArgumentPromotion.cpp
lib/Transforms/IPO/DeadArgumentElimination.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/Utils/CloneFunction.cpp