Add convenience methods to MDBuilder for attaching metadata to instructions,
authorDuncan Sands <baldrick@free.fr>
Mon, 16 Apr 2012 13:21:26 +0000 (13:21 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 16 Apr 2012 13:21:26 +0000 (13:21 +0000)
commit656dc6260654a7fa29d223bcaf6aae048669c72d
tree1e349aef8f9097ad085efb363e5562cac74b5df3
parent05bc5087a25bbcf59936d71ebfc878b545ef3e5c
Add convenience methods to MDBuilder for attaching metadata to instructions,
and retrieving it from instructions.  I don't have a use for this but is seems
logical for it to exist.  While there, remove some 'const' markings from methods
which are in fact 'const' in practice, but aren't logically 'const'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154811 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/MDBuilder.h