Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename the VMCore unittest tree to IR. Somehow was missed when doing the | Chandler Carruth | 2013-01-07 | 1 | -152/+0 |
| | | | | | | library rename. llvm-svn: 171747 | ||||
* | Move all of the header files which are involved in modelling the LLVM IR | Chandler Carruth | 2013-01-02 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. llvm-svn: 171366 | ||||
* | Sort the #include lines for unittest/... | Chandler Carruth | 2012-12-04 | 1 | -4/+4 |
| | | | | llvm-svn: 169250 | ||||
* | I noticed in passing that the Metadata getIfExists method was creating a new | Duncan Sands | 2012-03-31 | 1 | -0/+7 |
| | | | | | | node and returning it if one didn't exist. llvm-svn: 153798 | ||||
* | Fix C++0x narrowing errors when char is unsigned. | Jeffrey Yasskin | 2011-08-30 | 1 | -1/+1 |
| | | | | | | | 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. llvm-svn: 138825 | ||||
* | PR9214: Convert Metadata API to use ArrayRef. | Jay Foad | 2011-04-21 | 1 | -6/+6 |
| | | | | llvm-svn: 129932 | ||||
* | Make NamedMDNode not be a subclass of Value, and simplify the interface | Dan Gohman | 2010-07-21 | 1 | -3/+4 |
| | | | | | | for creating and populating NamedMDNodes. llvm-svn: 109061 | ||||
* | Remove a memory leak from MetadataTest. | Jeffrey Yasskin | 2010-03-13 | 1 | -2/+2 |
| | | | | | Tested: valgrind --leak-check=full unittests/VMCore/Debug/VMCoreTests llvm-svn: 98412 | ||||
* | Stop leaking MDStrings. | Jeffrey Yasskin | 2010-03-04 | 1 | -11/+18 |
| | | | | llvm-svn: 97763 | ||||
* | NamedMDNode is a collection MDNodes. | Devang Patel | 2010-01-05 | 1 | -1/+1 |
| | | | | llvm-svn: 92761 | ||||
* | don't unittest mdnode printing, we have disassembler tests for this. | Chris Lattner | 2009-12-31 | 1 | -18/+1 |
| | | | | llvm-svn: 92328 | ||||
* | rename "elements" of metadata to "operands". "Elements" are | Chris Lattner | 2009-12-31 | 1 | -6/+6 |
| | | | | | | | things that occur in types. "operands" are things that occur in values. llvm-svn: 92322 | ||||
* | Type.h doesn't need to #include LLVMContext.h | Chris Lattner | 2009-10-27 | 1 | -0/+1 |
| | | | | llvm-svn: 85254 | ||||
* | Update unittests for MDNode uniquing disable. | Daniel Dunbar | 2009-09-07 | 1 | -0/+4 |
| | | | | llvm-svn: 81142 | ||||
* | Now Bitcode reader bug is fixed. Reapply 80839. | Devang Patel | 2009-09-03 | 1 | -1/+1 |
| | | | | | | | | 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. llvm-svn: 80868 | ||||
* | Revert 80839 for now. It causes test failures. | Devang Patel | 2009-09-02 | 1 | -1/+1 |
| | | | | llvm-svn: 80841 | ||||
* | Use CallbackVH, instead of WeakVH, to hold MDNode elements. | Devang Patel | 2009-09-02 | 1 | -1/+1 |
| | | | | | | | Use FoldingSetNode to unique MDNodes in a context. Use CallbackVH hooks to update context's MDNodeSet appropriately. llvm-svn: 80839 | ||||
* | Disable uniqueness test for now. | Devang Patel | 2009-09-02 | 1 | -1/+1 |
| | | | | llvm-svn: 80741 | ||||
* | upgrade for removed functions. | Chris Lattner | 2009-08-23 | 1 | -11/+16 |
| | | | | llvm-svn: 79822 | ||||
* | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 1 | -5/+5 |
| | | | | llvm-svn: 78948 | ||||
* | Fix unit tests. | Owen Anderson | 2009-07-31 | 1 | -14/+16 |
| | | | | llvm-svn: 77734 | ||||
* | fix a unitialized pointer in NamedMDNode (and reenable unittest) | Benjamin Kramer | 2009-07-30 | 1 | -3/+0 |
| | | | | llvm-svn: 77597 | ||||
* | Disable the NamedMDNodeTest, it is failing everywhere. | Daniel Dunbar | 2009-07-30 | 1 | -0/+3 |
| | | | | llvm-svn: 77569 | ||||
* | Add NamedMDNode test. | Devang Patel | 2009-07-30 | 1 | -0/+22 |
| | | | | llvm-svn: 77550 | ||||
* | fix unittest | Benjamin Kramer | 2009-07-28 | 1 | -1/+1 |
| | | | | llvm-svn: 77375 | ||||
* | Finish migrating VMCore to StringRef/Twine based APIs. | Daniel Dunbar | 2009-07-25 | 1 | -8/+8 |
| | | | | llvm-svn: 77051 | ||||
* | Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵ | Owen Anderson | 2009-07-24 | 1 | -2/+2 |
| | | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011 | ||||
* | MDString | Devang Patel | 2009-07-23 | 1 | -8/+8 |
| | | | | | | | - Rename member function size(). New name is length(). - Store string beginning and length. Earlier it used to store string end. llvm-svn: 76841 | ||||
* | Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into ↵ | Devang Patel | 2009-07-23 | 1 | -19/+0 |
| | | | | | | METADATA_BLOCK in bitcode file. llvm-svn: 76834 | ||||
* | Move EVER MORE stuff over to LLVMContext. | Owen Anderson | 2009-07-14 | 1 | -17/+17 |
| | | | | llvm-svn: 75703 | ||||
* | Drop "constant" from | Devang Patel | 2009-07-08 | 1 | -4/+4 |
| | | | | | | !0 = constant metadata !{...} llvm-svn: 75057 | ||||
* | Update SLotTracker to handle MDNode slots. | Devang Patel | 2009-07-08 | 1 | -4/+4 |
| | | | | | | Simplify MDNode printing. llvm-svn: 75053 | ||||
* | Give embedded metadata its own type instead of relying on EmptyStructTy. | Nick Lewycky | 2009-05-30 | 1 | -5/+7 |
| | | | | llvm-svn: 72610 | ||||
* | Make MDNode use CallbackVH. Also change MDNode to store Value* instead of | Nick Lewycky | 2009-05-10 | 1 | -9/+49 |
| | | | | | | | Constant* in preperation of a future change to support holding non-Constants in an MDNode. llvm-svn: 71407 | ||||
* | Fix pointer casting problem. | Nick Lewycky | 2009-04-09 | 1 | -1/+2 |
| | | | | llvm-svn: 68668 | ||||
* | Add support for embedded metadata to LLVM. This introduces two new types of | Nick Lewycky | 2009-04-04 | 1 | -0/+96 |
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. llvm-svn: 68420 |