rename getMDKind -> getMDKindID, make it autoinsert if an MD Kind
authorChris Lattner <sabre@nondot.org>
Mon, 28 Dec 2009 20:45:51 +0000 (20:45 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 28 Dec 2009 20:45:51 +0000 (20:45 +0000)
commit0eb419800ae51d6e0e00a656ede0627483755361
tree11dc009d755eda2b02147fc4be338d0912bce39c
parent7d05c46d601cbb52be605019548c34286c02e3a3
rename getMDKind -> getMDKindID, make it autoinsert if an MD Kind
doesn't exist already, eliminate registerMDKind.  Tidy up a bunch
of random stuff.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92225 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Metadata.h
include/llvm/Support/IRBuilder.h
lib/Analysis/DebugInfo.cpp
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Transforms/IPO/StripSymbols.cpp
lib/Transforms/Utils/CloneFunction.cpp
lib/VMCore/Metadata.cpp