aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Constants.cpp
Commit message (Expand)AuthorAgeFilesLines
* add a Constant::getAllOnesValue helper function, which works on integersChris Lattner2007-06-151-0/+5
* Minor comment cleanups.Dan Gohman2007-05-241-5/+5
* Allow ConstantInt::get(Ty, uint64_t) to interpret the 64-bit values as aReid Spencer2007-03-191-2/+2
* Added ContainsRelocations() to check if a constant might only be resolvable a...Evan Cheng2007-03-081-0/+11
* Drop the ConstantInt(const Type&, const APInt&) constructor. It isReid Spencer2007-03-011-14/+9
* Implement a convenience method to construct a ConstantInt directly from anReid Spencer2007-02-281-0/+4
* Remove some redundancy.Reid Spencer2007-02-271-4/+1
* Correct the implelmentation of ConstantInt::getAllOnesValue() for bitReid Spencer2007-02-271-1/+1
* ConstantFolding.cpp/h -> ConstantFold.cpp/h to avoid confusion withChris Lattner2007-02-271-1/+1
* For PR1205:Reid Spencer2007-02-261-16/+49
* This cast broke lots of tests.Evan Cheng2007-02-201-1/+1
* switch ConstantFP's from ValueMap to DenseMap, which is much faster to queryChris Lattner2007-02-201-51/+59
* cleanup ConstantInt to use a single DenseMap for uniquing instead of theChris Lattner2007-02-201-50/+63
* Make ConstantInt::getTrue/getFalse be llvm_shutdown safe.Chris Lattner2007-02-201-5/+24
* Clean up the internals of the ConstantInt machineryChris Lattner2007-02-201-9/+6
* simplify some code that was not llvm_shutdown safeChris Lattner2007-02-201-36/+5
* llvm-gcc issue fixed, revert reversal :)Chris Lattner2007-02-191-20/+15
* Temporarily reverting the patch. It's breaking llvm-gcc build.Evan Cheng2007-02-191-15/+20
* remove dead methodsChris Lattner2007-02-191-20/+15
* For PR1195:Reid Spencer2007-02-151-6/+6
* For PR1195:Reid Spencer2007-02-151-39/+39
* A value of 64 or fewer bits is valid if the ConstantInt has more then 64 bits.Reid Spencer2007-02-051-4/+2
* For PR411:Reid Spencer2007-02-051-1/+1
* Changes to support making the shift instructions be true BinaryOperators.Reid Spencer2007-02-021-35/+2
* Revise APIs for creating constantexpr GEPs to not require the use of vectors.Chris Lattner2007-01-311-22/+19
* Clean up comments and assert messages that still refer to the old type names.Reid Spencer2007-01-261-12/+12
* Whoops, fix typo in last commit.Reid Spencer2007-01-211-6/+6
* For PR970:Reid Spencer2007-01-211-4/+17
* For PR1043:Reid Spencer2007-01-191-2/+2
* rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger.Chris Lattner2007-01-151-24/+24
* don't discriminate against i1Chris Lattner2007-01-151-9/+9
* Allow isAllOnesValue testing on packed constantsJim Laskey2007-01-121-0/+16
* For PR1064:Reid Spencer2007-01-121-45/+50
* Implement review feedback for the ConstantBool->ConstantInt merge. ChrisReid Spencer2007-01-121-2/+6
* Rename BoolTy as Int1Ty. Patch by Sheng Zhou.Reid Spencer2007-01-111-12/+12
* For PR1043:Zhou Sheng2007-01-111-31/+12
* Add a new ConstantPacked::getAllOnesValue methodChris Lattner2007-01-041-0/+12
* For PR950:Reid Spencer2006-12-311-75/+36
* Fix some comments.Reid Spencer2006-12-241-2/+2
* For PR950:Reid Spencer2006-12-231-40/+25
* Make ConstantInt not care about sign any more. To ensure the AsmParser canReid Spencer2006-12-191-14/+19
* Remove the two-argument (inferred cast) form of ConstantExpr::getCast nowReid Spencer2006-12-181-7/+0
* Partial unbreak of VC++ (stream stuff has no easy fix).Jeff Cohen2006-12-151-0/+1
* Replace inferred getCast(V,Ty) calls with more strict variants.Reid Spencer2006-12-121-6/+6
* Don't create usless casts for same-bith-width floating point casts.Reid Spencer2006-12-121-2/+3
* Implement getIntegerCast and getFPCast for ConstantExpr. These are similarReid Spencer2006-12-121-0/+23
* Packed StructuresAndrew Lenharth2006-12-081-3/+2
* Provide a getOpcode() method on CmpInst to ensure the opcode is returnedReid Spencer2006-12-071-2/+1
* For PR950:Reid Spencer2006-12-061-47/+0
* Bail on the getInferredCast idea. Remove the function and convertReid Spencer2006-12-051-8/+8