aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Constants.cpp
AgeCommit message (Expand)Author
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
2010-12-04Apparently APFloat::getZero doesn't like PPCDoubleDoubles.Benjamin Kramer
2010-12-04Simplify code. No functionality change.Benjamin Kramer
2010-11-20Simplify code. No change in functionality.Benjamin Kramer
2010-08-28remove unions from LLVM IR. They are severely buggy and notChris Lattner
2010-08-02Prefix `next' iterator operation with `llvm::'.Oscar Fuentes
2010-08-01Preallocate vector, avoid unnecessary vector growth.Benjamin Kramer
2010-07-17Fix PR7658, a problem where type refinement can triggerChris Lattner
2010-05-03Remove the API compatibility layer which converted add, sub, and mulDan Gohman
2010-04-12Simplify this code.Dan Gohman
2010-03-30move some method definitions to files that make sense.Chris Lattner
2010-03-29add support for zero initialized unions, patch by Tim Northover!Chris Lattner
2010-03-25rename use_const_iterator to const_use_iterator for consistency's sakeGabor Greif
2010-02-18replaceUsesOfWithOnConstant implementation for unions.Talin
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands
2010-02-12Add support for a union type in LLVM IR. Patch by Talin!Chris Lattner
2010-02-02Adding missing methods for creating Add, Mul, Neg and Sub with NUW.Duncan Sands
2010-02-01eliminate a bunch of pointless LLVMContext arguments.Chris Lattner
2010-02-01Add a getNUWMul function.Dan Gohman
2010-02-01Add a generalized form of ConstantExpr::getOffsetOf which works forDan Gohman
2010-01-28Make getAlignOf return an i64, for consistency with getSizeOf andDan Gohman
2010-01-28Remove SCEVAllocSizeExpr and SCEVFieldOffsetExpr, and in their placeDan Gohman
2010-01-26fix CastInst::castIsValid to reject aggregate types, fixing PR6153:Chris Lattner
2010-01-21Fix a crasher trying to fold each element in a comparison between two vectorsNick Lewycky
2010-01-05Move remaining stuff to the isInteger predicate.Benjamin Kramer
2010-01-05Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer
2010-01-05Change errs() to dbgs().David Greene
2010-01-03differences between two blockaddress's don't cause a Chris Lattner
2009-12-30remove some misleading comments.Chris Lattner
2009-12-29add a layer of accessors around the Value::SubClassData member, and use Chris Lattner
2009-12-18Add utility routines for NSW multiply.Dan Gohman
2009-12-18Add utility routines for creating integer negation operators with NSW set.Dan Gohman
2009-12-08whitespace cleanupChris Lattner
2009-11-06Pass StringRef by value.Daniel Dunbar
2009-11-01remove a bunch of locking from LLVMContextImpl. Since only one threadChris Lattner