aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Constants.cpp
AgeCommit message (Expand)Author
2012-02-07Reserve space in these vectors to prevent having to grow the array tooBill Wendling
2012-02-05Convert assert(0) to llvm_unreachableCraig Topper
2012-02-05Efficient Constant Uniquing.Talin
2012-02-05reapply the patches reverted in r149470 that reenable ConstantDataArray,Chris Lattner
2012-02-01Revert Chris' commits up to r149348 that started causing VMCoreTests unit tes...Argyrios Kyrtzidis
2012-01-31eliminate the "string" form of ConstantArray::get, usingChris Lattner
2012-01-31with recent changes, ConstantArray is never a "string". Remove the associatedChris Lattner
2012-01-31fix a small oversight that broke the fhourstones app.Chris Lattner
2012-01-31Change ConstantArray::get to form a ConstantDataArray when possible,Chris Lattner
2012-01-30Various improvements suggested by DuncanChris Lattner
2012-01-30First step of flipping on ConstantDataSequential: enable ConstantDataVectorChris Lattner
2012-01-27continue making the world safe for ConstantDataVector. At this point,Chris Lattner
2012-01-26smallvectorize and ArrayRef'ize some stuff.Chris Lattner
2012-01-26Reduce a lot of code duplication by implementing Chris Lattner
2012-01-26eliminate the Constant::getVectorElements method. There are better (andChris Lattner
2012-01-26Add a ConstantDataVector::getSplatValue() method, for parity withChris Lattner
2012-01-26some general cleanup, using new methods and tidying up old code.Chris Lattner
2012-01-25constify some methods and add a new Constant::getAggregateElementChris Lattner
2012-01-25reapply r148901 with a crucial fix.Chris Lattner
2012-01-25Fix assert("msg"). Fix unused-variable warnings complaining about VT used onlyNick Lewycky
2012-01-25Revert r148901 because it crashes llvm tests.Argyrios Kyrtzidis
2012-01-25Introduce a new ConstantVector::getSplat constructor function to Chris Lattner
2012-01-25Remove the Type::getNumElements() method, which is only called in 4 places,Chris Lattner
2012-01-24C++, CBE, and TLOF support for ConstantDataSequentialChris Lattner
2012-01-24Rearrange argument order of ::get methods so that LLVMContext comes first,Chris Lattner
2012-01-24add more support for ConstantDataSequentialChris Lattner
2012-01-24Add AsmPrinter (aka MCLowering) support for ConstantDataSequential, Chris Lattner
2012-01-24Add various "string" methods to ConstantDataSequential, which have theChris Lattner
2012-01-24teach valuetracking about ConstantDataSequentialChris Lattner
2012-01-24Add some accessor methods to CAZ and UndefValue that help simplify clients.Chris Lattner
2012-01-24implement the ConstantDataSequential accessor methods.Chris Lattner
2012-01-23start the implementation of a new ConstantDataVector and ConstantDataArrayChris Lattner
2012-01-23convert CAZ, UndefValue, and CPN to use DenseMap's again, this time withoutChris Lattner
2012-01-23revert r148691 and 148693Chris Lattner
2012-01-23switch UndefValue and ConstantPointerNull over to DenseMap's for uniquing.Chris Lattner
2012-01-23Replace a use of ConstantUniqueMap for CAZ constants with a simple DenseMap.Chris Lattner
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie
2011-12-20Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_...David Blaikie
2011-12-17The powers that be have decided that LLVM IR should now support 16-bitDan Gohman
2011-12-05Add support for vectors of pointers.Nadav Rotem
2011-11-14Fold ConstantVector::isAllOnesValue into Constant::isAllOnesValue and simplif...Benjamin Kramer
2011-09-21Change:Richard Trieu
2011-08-24Implement Constant::isAllOnesValue(). Fix ConstantFolding to use the new api.Nadav Rotem
2011-08-23Revert "Address Duncan's CR request:"Eric Christopher
2011-08-23Address Duncan's CR request:Nadav Rotem
2011-08-07strengthen up an assertion: you can't create a constant structChris Lattner
2011-07-25Use ArrayRef in the (protected) constructors of ConstantArray, ConstantStruct...Jay Foad
2011-07-25Convert GetElementPtrInst to use ArrayRef.Jay Foad
2011-07-21Make better use of ConstantExpr::getGetElementPtr's InBounds parameter.Jay Foad
2011-07-21Convert ConstantExpr::getGetElementPtr andJay Foad