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)
commitcb3de0bc800d7920087b19bb12a545d4cc84114e
treecbd5a447bcc1d11449532b3c92119f26eeb5a815
parenta239c2e6a7775e890bcfb0867b84e512ceb993de
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165917 91177308-0d34-0410-b5e6-96231b3b80d8
21 files changed:
include/llvm/Attributes.h
include/llvm/Function.h
include/llvm/Instructions.h
include/llvm/Intrinsics.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp
lib/Transforms/IPO/DeadArgumentElimination.cpp
lib/Transforms/IPO/FunctionAttrs.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/IPO/PruneEH.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/Scalar/ObjCARC.cpp
lib/Transforms/Scalar/SimplifyLibCalls.cpp
lib/Transforms/Utils/BuildLibCalls.cpp
lib/VMCore/Attributes.cpp
lib/VMCore/AutoUpgrade.cpp
lib/VMCore/Core.cpp
lib/VMCore/Function.cpp
lib/VMCore/Verifier.cpp
utils/TableGen/IntrinsicEmitter.cpp