summaryrefslogtreecommitdiff
path: root/include/llvm/Metadata.h
AgeCommit message (Expand)AuthorFilesLines
2010-09-14After Dan's recent commit this is no longer true.Devang Patel1-3/+0
2010-08-24MDNode, MDString, and NamedMDNode are not meant to be subclassed;Dan Gohman1-5/+2
2010-08-20Introduce a new temporary MDNode concept. Temporary MDNodes areDan Gohman1-0/+10
2010-08-20Reword NamedMDNode's comment.Dan Gohman1-2/+3
2010-07-21Make NamedMDNode not be a subclass of Value, and simplify the interfaceDan Gohman1-19/+7
2010-07-21Disallow null as a named metadata operand.Dan Gohman1-3/+3
2010-07-21Use TrackingVH instead of WeakVH for NamedMDNode's operands, since nodesDan Gohman1-1/+1
2010-04-29Fix comment typo.Duncan Sands1-1/+1
2010-03-13Delete MDNodes when LLVMContext is destroyed. Previous attempts: r97918, r97...Jeffrey Yasskin1-6/+1
2010-03-10Remove duplicated code. No functionality change.Benjamin Kramer1-2/+4
2010-03-07Roll back r97918 again. Just configuring against llvm-gcc wasn't enough to runJeffrey Yasskin1-1/+6
2010-03-07Reapply r97788 to free MDNodes when the LLVMContext is destroyed. ItJeffrey Yasskin1-6/+1
2010-03-05Revert r97788 because it broke test/FrontendC/2010-02-16-DbgVarScope.c.Jeffrey Yasskin1-1/+6
2010-03-05Free MDNodes when the LLVMContext is destroyed. Leak found by Valgrind.Jeffrey Yasskin1-6/+1
2010-02-18Fix comments.Devang Patel1-3/+4
2010-02-18Destroy MDNodes gracefully while deleting llvm context.Devang Patel1-0/+4
2010-01-26Add MDNode::getIfExists(), an efficient way to determine if a value is used b...Victor Hernandez1-1/+4
2010-01-22Remove MetadataBase class because it is not adding significant value.Devang Patel1-18/+2
2010-01-20Refactor common parts of MDNode::getFunction() and assertLocalFunction() into...Victor Hernandez1-1/+1
2010-01-18Add comment that MDNode::getFunction() is not to be used by performance-criti...Victor Hernandez1-1/+2
2010-01-14Add MDNode::getFunction(), which figures out the metadata's function, if it h...Victor Hernandez1-0/+5
2010-01-12use consistent tag kinds for ilist_traitsChris Lattner1-1/+1
2010-01-12Use Twine, instead of StringRef, for consistency.Devang Patel1-3/+3
2010-01-12Use ilist_tratis to autoinsert and remove NamedMDNode from MDSymbolTable.Devang Patel1-1/+1
2010-01-10Compute isFunctionLocal in MDNode ctor or via argument in new function getWhe...Victor Hernandez1-2/+16
2010-01-09Derive NamedMDNode from Value.Devang Patel1-4/+3
2010-01-07Use separate namespace for named metadata.Devang Patel1-3/+10
2010-01-05NamedMDNode is a collection MDNodes.Devang Patel1-6/+6
2009-12-31rename "elements" of metadata to "operands". "Elements" areChris Lattner1-20/+20
2009-12-31Optimize MDNode to coallocate the operand list immediatelyChris Lattner1-5/+11
2009-12-30do not bother reuniquing mdnodes whose operands drop to null. DoingChris Lattner1-3/+15
2009-12-29Final step in the metadata API restructuring: move the Chris Lattner1-23/+0
2009-12-29privatize another interface.Chris Lattner1-3/+0
2009-12-29the only call to this function (from clang) has been removed, zap it.Chris Lattner1-4/+0
2009-12-29remove some unneeded Metadata interfaces.Chris Lattner1-8/+0
2009-12-29When doing v1->RAUW(v2), don't do anything to metadata. We don't knowChris Lattner1-2/+0
2009-12-29add a layer of accessors around the Value::SubClassData member, and use Chris Lattner1-1/+9
2009-12-28This is a major cleanup of the instruction metadata interfaces thatChris Lattner1-19/+1
2009-12-28rename getMDKind -> getMDKindID, make it autoinsert if an MD KindChris Lattner1-15/+9
2009-12-28rename getHandlerNames to getMDKindNames, simplify its interfaceChris Lattner1-3/+3
2009-12-28avoid a completely unneeded linear walk.Chris Lattner1-1/+1
2009-12-28Rewrite the function-local validation logic for MDNodes (most of r91708).Chris Lattner1-13/+8
2009-12-28rename MDNode instance variables to something meaningful.Chris Lattner1-3/+3
2009-12-28snip one more #include from Metadata.hChris Lattner1-3/+2
2009-12-28prune #includes more.Chris Lattner1-2/+2
2009-12-28Metadata.h doesn't need to include ValueHandle.h anymore.Chris Lattner1-1/+0
2009-12-28change the strange MetadataContext::getMDs function to expose lessChris Lattner1-1/+1
2009-12-28change NamedMDNode to use a pimpl for its operand list insteadChris Lattner1-13/+6
2009-12-28eliminate the elem_* iterator stuff from NamedMDNode.Chris Lattner1-9/+0
2009-12-28move ElementVH out of the MDNode class into the MDNode.cpp file. AmongChris Lattner1-22/+7