summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ConstantRange.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move ConstantRange class to lib/Support from lib/Analysis and make itsReid Spencer2007-02-281-315/+0
| | | | | | interface not depend on Type or ICmpInst. llvm-svn: 34761
* For PR1205:Reid Spencer2007-02-281-24/+3
| | | | | | | Remove ConstantInt from ConstantRange interface and adjust its users to compensate. llvm-svn: 34758
* For PR1205:Reid Spencer2007-02-281-43/+18
| | | | | | | First round of ConstantRange changes. This makes all CR constructors use only APInt and not use ConstantInt. Clients are adjusted accordingly. llvm-svn: 34756
* For PR1205:Reid Spencer2007-02-281-138/+127
| | | | | | | Convert ConstantRange class to use APInt internally as its value type for the constant range, instead of ConstantInt. llvm-svn: 34745
* Fix comments to match names of functions.Nick Lewycky2007-02-111-2/+2
| | | | llvm-svn: 34173
* For PR1043:Reid Spencer2007-01-191-0/+1
| | | | | | | | | | | | | | This is the final patch for this PR. It implements some minor cleanup in the use of IntegerType, to wit: 1. Type::getIntegerTypeMask -> IntegerType::getBitMask 2. Type::Int*Ty changed to IntegerType* from Type* 3. ConstantInt::getType() returns IntegerType* now, not Type* This also fixes PR1120. Patch by Sheng Zhou. llvm-svn: 33370
* rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger.Chris Lattner2007-01-151-4/+4
| | | | | | | | | rename Type::getIntegralTypeMask to Type::getIntegerTypeMask. This makes naming much more consistent. For example, there are now no longer any instances of IntegerType that are not considered isInteger! :) llvm-svn: 33225
* Update code to eliminate calls to isInteger, calling isIntegral instead.Chris Lattner2007-01-151-1/+1
| | | | llvm-svn: 33220
* Fix correlated exprs regressionsChris Lattner2007-01-151-2/+2
| | | | llvm-svn: 33214
* remove unneeded special casesChris Lattner2007-01-121-7/+0
| | | | llvm-svn: 33127
* Implement review feedback for the ConstantBool->ConstantInt merge. ChrisReid Spencer2007-01-121-3/+3
| | | | | | | | recommended that getBoolValue be replaced with getZExtValue and that get(bool) be replaced by get(const Type*, uint64_t). This implements those changes. llvm-svn: 33110
* Rename BoolTy as Int1Ty. Patch by Sheng Zhou.Reid Spencer2007-01-111-4/+4
| | | | llvm-svn: 33076
* For PR1043:Zhou Sheng2007-01-111-25/+25
| | | | | | | Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. llvm-svn: 33073
* Fix a bug in an assert that would never trigger.Reid Spencer2007-01-081-1/+1
| | | | llvm-svn: 33005
* Convert uses of getPrimitiveSize that should be getPrimitiveSizeInBits.Reid Spencer2007-01-081-9/+8
| | | | llvm-svn: 33003
* For PR950:Reid Spencer2006-12-231-96/+101
| | | | | | | | This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. llvm-svn: 32751
* Replace inferred getCast(V,Ty) calls with more strict variants.Reid Spencer2006-12-121-4/+4
| | | | | | | Rename getZeroExtend and getSignExtend to getZExt and getSExt to match the the casting mnemonics in the rest of LLVM. llvm-svn: 32514
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-1/+1
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Adjust to new ConstantIntegral interface for Max/Min tests.Reid Spencer2006-12-061-10/+56
| | | | llvm-svn: 32289
* Change inferred casts to explicit casts.Reid Spencer2006-12-041-9/+5
| | | | llvm-svn: 32165
* WTF? These weird newlines got in there...Bill Wendling2006-11-291-26/+0
| | | | llvm-svn: 31998
* Removed some of the iostream #includes. Moved towards converting to usingBill Wendling2006-11-281-3/+29
| | | | | | llvm streams llvm-svn: 31983
* For PR950:Reid Spencer2006-10-201-2/+2
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* Simplify some codeChris Lattner2006-09-281-2/+2
| | | | llvm-svn: 30658
* Move this to lib/Analysis.Andrew Lenharth2006-04-061-0/+332
This reduces Core size, yay. llvm-svn: 27468
OpenPOWER on IntegriCloud