llvm-6502/tools/opt
Duncan P. N. Exon Smith bad06b13ba IR: MDNode => Value: NamedMDNode::getOperator()
Change `NamedMDNode::getOperator()` from returning `MDNode *` to
returning `Value *`.  To reduce boilerplate at some call sites, add a
`getOperatorAsMDNode()` for named metadata that's expected to only
return `MDNode` -- for now, that's everything, but debug node named
metadata (such as llvm.dbg.cu and llvm.dbg.sp) will soon change.  This
is part of PR21433.

Note that there's a follow-up patch to clang for the API change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221375 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-05 18:16:03 +00:00
..
AnalysisWrappers.cpp
BreakpointPrinter.cpp IR: MDNode => Value: NamedMDNode::getOperator() 2014-11-05 18:16:03 +00:00
BreakpointPrinter.h
CMakeLists.txt
GraphPrinters.cpp
LLVMBuild.txt
Makefile
NewPMDriver.cpp
NewPMDriver.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
opt.cpp Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
Passes.cpp
Passes.h
PassPrinters.cpp
PassPrinters.h
PassRegistry.def
PrintSCC.cpp SCC: Change clients to use const, NFC 2014-04-25 18:24:50 +00:00