Attributes Rewrite
authorBill Wendling <isanbard@gmail.com>
Mon, 15 Oct 2012 04:46:55 +0000 (04:46 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 15 Oct 2012 04:46:55 +0000 (04:46 +0000)
commitd079a446d71b9505e9e878b6f466072095dae32e
treee6e0550870fb6b940dcb99f61b28f10a74259789
parent40b6fac36c691357e402c0bf0d0d78f1fcd8df4c
Attributes Rewrite

Convert the internal representation of the Attributes class into a pointer to an
opaque object that's uniqued by and stored in the LLVMContext object. The
Attributes class then becomes a thin wrapper around this opaque
object. Eventually, the internal representation will be expanded to include
attributes that represent code generation options, etc.

llvm-svn: 165917
21 files changed:
llvm/include/llvm/Attributes.h
llvm/include/llvm/Function.h
llvm/include/llvm/Instructions.h
llvm/include/llvm/Intrinsics.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp
llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
llvm/lib/Transforms/IPO/FunctionAttrs.cpp
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/lib/Transforms/IPO/PruneEH.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/lib/Transforms/Scalar/ObjCARC.cpp
llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
llvm/lib/Transforms/Utils/BuildLibCalls.cpp
llvm/lib/VMCore/Attributes.cpp
llvm/lib/VMCore/AutoUpgrade.cpp
llvm/lib/VMCore/Core.cpp
llvm/lib/VMCore/Function.cpp
llvm/lib/VMCore/Verifier.cpp
llvm/utils/TableGen/IntrinsicEmitter.cpp