add new apis for getting/setting !dbg metadata on
authorChris Lattner <sabre@nondot.org>
Wed, 31 Mar 2010 03:34:40 +0000 (03:34 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 31 Mar 2010 03:34:40 +0000 (03:34 +0000)
commit870cfcf9a6189b65a8ee805b93a2c737c0183e62
treeb9af4814e3f7a7b952fa656e18144b5dbb3457db
parentd363b4ebc7a98483437a5a88aba01dd9facdcd01
add new apis for getting/setting !dbg metadata on
instructions.  In addition to being a convenience,
they are faster than the old apis, particularly when
not going from an MDKindID like people should be
doing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99982 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Instruction.h
include/llvm/Support/ValueHandle.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/VMCore/Metadata.cpp