aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Constants.cpp
AgeCommit message (Expand)Author
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
2011-07-19Convert ConstantFoldGetElementPtr to use ArrayRef.Jay Foad
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-07-17tidy upChris Lattner
2011-07-15remove the old and dangerous uncheckedReplaceAllUsesWith method,Chris Lattner
2011-07-15devirtualize Constant::isNullValue:Chris Lattner
2011-07-15add CFP::isNegative() and ConstnatInt::isNegative() methods.Chris Lattner
2011-07-13Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad
2011-07-12Second attempt at de-constifying LLVM Types in FunctionType::get(),Jay Foad
2011-07-12simplify assertions to not be completely redundant.Chris Lattner
2011-07-12Revert r134893 and r134888 (and related patches in other trees). It was causingBill Wendling
2011-07-11De-constify Types in StructType::get() and TargetData::getIntPtrType().Jay Foad
2011-07-10Silence -Wunused-variable in release builds.Chandler Carruth
2011-07-09the various ConstantExpr::get*Ty methods existed to work with issues aroundChris Lattner
2011-07-09Land the long talked about "type system rewrite" patch. ThisChris Lattner
2011-06-28PR10210: New method ConstantArray::getAsCString(). Use it in LTO toJay Foad
2011-06-22Replace the existing forms of ConstantArray::get() with a single formJay Foad
2011-06-22Make ConstantVector::get() always take an ArrayRef, never a std::vector.Jay Foad
2011-06-22Eliminate a temporary std::vector in ConstantStruct::get().Jay Foad
2011-06-20Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner
2011-06-18fix the varargs version of StructType::get to not require an LLVMContext, mak...Chris Lattner
2011-04-23Remove unused STL header includes.Jay Foad
2011-04-13PR9214: Convert ConstantExpr::getIndices() to return an ArrayRef, plusJay Foad
2011-04-13Remove some redundant llvm:: prefixes.Jay Foad
2011-04-13PR9214: Convert ConstantExpr::getWithOperands() to use ArrayRef.Jay Foad
2011-03-06ConstantInt has some getters which return ConstantInt's or ConstantVector's ofNick Lewycky
2011-03-01Added missing va_end().Talin
2011-02-28Add an END_WITH_NULL accessor for ConstantStruct.Talin
2011-02-18hoist GlobalValue::removeDeadConstantUsers up to being a method on Constant.Chris Lattner
2011-02-17Enhance constant folding of bitcast operations on vectors of floats.Nadav Rotem
2011-02-15convert ConstantVector::get to use ArrayRef.Chris Lattner
2011-02-14revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner
2011-02-14Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner
2011-02-11make ConstantExpr::replaceUsesOfWithOnConstant preserve the inboundsChris Lattner
2011-02-11make the constantexpr interfaces for inbounds GEPs follow the same styleChris Lattner
2011-02-10switch the constantexpr, target folder, and IRBuilder interfacesChris Lattner
2011-02-09refactor ConstantExpr interfaces a bit around "exactness".Chris Lattner
2011-02-07fix comment change.Chris Lattner
2011-02-07implement .ll and .bc support for nsw/nuw on shl and exact on lshr/ashr.Chris Lattner
2011-02-06enhance vmcore to know that udiv's can be exact, and add a trivialChris Lattner
2011-02-01Have m_One also match constant vectors for which every element is 1.Duncan Sands
2011-01-27Fix indentation.Jay Foad
2011-01-14Remove casts between Value** and Constant**, which won't work if aJay Foad