OSDN Git Service

Final step in the metadata API restructuring: move the
authorChris Lattner <sabre@nondot.org>
Tue, 29 Dec 2009 09:01:33 +0000 (09:01 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Dec 2009 09:01:33 +0000 (09:01 +0000)
commit081134741b40b342fb2f85722c9cea5d412489a8
tree73cd43fda7814ed745c3c31de92ff8c7bbf93721
parente3e38ea9fb70cbd8cc33111589c92c0a61674679
Final step in the metadata API restructuring: move the
getMDKindID/getMDKindNames methods to LLVMContext (and add
convenience methods to Module), eliminating MetadataContext.
Move the state that it maintains out to LLVMContext.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92259 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
include/llvm/Instruction.h
include/llvm/LLVMContext.h
include/llvm/Metadata.h
include/llvm/Module.h
include/llvm/Value.h
lib/Analysis/DebugInfo.cpp
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Reader/BitcodeReader.h
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Transforms/IPO/StripSymbols.cpp
lib/Transforms/Utils/CloneFunction.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/IRBuilder.cpp
lib/VMCore/LLVMContext.cpp
lib/VMCore/LLVMContextImpl.h
lib/VMCore/Metadata.cpp
lib/VMCore/Module.cpp