aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Metadata.cpp
AgeCommit message (Expand)Author
2010-08-30Add comments explaining why it's not necessary to include theDan Gohman
2010-08-24Don't include the is-function-local bit in the FoldingSetNodeIDDan Gohman
2010-08-23Verify that a non-uniqued non-temporary MDNode is not deleted viaDan Gohman
2010-08-21Use MDNode::destroy(). Fixes a delete/free mismatch.Benjamin Kramer
2010-08-21Add an assert to MDNode::deleteTemporary check that the node being deletedDan Gohman
2010-08-20Introduce a new temporary MDNode concept. Temporary MDNodes areDan Gohman
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-07-21Tidy.Dan Gohman
2010-07-20Rename removeAllMetadata to clearMetadataHashEntries and simplifyDan Gohman
2010-07-20Remove setDbgMetadata and getDbgMetadata; their users have beenDan Gohman
2010-07-13Add support for empty metadata nodes: !{}.Dan Gohman
2010-07-06Add fixme.Devang Patel
2010-05-04Fix a problem exposed by my previous commit and noticed by a release-assertsDuncan Sands
2010-05-04Fix a variant of PR6112 found by thinking about it: when doingDuncan Sands
2010-04-28fix PR6112 - When globalopt (or any other pass) does RAUW(@G, %G), Chris Lattner
2010-04-02rename NewDebugLoc -> DebugLoc, prune #includes in DebugLoc.h.Chris Lattner
2010-04-01Switch the representation of the location in instruction fromChris Lattner
2010-03-31add new apis for getting/setting !dbg metadata on Chris Lattner
2010-03-30Fix a major source of compile-time slowness at -O0 -g by optimizingChris Lattner
2010-03-30move some method definitions to files that make sense.Chris Lattner
2010-03-25Include isFunctionLocal while calculating folding node set profile for a MDNode.Devang Patel
2010-03-25Include isFunctionLocal while calculating folding node set provide for a MDNode.Devang Patel
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-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-21tidy upChris Lattner
2010-01-20Fix if/else brackets; getFunctionForValue() is to be called for non-metadata ...Victor Hernandez
2010-01-20Fix the conditions to unambiguously show the logic they represent. This is theChandler Carruth
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-18Simplify MDNode::getFunction() and assertLocalFunction() by avoiding extra Fu...Victor Hernandez
2010-01-14In debug builds, assert that function-local metadata has only 1 parent functionVictor Hernandez
2010-01-14Add MDNode::getFunction(), which figures out the metadata's function, if it h...Victor Hernandez
2010-01-13Introduce Twine::toStringRef, a variant of toVector which avoids the copy if theBenjamin Kramer
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-10Suppress a warning on gcc 4.4.Mikhail Glushenkov
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