aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/MathExtras.h
AgeCommit message (Expand)Author
2013-02-27Suppressing MSVC warnings; patch thanks to Peng Cheng!Aaron Ballman
2013-01-25Add parens to suppress an MSVC 2012 << precedence warningReid Kleckner
2013-01-17Reverting back to the fallback instead of using the 64-bit popcnt instruction...Aaron Ballman
2013-01-17Reverting back to the fallback instead of using popcnt; this instruction does...Aaron Ballman
2013-01-16Wrapping __popcnt64 for MSVC so that it's only used on 64-bit builds.Aaron Ballman
2013-01-16[Support] Include the intrisics header and check for definition properly.Michael J. Spencer
2013-01-16[Support] Add MSVC intrinsic for CountPopulation.Michael J. Spencer
2012-09-13Fix Doxygen issues:Dmitri Gribenko
2012-08-24Fix integer undefined behavior due to signed left shift overflow in LLVM.Richard Smith
2012-06-20Remove 'static' from inline functions defined in header files.Chandler Carruth
2011-12-12Hexagon backend supportTony Linthicum
2010-12-15Typo.Rafael Espindola
2010-12-15Generalize an assert.Rafael Espindola
2010-11-29Merge System into Support.Michael J. Spencer
2010-11-23reimplement SwapByteOrder.h in terms of overloading instead of Chris Lattner
2010-11-03Factor code out of APInt to form a isUIntN helper function.Dan Gohman
2010-10-11System: Add SwapByteOrder and update Support/MathExtras.h to use it.Michael J. Spencer
2010-10-11Revert "System: Add SwapByteOrder and update Support/MathExtras.h to use it."Michael J. Spencer
2010-10-11System: Add SwapByteOrder and update Support/MathExtras.h to use it.Michael J. Spencer
2010-08-17There is this new "LLVM" compiler that supports __builtin_bswap but thinks it...Benjamin Kramer
2010-04-06Avoid overflowing a signed integer which triggers undefined behaviour.Jakob Stoklund Olesen
2010-04-02Second try of initial ARM/Thumb disassembler check-in. It consists of a tablgenJohnny Chen
2010-03-29Make isInt?? and isUint?? template specializations of the generic versions. ThisBenjamin Kramer
2010-01-07Correct spelling.Duncan Sands
2009-10-26Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth
2009-08-28Add MathExtras.h OffsetToAlignment, like RoundUpToAlignment but returns theDaniel Dunbar
2009-08-13Fix the N>=64 case in the isInt<> and isUint<> templates.Jakob Stoklund Olesen
2009-08-12Move immediate constant predicate templates from the Blackfin target to MathE...Jakob Stoklund Olesen
2009-07-23Fix PR4614: the Intel C compiler defines _GNUC__Duncan Sands
2009-05-31Fix the name of the function in this comment.Dan Gohman
2009-05-13Add an int64_t variant of abs, for host environmentsDale Johannesen
2009-02-20Removed trailing whitespace.Misha Brukman
2009-02-16Add llvm::RoundUpToAlignment.Daniel Dunbar
2009-01-21Do not use host floating point types when emittingDale Johannesen
2008-06-27Add a NextPowerOf2 function to calculate the next power of two greater than a...Owen Anderson
2008-02-13Add count{Leading,Trailing}Ones_{32,64} functions with simple implementations.Dan Gohman
2008-01-26make this 64-bit safeChris Lattner
2007-12-29Don't attribute in file headers anymore. See llvmdev for theChris Lattner
2007-11-09Move MinAlign to MathExtras.h.Duncan Sands
2007-05-03remove extraneous type qualifiersChris Lattner
2007-04-16Removed tabs everywhere except autogenerated & external files. Add makeAnton Korobeynikov
2007-03-22Be more explicit concerning argument sizes.Jeff Cohen
2007-03-05Unbreak VC++ build.Jeff Cohen
2007-03-04fix 80 col violations, mark arrays staticChris Lattner
2007-03-02Fix uninitialized use of variable. Remove tabs and fix identation.Anton Korobeynikov
2007-03-02Fix a typo.Owen Anderson
2007-03-01Use GCC intrinsics when available, and use smarter fallbacks when not.Owen Anderson
2007-03-01Use the GCC built-in for PopulationCount when it's available, and use a fasterOwen Anderson
2006-12-19Doxgenate comments.Chris Lattner
2006-12-06Ignoring the upper 32 bits of a 64 bit constant is not a good thing.Jim Laskey