aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/MathExtras.h
AgeCommit message (Expand)Author
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
2006-08-11remove IncludeFile turds in MathExtras.h, which bloats every .o file thatChris Lattner
2006-07-26For PR780:Reid Spencer
2006-07-18Add functions to compute ceil(log2(N)) to match functions for floor(log2(N))Chris Lattner
2006-06-21Whoops, missed a couple more C-style casts.Reid Spencer
2006-06-21Use C++ style casts instead of C-style casts to shut up compiler warningsReid Spencer
2006-05-24For PR786:Reid Spencer
2006-01-14Fix generous source of VC++ truncation warnings.Jeff Cohen
2006-01-14Add bswap intrinsics as documented in the Language ReferenceNate Begeman
2005-10-07Remove prolific source of VC++ truncation warnings.Jeff Cohen
2005-08-31Add support for count trailing zeroes, and population count. These areNate Begeman
2005-08-17include/llvm/Support/MathExtras.hJim Laskey
2005-08-17Added support for converting raw bits to FP, and FP to raw bits. The intentJim Laskey
2005-08-03Fix an obvious bug in the Log2 stuff that broke SingleSource/UnitTests/2005-0...Chris Lattner
2005-08-03Wrap comments to 80 cols, fix code sequence for CountLeadingZeros_64 onChris Lattner
2005-08-03Fix another bug in the clz patch that caused miscompilations when !gcc4Chris Lattner
2005-08-02Fix the non-gcc 4.0 paths for countleadingzerosChris Lattner
2005-08-02Fix inverted conditionalsChris Lattner
2005-08-02Fix the non-gcc 4.0 path to compileChris Lattner
2005-08-02Consolidate all of the various log2 computing functions into MathExtras.h.Chris Lattner
2005-04-21Remove trailing whitespaceMisha Brukman
2004-09-01Changes For Bug 352Reid Spencer
2004-08-17Add an overloadChris Lattner
2004-07-21Add prototypes for platform-independent wrappers for isinf().Brian Gaeke
2004-06-23Provide prototypes for IsNAN() wrapper.Brian Gaeke
2004-02-25Cygwin defines log2 as a macro. Undef it here IFF it has already been defined,Brian Gaeke
2003-11-16Fixes for PR114: Thanks to Reid Spencer!Chris Lattner
2003-11-11Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke
2003-10-20Added LLVM notice.John Criswell
2003-09-30Standardize header file commentsChris Lattner
2003-06-17Regularize the names of #include-guards.Brian Gaeke
2002-10-28Don't #include <Support/*>, #include "Support/*"Chris Lattner
2002-09-17Fix ambiguity problem due to builtin log2(double) functionChris Lattner
2002-05-19Cleanups, rename IsPowerOf2 to isPowerOf2Chris Lattner
2002-05-19Added log2 for log-base-2 and also modified IsPower2 to use it.Vikram S. Adve