summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/VMCore
Commit message (Collapse)AuthorAgeFilesLines
...
* upgrade for removed functions.Chris Lattner2009-08-231-11/+16
| | | | llvm-svn: 79822
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-133-24/+24
| | | | llvm-svn: 78948
* Fix unit tests.Owen Anderson2009-07-311-14/+16
| | | | llvm-svn: 77734
* Move more code back to 2.5 APIs.Owen Anderson2009-07-301-1/+1
| | | | llvm-svn: 77635
* fix a unitialized pointer in NamedMDNode (and reenable unittest)Benjamin Kramer2009-07-301-3/+0
| | | | llvm-svn: 77597
* Disable the NamedMDNodeTest, it is failing everywhere.Daniel Dunbar2009-07-301-0/+3
| | | | llvm-svn: 77569
* Add NamedMDNode test.Devang Patel2009-07-301-0/+22
| | | | llvm-svn: 77550
* Update unittest for LLVM API change.Benjamin Kramer2009-07-291-18/+18
| | | | llvm-svn: 77496
* fix unittestBenjamin Kramer2009-07-281-1/+1
| | | | llvm-svn: 77375
* Finish migrating VMCore to StringRef/Twine based APIs.Daniel Dunbar2009-07-251-8/+8
| | | | llvm-svn: 77051
* Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵Owen Anderson2009-07-242-15/+13
| | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011
* MDStringDevang Patel2009-07-231-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 Patel2009-07-231-19/+0
| | | | | | METADATA_BLOCK in bitcode file. llvm-svn: 76834
* Move EVER MORE stuff over to LLVMContext.Owen Anderson2009-07-141-17/+17
| | | | llvm-svn: 75703
* Port this unittest to use LLVMContext.Dan Gohman2009-07-141-30/+33
| | | | llvm-svn: 75583
* Drop "constant" from Devang Patel2009-07-081-4/+4
| | | | | | !0 = constant metadata !{...} llvm-svn: 75057
* Update SLotTracker to handle MDNode slots.Devang Patel2009-07-081-4/+4
| | | | | | Simplify MDNode printing. llvm-svn: 75053
* Hold the LLVMContext by reference rather than by pointer.Owen Anderson2009-07-011-3/+3
| | | | llvm-svn: 74640
* Fix unit tests for LLVMContext+Module.Owen Anderson2009-07-011-3/+4
| | | | llvm-svn: 74622
* Call doInitialization(), releaseMemory(), and doFinalization() for ↵Torok Edwin2009-06-292-1/+527
| | | | | | | | | | on-the-fly passes as well. Also don't call finalizers for LoopPass if initialization was not called. Add a unittest that tests that these methods are called, in the proper order, and the correct number of times. llvm-svn: 74438
* Give embedded metadata its own type instead of relying on EmptyStructTy.Nick Lewycky2009-05-301-5/+7
| | | | llvm-svn: 72610
* Make MDNode use CallbackVH. Also change MDNode to store Value* instead ofNick Lewycky2009-05-101-9/+49
| | | | | | | Constant* in preperation of a future change to support holding non-Constants in an MDNode. llvm-svn: 71407
* "I got annoyed at the compiler warnings from ConstantInt::get(Ty, -1,Chris Lattner2009-04-241-0/+14
| | | | | | | | | | | true), and casts make me nervous and are verbose anyway, so here's a ConstantInt::getSigned(Ty, int64_t) method. Just overloading ConstantInt::get() to take an int64_t too would cause ambiguous overload errors." Patch by Jeffrey Yasskin! llvm-svn: 69958
* Fix pointer casting problem.Nick Lewycky2009-04-091-1/+2
| | | | llvm-svn: 68668
* Fixed compiler warning.Misha Brukman2009-04-091-1/+1
| | | | llvm-svn: 68664
* Add support for embedded metadata to LLVM. This introduces two new types ofNick Lewycky2009-04-041-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
* Converted a1.ll to unittests.Misha Brukman2009-03-242-0/+113
llvm-svn: 67652
OpenPOWER on IntegriCloud