cd81d94322a39503e4a3e87b6ee03d4fcb3465fb |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for rebase to r212749. Includes a cherry-pick of: r212948 - fixes a small issue with atomic calls Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/include/llvm/Support/MathExtras.h
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/include/llvm/Support/MathExtras.h
|
20d7ed198978f871e91fde66e3b9a4a73a7c5396 |
|
13-Nov-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Removing llvm::huge_vald and llvm::huge_vall because they are not currently used, and HUGE_VALD does not appear to be supported everywhere anyways. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194535 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
eb3602472026dc029beb45ccbe09bc84162ba949 |
|
13-Nov-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Replacing HUGE_VALF with llvm::huge_valf in order to work around a warning triggered in MSVC 12. Patch reviewed by Reid Kleckner and Jim Grosbach. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194533 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
ae8e3cfbca31cddac5a891b1d5606399dd4fefe0 |
|
06-Aug-2013 |
Reid Kleckner <reid@kleckner.net> |
Use gnu style builtins in MathExtras.h with clang on Windows Clang does not provide BitScan* intrinsic implementations yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
3018f0ddd4677eadf33af4284b8fa41ed929a2f0 |
|
16-Jun-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Put back variable names because they are referenced in the documentation comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184051 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
48d5e750a8189c55087333d2bbc5dd0e1e07ddfa |
|
10-Jun-2013 |
Duncan Sands <baldrick@free.fr> |
Avoid warnings about unused parameters that tend to come up a lot when building outside projects with a different compiler than that used to build LLVM itself (eg switching between gcc and clang). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183650 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
3b77151a61d2985ad5b29ee3d05b34d553322c2a |
|
25-May-2013 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[Support] Remove Count{Leading,Trailing}Zeros_{32,64}. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182690 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
927d8dcb47a50b4471f5619733fb8196fa1e52ea |
|
25-May-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
MathExtras: Return the result of find(First|Last)Set in the input type. Otherwise ZB_Max returns a wrong result when sizeof(T) > sizeof(size_t). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
c6af2432c802d241c8fffbe0371c023e6c58844e |
|
25-May-2013 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182680 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
a0cfb8f21baf94fb8c40ff90bfc043de1ef700ec |
|
24-May-2013 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[Support][MathExtras] Add missing include and disable _BitScan{Forward,Reverse}64 on non x64 MSVC systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182671 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
36fe3f2b5651882b12e24b49dc7818ebb1a5d79f |
|
24-May-2013 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[Support] Add type generic bit utilities to MathExtras.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182667 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
b3508821533854b1879e7d6a83824b4ba84ce633 |
|
27-Feb-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Suppressing MSVC warnings; patch thanks to Peng Cheng! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
66f1f30725eb20760069823ec015234cce6b887c |
|
25-Jan-2013 |
Reid Kleckner <reid@kleckner.net> |
Add parens to suppress an MSVC 2012 << precedence warning It doesn't seem to like instantiating the isUInt<unsigned N> template with 6+3, and then doing <<N. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173507 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
cb4830cc99e790e0a76e1a9b1414e4b7e6e06134 |
|
17-Jan-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Reverting back to the fallback instead of using the 64-bit popcnt instruction as it doesn't exist on all x64 CPU architectures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
67828056ddfcfe089f9b5448839137508e39ac32 |
|
17-Jan-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Reverting back to the fallback instead of using popcnt; this instruction doesn't exist on all CPU architectures. Fixes PR14982 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172734 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
69877d6db907be210696282c9f9f41f977c844d2 |
|
17-Jan-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Wrapping __popcnt64 for MSVC so that it's only used on 64-bit builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172670 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
c8b909ae499e5b0d7e38ba5c54c35e98c936300b |
|
16-Jan-2013 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[Support] Include the intrisics header and check for definition properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
2dcc27367ccc0ce03a78336472b9476d708d351e |
|
16-Jan-2013 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[Support] Add MSVC intrinsic for CountPopulation. Patch by Jakub Staszak. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
2d9eb72178af8e79dc6432cd1b7d29bde16da1b9 |
|
13-Sep-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Fix Doxygen issues: * wrap code blocks in \code ... \endcode; * refer to parameter names in paragraphs correctly (\arg is not what most people want -- it starts a new paragraph). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163790 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
1144af3c9b4da48cd581156e05b24261c8de366a |
|
25-Aug-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix integer undefined behavior due to signed left shift overflow in LLVM. Reviewed offline by chandlerc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
305b515c2787f47adecbe120e4b4bef55c5e5525 |
|
20-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Remove 'static' from inline functions defined in header files. There is a pretty staggering amount of this in LLVM's header files, this is not all of the instances I'm afraid. These include all of the functions that (in my build) are used by a non-static inline (or external) function. Specifically, these issues were caught by the new '-Winternal-linkage-in-inline' warning. I'll try to just clean up the remainder of the clearly redundant "static inline" cases on functions (not methods!) defined within headers if I can do so in a reliable way. There were even several cases of a missing 'inline' altogether, or my personal favorite "static bool inline". Go figure. ;] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
b4b54153ad760c69a00a08531abef4ed434a5092 |
|
12-Dec-2011 |
Tony Linthicum <tlinth@codeaurora.org> |
Hexagon backend support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146412 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
c42a7754bb6249c33c509e6fa6e8b3c9344e72d8 |
|
15-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121906 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
b35d56c2fe39064a33d0e4e7faf5464b6d8a7352 |
|
15-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Generalize an assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121851 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
1f6efa3996dd1929fbc129203ce5009b620e6969 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
3afc385042fb0d121e9454347f975e4f1a5f5bfd |
|
23-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
reimplement SwapByteOrder.h in terms of overloading instead of being in terms of excessively complex template logic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119992 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
5005e27f9714f0eaa5b8b7a5a1f6751afa163f07 |
|
03-Nov-2010 |
Dan Gohman <gohman@apple.com> |
Factor code out of APInt to form a isUIntN helper function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
4c099b8724abf993262366e2a871004a2777becb |
|
11-Oct-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
System: Add SwapByteOrder and update Support/MathExtras.h to use it. This time correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116247 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
af72684eeab67c227e4ee45cc91ae05513102fa8 |
|
11-Oct-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Revert "System: Add SwapByteOrder and update Support/MathExtras.h to use it." This reverts commit 116234. It compiled just fine with MSVC and clang... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116242 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
5031e0d97709658d552e33b2f5bd8957b4e6171e |
|
11-Oct-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
System: Add SwapByteOrder and update Support/MathExtras.h to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116234 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
755525ad233b15c7811b2860f74f70b7c5a20778 |
|
17-Aug-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
There is this new "LLVM" compiler that supports __builtin_bswap but thinks it's gcc 4.2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111228 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
adc6e06ff0c5950abda86574c2da1fc6b863b75c |
|
06-Apr-2010 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Avoid overflowing a signed integer which triggers undefined behaviour. Overflowing an unsigned integer is fine and behaves as you would expect. Also fix a pasto, allowing SignExtend64 to take a 64-bit argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
b68a3ee82a8a34f7bae1d68d76f574e76a5535ef |
|
03-Apr-2010 |
Johnny Chen <johnny.chen@apple.com> |
Second try of initial ARM/Thumb disassembler check-in. It consists of a tablgen backend (ARMDecoderEmitter) which emits the decoder functions for ARM and Thumb, and the disassembler core which invokes the decoder function and builds up the MCInst based on the decoded Opcode. Reviewed by Chris Latter and Bob Wilson. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100233 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
34247a0f356edf45ae3ad9ce04e1f90a77c6dba7 |
|
29-Mar-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Make isInt?? and isUint?? template specializations of the generic versions. This makes calls a little bit more consistent and allows easy removal of the specializations in the future. Convert all callers to the templated functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
452394d812816b05f626d414ce6dbd3b87d45a73 |
|
07-Jan-2010 |
Duncan Sands <baldrick@free.fr> |
Correct spelling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
8b67f774e9c38b7718b2b300b628388f966df4e0 |
|
26-Oct-2009 |
Chandler Carruth <chandlerc@gmail.com> |
Move DataTypes.h to include/llvm/System, update all users. This breaks the last direct inclusion edge from System to Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
eccf22528f8b4c21cdbd2f620cbe39dbb38ea6e1 |
|
28-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add MathExtras.h OffsetToAlignment, like RoundUpToAlignment but returns the offset to the next aligned integer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80339 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
d4c00c0f558193b492aed9ab6aacf84bf1d3fb4e |
|
13-Aug-2009 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Fix the N>=64 case in the isInt<> and isUint<> templates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78899 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
d6eb635d1a1317fc3d218056ec77ec242c2413cb |
|
12-Aug-2009 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Move immediate constant predicate templates from the Blackfin target to MathExtras.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78793 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
17e4aa7d0a0aa67a115da82319534f9e425d960a |
|
23-Jul-2009 |
Duncan Sands <baldrick@free.fr> |
Fix PR4614: the Intel C compiler defines _GNUC__ but does not provide __builtin_bswap32/64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76896 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
55b42513e1548554bfacc72d48ec3483c73fddf9 |
|
31-May-2009 |
Dan Gohman <gohman@apple.com> |
Fix the name of the function in this comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
7b9486ad4355a010d22e0737cee9cd7c7b747ece |
|
13-May-2009 |
Dale Johannesen <dalej@apple.com> |
Add an int64_t variant of abs, for host environments without one. Use it where we were using abs on int64_t objects. (I strongly suspect the casts to unsigned in the fragments in LoopStrengthReduce are not doing whatever the original intent was, but the obvious change to uint64_t doesn't work. Maybe later.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71612 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
fe2cce63aa26d0916fa7be32c6bf7fa8fb059ee7 |
|
20-Feb-2009 |
Misha Brukman <brukman+llvm@gmail.com> |
Removed trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65196 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
e2a8dfefe5740377dbc323a84337c45d37410ea8 |
|
16-Feb-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add llvm::RoundUpToAlignment. - No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64691 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
541ed9fd02ea48d2739f4a9dd681ba2d5da26886 |
|
21-Jan-2009 |
Dale Johannesen <dalej@apple.com> |
Do not use host floating point types when emitting ASCII IR; loading and storing these can change the bits of NaNs on some hosts. Remove or add warnings at a few other places using host floating point; this is a bad thing to do in general. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
d98a45d29a6047bd47d3a3cd83c13ac0dac851fb |
|
27-Jun-2008 |
Owen Anderson <resistor@mac.com> |
Add a NextPowerOf2 function to calculate the next power of two greater than a given integer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52839 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
ca2a0e1062545651efd20dca1f647b864ede4a39 |
|
13-Feb-2008 |
Dan Gohman <gohman@apple.com> |
Add count{Leading,Trailing}Ones_{32,64} functions with simple implementations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
dc97d4cb2f0eb99a8143272128b76ab45db4ab09 |
|
26-Jan-2008 |
Chris Lattner <sabre@nondot.org> |
make this 64-bit safe git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
7ed47a13356daed2a34cd2209a31f92552e3bdd8 |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Don't attribute in file headers anymore. See llvmdev for the discussion of this change. Boy are my fingers tired. ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
fd617d0143a158bc1c996445262d409280e7b0cc |
|
09-Nov-2007 |
Duncan Sands <baldrick@free.fr> |
Move MinAlign to MathExtras.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43944 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
18a4c74136a9919dc3235d03c0e060f32d01f3b0 |
|
03-May-2007 |
Chris Lattner <sabre@nondot.org> |
remove extraneous type qualifiers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36679 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
bed2946a96ecb15b0b636fa74cb26ce61b1c648e |
|
16-Apr-2007 |
Anton Korobeynikov <asl@math.spbu.ru> |
Removed tabs everywhere except autogenerated & external files. Add make target for tabs checking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36146 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
c3c395cf5e401328836e81c18cb70eef1b9ea5ac |
|
22-Mar-2007 |
Jeff Cohen <jeffc@jolt-lang.org> |
Be more explicit concerning argument sizes. Use VC++ byteswap intrinsics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
ca5183d445954a9b2a570d6bbba1bc2b00ad6442 |
|
05-Mar-2007 |
Jeff Cohen <jeffc@jolt-lang.org> |
Unbreak VC++ build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34917 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
82a60eca8fb5761817960e75fd469246496f8dce |
|
05-Mar-2007 |
Chris Lattner <sabre@nondot.org> |
fix 80 col violations, mark arrays static git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34915 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
e6efc859398498c3a08a3f36e82c63a706ae0d7e |
|
02-Mar-2007 |
Anton Korobeynikov <asl@math.spbu.ru> |
Fix uninitialized use of variable. Remove tabs and fix identation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34850 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
a505fb6d9f1684a56680635a38e45a9c14d910e6 |
|
02-Mar-2007 |
Owen Anderson <resistor@mac.com> |
Fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
c100b96b1536ef92cadac28bd268da105a67d4a0 |
|
01-Mar-2007 |
Owen Anderson <resistor@mac.com> |
Use GCC intrinsics when available, and use smarter fallbacks when not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
2a934cb6072bb0840b39e899e02ad9dea95b18dc |
|
01-Mar-2007 |
Owen Anderson <resistor@mac.com> |
Use the GCC built-in for PopulationCount when it's available, and use a faster algorithm when it's not. This should be particularly noticeable in the 64-bit case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34776 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
49e6a9bc94a115d674502009b396c1a22fb1b1a1 |
|
19-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
Doxgenate comments. Add GreatestCommonDivisor64 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32661 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
a091fa861987b603669d730cce7365189744ab0f |
|
06-Dec-2006 |
Jim Laskey <jlaskey@mac.com> |
Ignoring the upper 32 bits of a 64 bit constant is not a good thing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
f42d1ddb18132ff3be2e7fbff24dace5415216da |
|
12-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
remove IncludeFile turds in MathExtras.h, which bloats every .o file that #includes it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29639 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
7107c3badfe78ec89dcab6c02cf1b1bcaccc42a8 |
|
26-Jul-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR780: 1. Move IncludeFile.h to System library 2. Move IncludeFile.cpp to System library 3. #1 and #2 required to prevent cyclic library dependencies for libSystem 4. Convert all existing uses of Support/IncludeFile.h to System/IncludeFile.h 5. Add IncludeFile support to various lib/System classes. 6. Add new lib/System classes to LinkAllVMCore.h All this in an attempt to pull in lib/System to what's required for VMCore git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29287 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
0683c8cad920d241d44b126972d5cdd164dcc213 |
|
18-Jul-2006 |
Chris Lattner <sabre@nondot.org> |
Add functions to compute ceil(log2(N)) to match functions for floor(log2(N)) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29168 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
72a8e6f58cc7fd666f74a03c42cab616ddac7402 |
|
22-Jun-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Whoops, missed a couple more C-style casts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28905 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
54cb98578ac2eff4d5986eff7d2b18c66561d683 |
|
21-Jun-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Use C++ style casts instead of C-style casts to shut up compiler warnings when compiling with -pedantic. Passes regression tests on Linux. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
19b7e0e0cabfa6dfc559c64e3d6ed053832c4047 |
|
24-May-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR786: Minor tweaks in public headers and a few .cpp files so that LLVM can build successfully with -pedantic and projects using LLVM with -pedantic don't get warnings from LLVM. There's still more -pedantic warnings to fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28453 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
b69c190c26da6d83391a4956ed2dfc0fe45b5bfa |
|
14-Jan-2006 |
Jeff Cohen <jeffc@jolt-lang.org> |
Fix generous source of VC++ truncation warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25311 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
6fb3bd6a658940287789198d3207b0da04c0a4e6 |
|
14-Jan-2006 |
Nate Begeman <natebegeman@mac.com> |
Add bswap intrinsics as documented in the Language Reference git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
cadee65f5411a09f6a75157febaac668fc1bd56e |
|
07-Oct-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Remove prolific source of VC++ truncation warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23657 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
16d6ea526482e733fe3bc63929e94c9e88b6708d |
|
31-Aug-2005 |
Nate Begeman <natebegeman@mac.com> |
Add support for count trailing zeroes, and population count. These are needed for folding constants in the upcoming dag combiner. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23163 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
104338913500d007996056ad092e195009883a84 |
|
18-Aug-2005 |
Jim Laskey <jlaskey@mac.com> |
include/llvm/Support/MathExtras.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
59b8fcfa5f736dff4a08ebcac032935b6fd92f34 |
|
17-Aug-2005 |
Jim Laskey <jlaskey@mac.com> |
Added support for converting raw bits to FP, and FP to raw bits. The intent is to avoid the distraction of the union declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22830 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
2be12faabb3ce2d2d3979c73ac65d466fdea5ec5 |
|
03-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Fix an obvious bug in the Log2 stuff that broke SingleSource/UnitTests/2005-05-12-Int64ToFP last night. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22630 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
89bfcd34cbd2f4c6bb2cafff0a5c2bff147fae11 |
|
03-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Wrap comments to 80 cols, fix code sequence for CountLeadingZeros_64 on non-ppc GCC 4.0 machines. Patch by Jim Laskey! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
865dc8f64f50b72dbc8acb7851e606357f9d81f1 |
|
03-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Fix another bug in the clz patch that caused miscompilations when !gcc4 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
e6ec587059eb142467cc8a5915946a3b308cb9b7 |
|
02-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Fix the non-gcc 4.0 paths for countleadingzeros Patch fixed by Jim Laskey git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22598 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
591083a5c7deeb79e988182285c45bf68b9c68a7 |
|
02-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Fix inverted conditionals git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
3b65576527b7e0098a401289f9245eb5266fda31 |
|
02-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Fix the non-gcc 4.0 path to compile git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22593 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
88c606eb0cc5415ed367c24e073f7bb478501d34 |
|
02-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Consolidate all of the various log2 computing functions into MathExtras.h. Also, provide accelerated implementations when building with GCC. Patch contributed by Jim Laskey! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22591 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
63b3afa98460ce38a1c48d3c44ef6edfdaf37b77 |
|
21-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
551ccae044b0ff658fe629dd67edd5ffe75d10e8 |
|
02-Sep-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Changes For Bug 352 Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
e265504e82310266271fa2329b6ef8115bbe8244 |
|
17-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
Add an overload git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15889 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
a7d03b466a41e68e11480ae6ca275140fe4c4507 |
|
21-Jul-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Add prototypes for platform-independent wrappers for isinf(). Patch contributed by Bill Wendling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15055 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
7764f4b2e0e550dc23f3c536f236f9abf86879dc |
|
23-Jun-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Provide prototypes for IsNAN() wrapper. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14339 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
bb92f6fbf2c36b3530f33eb2e8d1842764ec9fdd |
|
25-Feb-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Cygwin defines log2 as a macro. Undef it here IFF it has already been defined, so that we always get the inline function instead. Remember, kids, like it says in the GCC manual, "An Inline Function is As Fast As a Macro." git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11815 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
8b70b78ba489b090d9866e6a4084ab1e8613b527 |
|
16-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
Fixes for PR114: Thanks to Reid Spencer! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10029 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
d0fde30ce850b78371fd1386338350591f9ff494 |
|
11-Nov-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Put all LLVM code into the llvm namespace, as per bug 109. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
b2109ce97881269a610fa4afbcbca350e975174d |
|
20-Oct-2003 |
John Criswell <criswell@uiuc.edu> |
Added LLVM notice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9300 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
48486893f46d2e12e926682a3ecb908716bc66c4 |
|
30-Sep-2003 |
Chris Lattner <sabre@nondot.org> |
Standardize header file comments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
a9f6e4ae0eaea69949755807b7207177f256eace |
|
17-Jun-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Regularize the names of #include-guards. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
4a63b72df95b5c0d4af064cef19377f811ba6060 |
|
28-Oct-2002 |
Chris Lattner <sabre@nondot.org> |
Don't #include <Support/*>, #include "Support/*" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4325 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
16ca2b991b07c85237e53e8b0c97f30c4cbc6e3d |
|
18-Sep-2002 |
Chris Lattner <sabre@nondot.org> |
Fix ambiguity problem due to builtin log2(double) function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
54ea60c69e69b8e5a464a1d7688ceec5c68bacd5 |
|
19-May-2002 |
Chris Lattner <sabre@nondot.org> |
Cleanups, rename IsPowerOf2 to isPowerOf2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2662 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
bcfa423e3d1a2a385b56e3ec0f03137f0c33efc7 |
|
19-May-2002 |
Vikram S. Adve <vadve@cs.uiuc.edu> |
Added log2 for log-base-2 and also modified IsPower2 to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2653 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|
cee8f9ae67104576b2028125b56e9ba4856a1d66 |
|
27-Nov-2001 |
Chris Lattner <sabre@nondot.org> |
Create a new #include "Support/..." directory structure to move things from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/MathExtras.h
|