OSDN Git Service

IR: MDNode => Value: Instruction::getAllMetadata()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 1 Nov 2014 00:26:42 +0000 (00:26 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 1 Nov 2014 00:26:42 +0000 (00:26 +0000)
commitb2187ede9e234c5abd264fca1bfc18882d8f0d85
treed02cade390854f167862f4cdce038deb0a5ba088
parent3a84a6377c08c0c1139e689be91fac5109208a9f
IR: MDNode => Value: Instruction::getAllMetadata()

Change `Instruction::getAllMetadata()` to modify a vector of `Value`
instead of `MDNode` and update call sites.  This is part of PR21433.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221027 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instruction.h
lib/IR/AsmWriter.cpp
lib/IR/Metadata.cpp
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
lib/Transforms/Utils/ValueMapper.cpp