llvm-6502/lib/IR
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
..
AsmWriter.cpp IR: MDNode => Value: AsmWriter SlotTracker API 2014-11-05 17:56:28 +00:00
AsmWriter.h
AttributeImpl.h
Attributes.cpp
AutoUpgrade.cpp IR: MDNode => Value: Instruction::getMetadata() 2014-11-01 00:10:31 +00:00
BasicBlock.cpp
CMakeLists.txt
Comdat.cpp
ConstantFold.cpp
ConstantFold.h
ConstantRange.cpp
Constants.cpp
ConstantsContext.h
Core.cpp IR: MDNode => Value: NamedMDNode::getOperator() 2014-11-05 18:16:03 +00:00
DataLayout.cpp
DebugInfo.cpp IR: MDNode => Value: NamedMDNode::getOperator() 2014-11-05 18:16:03 +00:00
DebugLoc.cpp
DiagnosticInfo.cpp IR: MDNode => Value: Instruction::getMetadata() 2014-11-01 00:10:31 +00:00
DiagnosticPrinter.cpp
DIBuilder.cpp
Dominators.cpp
Function.cpp
GCOV.cpp
Globals.cpp Modernize the error handling of the Materialize function. 2014-10-24 22:50:48 +00:00
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp IR: MDNode => Value: Instruction::getAllMetadataOtherThanDebugLoc() 2014-11-03 18:13:57 +00:00
Instructions.cpp IR: MDNode => Value: Instruction::getMetadata() 2014-11-01 00:10:31 +00:00
IntrinsicInst.cpp
IRBuilder.cpp
IRPrintingPasses.cpp
LeakDetector.cpp
LeaksContext.h
LegacyPassManager.cpp Remove redundant calls to isMaterializable. 2014-11-01 16:46:18 +00:00
LLVMBuild.txt
LLVMContext.cpp
LLVMContextImpl.cpp
LLVMContextImpl.h
Makefile
Mangler.cpp Silencing an "enumeral and non-enumeral type in conditional expression" warning; NFC. 2014-10-28 13:12:13 +00:00
MDBuilder.cpp
Metadata.cpp IR: MDNode => Value: NamedMDNode::getOperator() 2014-11-05 18:16:03 +00:00
Module.cpp IR: MDNode => Value: NamedMDNode::getOperator() 2014-11-05 18:16:03 +00:00
module.modulemap
Pass.cpp
PassManager.cpp
PassRegistry.cpp
SymbolTableListTraitsImpl.h
Type.cpp
TypeFinder.cpp IR: MDNode => Value: NamedMDNode::getOperator() 2014-11-05 18:16:03 +00:00
Use.cpp
UseListOrder.cpp
User.cpp
Value.cpp
ValueSymbolTable.cpp
ValueTypes.cpp
Verifier.cpp IR: MDNode => Value: NamedMDNode::getOperator() 2014-11-05 18:16:03 +00:00