7b4ff9343d911a1b9c76c512787beb7a45f8270d |
|
16-Jun-2012 |
Hal Finkel <hfinkel@anl.gov> |
Move the Metadata merging methods from GVN and make them public in MDNode. There are other passes, BBVectorize specifically, that also need some of this functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
b4b9db2f9209941a921f7fe3a92242287c396bc2 |
|
11-Apr-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Fix pasto. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154527 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
611afc0620aed7827b5fdf9072a1827952b684b6 |
|
11-Apr-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Cache the hash value of the operands in the MDNode. FoldingSet is implemented as a chained hash table. When there is a hash collision during insertion, which is common as we fill the table until a load factor of 2.0 is hit, we walk the chained elements, comparing every operand with the new element's operands. This can be very expensive if the MDNode has many operands. We sacrifice a word of space in MDNode to cache the full hash value, reducing compares on collision to a minimum. MDNode grows from 28 to 32 bytes + operands on x86. On x86_64 the new bits fit nicely into existing padding, not growing the struct at all. The actual speedup depends a lot on the test case and is typically between 1% and 2% for C++ code with clang -c -O0 -g. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
3ecb447f52d169dea6663b95b5b5b43e9bb5826b |
|
10-Apr-2012 |
Bill Wendling <isanbard@gmail.com> |
The MDString class stored a StringRef to the string which was already in a StringMap. This was redundant and unnecessarily bloated the MDString class. Because the MDString class is a "Value" and will never have a "name", and because the Name field in the Value class is a pointer to a StringMap entry, we repurpose the Name field for an MDString. It stores the StringMap entry in the Name field, and uses the normal methods to get the string (name) back. PR12474 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154429 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
f32a960fd32b32f84bb486458ccbc905af490da9 |
|
15-Feb-2012 |
Eric Christopher <echristo@apple.com> |
Add a way to replace a field inside a metadata node. This can be used to incrementally update a created node without needing a temporary node and RAUW. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150571 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
2d24e2a396a1d211baaeedf32148a3b657240170 |
|
20-Dec-2011 |
David Blaikie <dblaikie@gmail.com> |
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146960 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
f4374e46fd9f5267d650bbcd04b10c3df0f21177 |
|
10-Dec-2011 |
Bill Wendling <isanbard@gmail.com> |
Add dump method for debugging. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146293 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
11772e093f159a37d92fe5855faa89ad70b1639d |
|
02-Jun-2011 |
Chad Rosier <mcrosier@apple.com> |
Typos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132437 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
ec9186bcf975c9ffa3ec7ca97867f0ec6eb55115 |
|
21-Apr-2011 |
Jay Foad <jay.foad@gmail.com> |
PR9214: Convert Metadata API to use ArrayRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129932 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
566bd12e54247b96823112e945e67ed7b9b7dce0 |
|
04-Mar-2011 |
Devang Patel <dpatel@apple.com> |
Add ArrayRef variant. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126978 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
733290718620d989cde2e6a1c3e616aa39ae58d5 |
|
14-Sep-2010 |
Devang Patel <dpatel@apple.com> |
After Dan's recent commit this is no longer true. Now isFunctionLocal is reset, if required, when operands are modified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113845 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
2426668562623cf94809309c93b41ecea856b19d |
|
24-Aug-2010 |
Dan Gohman <gohman@apple.com> |
MDNode, MDString, and NamedMDNode are not meant to be subclassed; make their protected members private. And remove an unnecessary explicit keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111915 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
489b29b0a4ee4526e3d50ad88d3d48745baf5042 |
|
21-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Introduce a new temporary MDNode concept. Temporary MDNodes are not part of the IR, are not uniqued, and may be safely RAUW'd. This replaces a variety of alternate mechanisms for achieving the same effect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111681 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
c85829617bae7f0520c92c5819a5ca8ad520b4f1 |
|
20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Reword NamedMDNode's comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
17aa92c92a925b4a674440c7ef088c223990e854 |
|
22-Jul-2010 |
Dan Gohman <gohman@apple.com> |
Make NamedMDNode not be a subclass of Value, and simplify the interface for creating and populating NamedMDNodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109061 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
872814ae048df032bddf9299c850f5bda08299a9 |
|
21-Jul-2010 |
Dan Gohman <gohman@apple.com> |
Disallow null as a named metadata operand. Make MDNode::destroy private. Fix the one thing that used MDNode::destroy, outside of MDNode itself. One should never delete or destroy an MDNode explicitly. MDNodes implicitly go away when there are no references to them (implementation details aside). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109028 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
d9c86dc6d95885f0c88f8068a06eab87da328490 |
|
21-Jul-2010 |
Dan Gohman <gohman@apple.com> |
Use TrackingVH instead of WeakVH for NamedMDNode's operands, since nodes referenced by NamedMDNodes shouldn't be deleted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109021 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
e57f048b916af70c59ab6836494d77a1bbb769d1 |
|
29-Apr-2010 |
Duncan Sands <baldrick@free.fr> |
Fix comment typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102612 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
6f555ca2cd0bba50542adcbb131f541ae70d34cd |
|
13-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Delete MDNodes when LLVMContext is destroyed. Previous attempts: r97918, r97788. Tested: clang debug bootstrap, llvm-gcc bootstrap, `make check-lit` after configuring with --with-llvmgccdir (and this did run the FrontendC* tests this time) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
48ee0bbb729ae5b4757c74d029b9f5ce602f530a |
|
10-Mar-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove duplicated code. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98156 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
6fec233a1e4b26be2f69e02884d4f3c2a2c4a437 |
|
07-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Roll back r97918 again. Just configuring against llvm-gcc wasn't enough to run the FrontendC* tests. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97921 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
92ce42f9fc8758ff83da3ebf7cd0a60bdaec3c58 |
|
07-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Reapply r97788 to free MDNodes when the LLVMContext is destroyed. It bootstraps llvm-gcc this time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
b71a2fcf5e5c0e4b598f07f5e3e7b0f2c718baf2 |
|
05-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Revert r97788 because it broke test/FrontendC/2010-02-16-DbgVarScope.c. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97792 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
c8cfa30ca5e6ce80e3e6e1dbff5d24d266d43d27 |
|
05-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Free MDNodes when the LLVMContext is destroyed. Leak found by Valgrind. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
0ce7b1255c86dcfdfdd4dfad9ea625de12657944 |
|
18-Feb-2010 |
Devang Patel <dpatel@apple.com> |
Fix comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
06fdaccc89d9abdc7e03797b25173791a2f5692f |
|
18-Feb-2010 |
Devang Patel <dpatel@apple.com> |
Destroy MDNodes gracefully while deleting llvm context. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96609 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
e685f230b6f4f7cd65f45e07cbbbcaa4d66a1cea |
|
26-Jan-2010 |
Victor Hernandez <vhernandez@apple.com> |
Add MDNode::getIfExists(), an efficient way to determine if a value is used by metadata (since metadata does not appear in a value's use list) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94492 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
bc5201f8371f9041e79efcca3b158335da5c2604 |
|
22-Jan-2010 |
Devang Patel <dpatel@apple.com> |
Remove MetadataBase class because it is not adding significant value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94243 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
8fffff537194e2375e65600f27d716c99f0eb38a |
|
20-Jan-2010 |
Victor Hernandez <vhernandez@apple.com> |
Refactor common parts of MDNode::getFunction() and assertLocalFunction() into getFunctionForValue() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93977 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
6cead7879aa8902905809e3853d31093a5511c2f |
|
18-Jan-2010 |
Victor Hernandez <vhernandez@apple.com> |
Add comment that MDNode::getFunction() is not to be used by performance-critical code (currently only used by AsmWriter) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
c7650b4d1907becbf2ed112074fd2c4a6f174aa8 |
|
14-Jan-2010 |
Victor Hernandez <vhernandez@apple.com> |
Add MDNode::getFunction(), which figures out the metadata's function, if it has function that it is local to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
acb4722856a49217e7aa86f6909d51531d3f42cc |
|
12-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
use consistent tag kinds for ilist_traits git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
d77fdba5737ee71b63681160fba5b2fc200583f4 |
|
12-Jan-2010 |
Devang Patel <dpatel@apple.com> |
Use Twine, instead of StringRef, for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93249 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
26028f27ddd132b3284943e11aca130c2911abc4 |
|
12-Jan-2010 |
Devang Patel <dpatel@apple.com> |
Use ilist_tratis to autoinsert and remove NamedMDNode from MDSymbolTable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93247 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
24e64df7ec25b55aa872c2ef33728dfbb8c353c4 |
|
10-Jan-2010 |
Victor Hernandez <vhernandez@apple.com> |
Compute isFunctionLocal in MDNode ctor or via argument in new function getWhenValsUnresolved(). Document PFS argument to ParseValID() and ConvertGlobalOrMetadataValIDToValue(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93108 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
8fba578be72dc98497508dec053e966858571f6a |
|
09-Jan-2010 |
Devang Patel <dpatel@apple.com> |
Derive NamedMDNode from Value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
0386f01e061513094504bc11f8352a40173cada7 |
|
07-Jan-2010 |
Devang Patel <dpatel@apple.com> |
Use separate namespace for named metadata. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92931 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
3e30c2a3c54c50246e6cccf0c8842619e29fe66c |
|
05-Jan-2010 |
Devang Patel <dpatel@apple.com> |
NamedMDNode is a collection MDNodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92761 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
5d0cacdbb6577f2449986f345858db17dc1bcf59 |
|
31-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
rename "elements" of metadata to "operands". "Elements" are things that occur in types. "operands" are things that occur in values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
b76359e36e75dfe16c5153c3cac903efbb2cd8d7 |
|
31-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
Optimize MDNode to coallocate the operand list immediately after the MDNode in memory. This eliminates the operands pointer and saves a new[] per node. Note that the code in DIDerivedType::replaceAllUsesWith is wrong and quite scary. A MDNode should not be RAUW'd with something else: this changes all uses of the mdnode, which may not be debug info related! Debug info should use something non-mdnode for declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92321 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
54a1f9f9c1e2cf6f4541e998b20f5c7cfbe642d9 |
|
30-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
do not bother reuniquing mdnodes whose operands drop to null. Doing so can be a huge performance issue when tearing down modules and mdnodes are not guaranteed to be unique anyway. This speeds up: $ time ~/llvm/Release/bin/clang gcc.c -w -S -g from 72 to 35s, where gcc.c is from: http://people.csail.mit.edu/smcc/projects/single-file-programs/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92315 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
081134741b40b342fb2f85722c9cea5d412489a8 |
|
29-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
Final step in the metadata API restructuring: move the getMDKindID/getMDKindNames methods to LLVMContext (and add convenience methods to Module), eliminating MetadataContext. Move the state that it maintains out to LLVMContext. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
b17f65829c44142827e4c3b9a062ee5cc84f566d |
|
29-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
privatize another interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92255 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
44f3d23b60a94f7211acf91e1e951360df71fdf8 |
|
29-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
the only call to this function (from clang) has been removed, zap it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92254 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
508b19a5a41a4b82be4ae71e6ea5c691bea99b96 |
|
29-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
remove some unneeded Metadata interfaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
a43a3f2379360a766725a4138ee9aff4df41b486 |
|
29-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
When doing v1->RAUW(v2), don't do anything to metadata. We don't know why one was replaced with the other. Even in the specific case of debug information, it doesn't make sense to transfer the location over, this will just result in jumbled loc info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92241 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
cafe9bba32aeed16e8e3db28b4cd4ff13160438f |
|
29-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
add a layer of accessors around the Value::SubClassData member, and use a convention (shadowing the setter with private forwarding function) to prevent subclasses from accidentally using it. This exposed some bogosity in ConstantExprs, which was propaging the opcode of the constant expr into the NUW/NSW/Exact field in the getWithOperands/getWithOperandReplaced methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
3990b121cf4a0b280ed3e54cf13870cbf4259e78 |
|
29-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
This is a major cleanup of the instruction metadata interfaces that I asked Devang to do back on Sep 27. Instead of going through the MetadataContext class with methods like getMD() and getMDs(), just ask the instruction directly for its metadata with getMetadata() and getAllMetadata(). This includes a variety of other fixes and improvements: previously all Value*'s were bloated because the HasMetadata bit was thrown into value, adding a 9th bit to a byte. Now this is properly sunk down to the Instruction class (the only place where it makes sense) and it will be folded away somewhere soon. This also fixes some confusion in getMDs and its clients about whether the returned list is indexed by the MDID or densely packed. This is now returned sorted and densely packed and the comments make this clear. This introduces a number of fixme's which I'll follow up on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92235 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
0eb419800ae51d6e0e00a656ede0627483755361 |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
rename getMDKind -> getMDKindID, make it autoinsert if an MD Kind doesn't exist already, eliminate registerMDKind. Tidy up a bunch of random stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92225 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
7d05c46d601cbb52be605019548c34286c02e3a3 |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
rename getHandlerNames to getMDKindNames, simplify its interface and simplify all the clients that use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92224 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
df58389ef1fb8373d900975a6a66e4fbe0344f83 |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
avoid a completely unneeded linear walk. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92221 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
b241b370313588837f9960b3ec3de4dcfb8aee4e |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
Rewrite the function-local validation logic for MDNodes (most of r91708). Among other benefits, this doesn't leak the SmallPtrSet, has the verifier code in the verifier pass, actually does the verification at the end, and is considerably simpler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92217 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
dfdb5dcf564b66209f374c6c68bc8ddfb7ebacfd |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
rename MDNode instance variables to something meaningful. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92216 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
5e9cd434234a36089daeee915f1dc02b96947fba |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
snip one more #include from Metadata.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92214 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
fc252dae10e339d423e162616a9cb75238afaca5 |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
prune #includes more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
5660846f15847e540066ae320a4adef7357d597d |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
Metadata.h doesn't need to include ValueHandle.h anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92211 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
bcb18538c26fd6fef942d9da8156b30febae5d7e |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
change the strange MetadataContext::getMDs function to expose less irrelevant internal implementation details to clients. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92210 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
57109697282c6dffd04e2e275606352914217114 |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
change NamedMDNode to use a pimpl for its operand list instead of making it a declared part of the value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
a327524b691795d1cb2161454e1e3e7ef12996de |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
eliminate the elem_* iterator stuff from NamedMDNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92208 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
c5e08a963973f43c10869cd249c0718d307dd031 |
|
28-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
move ElementVH out of the MDNode class into the MDNode.cpp file. Among other things, this avoids vtable and rtti data for it being splatted in every translation unit that uses it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92207 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
5d3016215075c52766711e741ce5401ee891d4ac |
|
18-Dec-2009 |
Victor Hernandez <vhernandez@apple.com> |
Formalize MDNode's function-localness: - an MDNode is designated as function-local when created, and continues to be even if its operands are modified not to refer to function-local IR - function-localness is designated via lowest bit in SubclassData - getLocalFunction() descends MDNode tree to see if it is consistently function-local Add verification of MDNodes to checks that MDNodes are consistently function-local. Update AsmWriter to use isFunctionLocal(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91708 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
6bc2b8b215240e564b8f255e45e429823c2004f3 |
|
16-Dec-2009 |
Victor Hernandez <vhernandez@apple.com> |
Use different name for argument and field git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91524 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
57c0f206011ce3dff01075c0b38a8c55c19c7fc9 |
|
16-Dec-2009 |
Victor Hernandez <vhernandez@apple.com> |
MDNodes that refer to an instruction are local to a function; in that case, explicitly keep track of the function they are local to git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
15e7122a13c560389f37fa40b5d2606b09c67b90 |
|
01-Dec-2009 |
Dan Gohman <gohman@apple.com> |
Fix typos in comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
afa5a34b30f152d85164eaff4124accb9ef056a8 |
|
12-Nov-2009 |
Devang Patel <dpatel@apple.com> |
Do not use StringRef in DebugInfo interface. This allows StringRef to skip controversial if(str) check in constructor. Buildbots, wait for corresponding clang and llvm-gcc FE check-ins! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86914 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
9111c4fef5a963f6d091e0a2401346fc98b521da |
|
04-Nov-2009 |
Evan Cheng <evan.cheng@apple.com> |
Silence implicit conversion warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86000 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
a0b0562a35fe46786eb3974fc67da8cd4f3a272a |
|
22-Oct-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Random include cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84898 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
9d89df169027035bf692b3d397bb93cff7bdc860 |
|
22-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Hide MetadataContext implementation details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84886 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
f61b2371c8ec6e0ff2da8f2bd2a606ba755bb2fe |
|
22-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Fix getMDs() interface such that it does not expose implementation details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
b5681b22937440dcb8007f4b125f3325d6341fe0 |
|
22-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Using TrackingVH instead of WeakVH or WeakMetadataVH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84884 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
d41fc65c567b15a71b944a64239c785f0da860c2 |
|
22-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Sort handler names to ensure deterministic behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84878 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
ce6a1c97569ce65a60340b20e65abd0787969942 |
|
22-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Fix getHandlerNames() interface. Now it populate clinet supplied small vector with handler names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84820 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
921bdaaa98c31a07bc5987f7a3412e101173a146 |
|
22-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Use StringRef to construct MDString. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84811 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
49b63a1f2c493f6452d22cf0df4c147e0539fb2e |
|
22-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Remove meaningless const. Pass StringRef by value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
49708ad993529611cedfbe49ae44bb10beb73abe |
|
22-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Derive metadata hierarchy from Value instead of User. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
f7ce17e8a8feccbf3445d5364d80a8a291bee88b |
|
21-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Use StringRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
028fa77d560f18f364ae8a0bfd60597cf1968a93 |
|
21-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Do not use SmallVector to store MDNode elements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
b5df28a151421fcce53547763ae9772461d5bbdb |
|
21-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Incorporate various suggestions Chris gave during metadata review. - i < getNumElements() instead of getNumElements() > i - Make setParent() private - Fix use of resizeOperands - Reset HasMetadata bit after removing all metadata attached to an instruction - Efficient use of iterators git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84765 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
d9723e9a2800e3f74652ef3be7c1c2c58d01f376 |
|
21-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Cosmetic changes. s/validName/isValidName/g s/with an Instruction/to an Instruction/g s/RegisterMDKind/registerMDKind/g git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84689 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
174101e13a6f24f6f2737e043194f0ffae925bb3 |
|
20-Oct-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Random #include pruning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
b2a33b46469a6d2c0e61122002079efb7d6d3f9c |
|
19-Oct-2009 |
Chris Lattner <sabre@nondot.org> |
various cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84471 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
41b5adf20208f46e4b1104d6d473710fbfa61eb9 |
|
14-Oct-2009 |
Eric Christopher <echristo@apple.com> |
Remove a bunch of unused arguments from functions, silencing a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
5db2c52270e70271ace8b4f0c2942823be702132 |
|
14-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Add copyMD to copy metadata from one instruction to another instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
740d0db812a31a8df4ff1b7d6cfb25a3725f5e01 |
|
13-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Copy metadata when value is RAUW'd. It is debatable whether this is the right approach for custom metadata data in general. However, right now the only custom data user, "dbg", expects this behavior while FE is constructing llvm IR with debug info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83977 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
74da40a96fecd07ce0bb4eee169087bfac2e5f23 |
|
29-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Add removeMD(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
58a230a4917592f5c529cb40e75bfc3e1c681b69 |
|
29-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Only one custom meadata of each kind can be attached with an instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83105 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
0475c9170e9621292a48c688c3976031be5650bb |
|
29-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Parse custom metadata attached with an instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
e30e678865b8dc1b69ef1c26e7567ffd1300553c |
|
28-Sep-2009 |
Devang Patel <dpatel@apple.com> |
s/class Metadata/class MetadataContext/g git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83019 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
a2148402ce39fb3aad09e98a32078d3853a01ae9 |
|
28-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Do not use global typedef for MDKindID. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83016 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
6b0901ecf155a9fc0fa968730f33f927bca31ab0 |
|
28-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Remove unnecessary include. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83013 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
6c6c016b1b9711bc8968b51746d4b867e17905f4 |
|
23-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Do not leave behind metadata while cloning an instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
e8e0213cc3daa2d0457c22e4c12e6973f21fc942 |
|
18-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Write and read metadata attachments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
43215788d5d79a0a336ca85442d7c8a45552dd7a |
|
16-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Print debug info attached with an instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
937b1e92a9862862722732cb0f72d5ade77ac4c8 |
|
16-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Add llvm::Metadata to manage metadata used in a context. This interface will be used to attach metadata with an instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
5f4ac848d94b0a92e19ac7f2b3d0284d7d323173 |
|
03-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Now Bitcode reader bug is fixed. Reapply 80839. Use CallbackVH, instead of WeakVH, to hold MDNode elements. Use FoldingSetNode to unique MDNodes in a context. Use CallbackVH hooks to update context's MDNodeSet appropriately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80868 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
8fc55764139f478087fc0a0d3c02da436e84bf43 |
|
02-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Revert 80839 for now. It causes test failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80841 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
d9489cbb0cf933da9e2154a5336533d6254a5c30 |
|
02-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Use CallbackVH, instead of WeakVH, to hold MDNode elements. Use FoldingSetNode to unique MDNodes in a context. Use CallbackVH hooks to update context's MDNodeSet appropriately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80839 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
e4b275610a7a05b7ee4c0378a906a6330e4c4ab0 |
|
29-Aug-2009 |
Devang Patel <dpatel@apple.com> |
Reapply 79977. Use MDNodes to encode debug info in llvm IR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80406 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
824598883513789516a919651f4b35e7a638ec5c |
|
26-Aug-2009 |
Devang Patel <dpatel@apple.com> |
Revert 79977. It causes llvm-gcc bootstrap failures on some platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
2a610c7387664bc557a35ce3bb4c0d4df56e4755 |
|
25-Aug-2009 |
Devang Patel <dpatel@apple.com> |
Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79977 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
1d0be15f89cb5056e20e2d24faa8d6afb1573bca |
|
13-Aug-2009 |
Owen Anderson <resistor@mac.com> |
Push LLVMContexts through the IntegerType APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
ab67e705f59d567afded845465f358b8a66ab62e |
|
11-Aug-2009 |
Devang Patel <dpatel@apple.com> |
Link NamedMDNodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
12ddd409535b52a7fa5157ded9a4cedd161fedb6 |
|
11-Aug-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Make LLVMContext and LLVMContextImpl classes instead of structs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78690 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
a44fa8333e274c69fe997e973a09b41fa35fd2e8 |
|
11-Aug-2009 |
Devang Patel <dpatel@apple.com> |
Fix cut-n-pasto in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
d7de19ad7b355be54cc3f134b227ca2f6f5919d2 |
|
10-Aug-2009 |
Devang Patel <dpatel@apple.com> |
We are not using FoldingSet for metadata uniquing anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78585 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
0631fce85050f8f633e5fd032875d9151e0db4da |
|
10-Aug-2009 |
Owen Anderson <resistor@mac.com> |
Change the MDNode uniquing to a ValueMap, at Devang's request. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78577 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
48b2f3e4850cd27d54224cd42da8a160d6b95984 |
|
05-Aug-2009 |
Owen Anderson <resistor@mac.com> |
Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h not hideous. Also, fix some MSVC compile errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78115 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
4771e16fa96f41e62fc54578b6f656a52c23b61c |
|
04-Aug-2009 |
Devang Patel <dpatel@apple.com> |
Keep track of metadata used by other metadata. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
a82f8838c60b7a3b240e185983dacb3291396f3e |
|
03-Aug-2009 |
Devang Patel <dpatel@apple.com> |
Add NamedMDNode destructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77959 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
647e3016de18d2fc8b0f233a0b356809e3fdcc54 |
|
31-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move the metadata constructors back to 2.5 syntax. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77733 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
f1da1f5f97b3e0b79381eaf39e827dd723abfb65 |
|
31-Jul-2009 |
Devang Patel <dpatel@apple.com> |
Add addElement(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
eeae0641bf3f8f62509ad488f716a7da7f44cbc9 |
|
30-Jul-2009 |
Devang Patel <dpatel@apple.com> |
Fix MetadataBase::classof(). Thanks Benjamin Kramer! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
e8861b840bf388945d876f97cf2ff6fcbf310790 |
|
30-Jul-2009 |
Devang Patel <dpatel@apple.com> |
Check null NameMDNode elements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77559 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
5316bf0252ce9797e90a233645b6580695403837 |
|
29-Jul-2009 |
Devang Patel <dpatel@apple.com> |
There is no need to keep name ref in NamedMDNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77511 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
28bc9d88260a3e153ead4311c9129e3d3ad07736 |
|
29-Jul-2009 |
Devang Patel <dpatel@apple.com> |
Keep track of named mdnodes in a Module using an ilist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77476 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
c7364243e31773b78c98b631258a56c868526395 |
|
29-Jul-2009 |
Devang Patel <dpatel@apple.com> |
trim include list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
f457d1316dec017cf204b54524878310c356bf64 |
|
29-Jul-2009 |
Devang Patel <dpatel@apple.com> |
Add NamedMDNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77409 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
3755bec9503573cfeb00009b7f5ad0124611e2c8 |
|
29-Jul-2009 |
Devang Patel <dpatel@apple.com> |
Remove unused method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|
0a9f7b9c3ebe7d0ec033462e1a7c9101279956f9 |
|
28-Jul-2009 |
Devang Patel <dpatel@apple.com> |
Rename MDNode.h header. It defines MDnode and other metadata classes. New name is Metadata.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77370 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Metadata.h
|