History log of /external/llvm/unittests/VMCore/MetadataTest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4000afe712a7fd9e584919c43d2aa09b154946c1 31-Mar-2012 Duncan Sands <baldrick@free.fr> I noticed in passing that the Metadata getIfExists method was creating a new
node and returning it if one didn't exist.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
cda2a146d1fcf3f499a1aa535377fb332e918bd5 30-Aug-2011 Jeffrey Yasskin <jyasskin@google.com> Fix C++0x narrowing errors when char is unsigned.

In the case of EDInstInfo, this would actually cause a bug when -1 became 255
and was then compared >=0 in llvm-mc/Disassembler.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138825 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
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/unittests/VMCore/MetadataTest.cpp
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/unittests/VMCore/MetadataTest.cpp
9d0b3dda1e44b5160697d8b2d993c4e4e0db2a6e 13-Mar-2010 Jeffrey Yasskin <jyasskin@google.com> Remove a memory leak from MetadataTest.

Tested: valgrind --leak-check=full unittests/VMCore/Debug/VMCoreTests


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98412 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
e5790a432a320c64440bf62adbcec378046eef6b 05-Mar-2010 Jeffrey Yasskin <jyasskin@google.com> Stop leaking MDStrings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
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/unittests/VMCore/MetadataTest.cpp
ab2f2f1ace7e02ac6e47ede9bce2d41a111796d7 31-Dec-2009 Chris Lattner <sabre@nondot.org> don't unittest mdnode printing, we have disassembler tests for this.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92328 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
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/unittests/VMCore/MetadataTest.cpp
f3523592b21af09a5a0032f8261f2f61c302fbd9 27-Oct-2009 Chris Lattner <sabre@nondot.org> Type.h doesn't need to #include LLVMContext.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85254 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
7b26b581cf3c20f9943c904e44ee5ec6d77f5aa2 07-Sep-2009 Daniel Dunbar <daniel@zuster.org> Update unittests for MDNode uniquing disable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
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/unittests/VMCore/MetadataTest.cpp
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/unittests/VMCore/MetadataTest.cpp
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/unittests/VMCore/MetadataTest.cpp
d2a5cfe00db55e3dea99cd804179d30505edc537 02-Sep-2009 Devang Patel <dpatel@apple.com> Disable uniqueness test for now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80741 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
0c47a412079c11656fdcc7e125d604e3aa543903 23-Aug-2009 Chris Lattner <sabre@nondot.org> upgrade for removed functions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
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/unittests/VMCore/MetadataTest.cpp
5d0bf1bc6fc5d1d049adb98f95cda3e4737abaf2 31-Jul-2009 Owen Anderson <resistor@mac.com> Fix unit tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77734 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
20cc4b8cd907790dd6d50c2b8c72f90518b6052c 30-Jul-2009 Benjamin Kramer <benny.kra@googlemail.com> fix a unitialized pointer in NamedMDNode (and reenable unittest)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
bb916fbadd6bfa37ce8009f49eb1d4ec9f34a4b6 30-Jul-2009 Daniel Dunbar <daniel@zuster.org> Disable the NamedMDNodeTest, it is failing everywhere.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
fa7c4dcef21003aec7f4630eec3d0e1117fb2259 30-Jul-2009 Devang Patel <dpatel@apple.com> Add NamedMDNode test.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77550 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
f83264b423af49533c5c19de03c3fa82827878fd 29-Jul-2009 Benjamin Kramer <benny.kra@googlemail.com> fix unittest


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77375 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
92ccf70ad448eb02f9f273d2c70ae4708b3bd0f2 25-Jul-2009 Daniel Dunbar <daniel@zuster.org> Finish migrating VMCore to StringRef/Twine based APIs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77051 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
eed707b1e6097aac2bb6b3d47271f6300ace7f2e 25-Jul-2009 Owen Anderson <resistor@mac.com> Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77011 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
2f9c3b002d3cb465fefc5f4b2535ca994c5e9283 23-Jul-2009 Devang Patel <dpatel@apple.com> MDString
- Rename member function size(). New name is length().
- Store string beginning and length. Earlier it used to store string end.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76841 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
104cf9e02b0ed94d4173869a598af6c6972a8660 23-Jul-2009 Devang Patel <dpatel@apple.com> Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into METADATA_BLOCK in bitcode file.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
9adc0abad3c3ed40a268ccbcee0c74cb9e1359fe 15-Jul-2009 Owen Anderson <resistor@mac.com> Move EVER MORE stuff over to LLVMContext.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75703 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
2214c94bb70524ff3150c6763c2f9ac0c1bb844b 08-Jul-2009 Devang Patel <dpatel@apple.com> Drop "constant" from
!0 = constant metadata !{...}


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
320671d2654a543bbeed5b62efe165430146d55e 08-Jul-2009 Devang Patel <dpatel@apple.com> Update SLotTracker to handle MDNode slots.
Simplify MDNode printing.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75053 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
7a0370f66ab5739f42ffe822f33494e0de9b182b 30-May-2009 Nick Lewycky <nicholas@mxc.ca> Give embedded metadata its own type instead of relying on EmptyStructTy.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
cb33799b9f4e152e3460faa83e59b53ff604c87d 10-May-2009 Nick Lewycky <nicholas@mxc.ca> Make MDNode use CallbackVH. Also change MDNode to store Value* instead of
Constant* in preperation of a future change to support holding non-Constants
in an MDNode.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71407 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
49a4ba92413d1fa4519aee3e60c1c3ac5c571eee 09-Apr-2009 Nick Lewycky <nicholas@mxc.ca> Fix pointer casting problem.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68668 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp
21cc4460efa104e8591b05a90f20130291614344 04-Apr-2009 Nick Lewycky <nicholas@mxc.ca> Add support for embedded metadata to LLVM. This introduces two new types of
Constant, MDString and MDNode which can only be used by globals with a name
that starts with "llvm." or as arguments to a function with the same naming
restriction.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68420 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/VMCore/MetadataTest.cpp