summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/VMCore/ConstantsTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename the VMCore unittest tree to IR. Somehow was missed when doing theChandler Carruth2013-01-071-228/+0
| | | | | | library rename. llvm-svn: 171747
* Move all of the header files which are involved in modelling the LLVM IRChandler Carruth2013-01-021-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 Carruth2012-12-041-2/+2
| | | | llvm-svn: 169250
* Add a new function to ConstantExpr - getAsInstruction. This returns its ↵James Molloy2012-11-171-0/+106
| | | | | | | | Instruction* corollary, which may be useful if a user wishes to transform a ConstantExpr so that one of its operands is no longer constant. llvm-svn: 168262
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-4/+4
| | | | llvm-svn: 135375
* fix PR8867: a crash handling fp128. Thanks to Nick for the testcase.Chris Lattner2010-12-291-0/+9
| | | | llvm-svn: 122613
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-2/+2
| | | | llvm-svn: 78948
* Move more code back to 2.5 APIs.Owen Anderson2009-07-301-1/+1
| | | | llvm-svn: 77635
* Update unittest for LLVM API change.Benjamin Kramer2009-07-291-18/+18
| | | | llvm-svn: 77496
* Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵Owen Anderson2009-07-241-13/+11
| | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011
* Port this unittest to use LLVMContext.Dan Gohman2009-07-141-30/+33
| | | | llvm-svn: 75583
* "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
* Fixed compiler warning.Misha Brukman2009-04-091-1/+1
| | | | llvm-svn: 68664
* Converted a1.ll to unittests.Misha Brukman2009-03-241-0/+98
llvm-svn: 67652
OpenPOWER on IntegriCloud