llvm/include
Duncan P. N. Exon Smith 9ed44978ef IR: MDNode => Value: Add Instruction::getMDNode()
Add `Instruction::getMDNode()` that casts to `MDNode` before changing
`Instruction::getMetadata()` to return `Value`.  This avoids adding
`cast_or_null<MDNode>` boiler-plate throughout the code.

Part of PR21433.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221023 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-31 23:58:04 +00:00
..
llvm IR: MDNode => Value: Add Instruction::getMDNode() 2014-10-31 23:58:04 +00:00
llvm-c [C API] PR19859: Add functions to query and modify branches. 2014-10-28 19:46:56 +00:00