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