History log of /external/llvm/include/llvm/Support/Compiler.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
75c0d8e0d8f4e10587985b950f2c0752e45e099e 09-Mar-2012 Daniel Dunbar <daniel@zuster.org> [Support] Drop verbose _ATTRIBUTE from LLVM_ATTRIBUTE_{READONLY,READNONE} macro
names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
283b419aea736f899d1e0de70b2c0355d51d6826 15-Nov-2011 NAKAMURA Takumi <geek4civic@gmail.com> include/llvm/Support/Compiler.h: Invalidate LLVM_ATTRIBUTE_WEAK on cygming for now.

It triggers generating insane executables with both binutils-2.19.1(msysgit) and 2.22.51.20111013(cygwin).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
ec381a4183f70122305f810c6b11b8f0e3bf83c0 15-Nov-2011 Nick Lewycky <nicholas@mxc.ca> Fix linking for some users who already have tsan enabled code and are trying to
link it against llvm code, by making our definitions weak. "Some users."


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144596 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
8f4a17214c75e8ce3f2f88a2e3cd3300faba5fc6 01-Nov-2011 Daniel Dunbar <daniel@zuster.org> Support/Compiler: Add LLVM_EXTENSION for use where we want to hide pedantic diags.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143468 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
b121bfcc22660b1bdfb1183b191b6516988bcaf5 14-Mar-2011 John McCall <rjmccall@apple.com> Version N of the llvm_unreachable patch: VC++ doesn't recognize that abort()
doesn't return, so just go back to using the old runtime function instead
of trying to use abort() when __builtin_unreachable (or an equivalent) isn't
supported.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
fb32507d099849ab1fa3ee43f4578c3a0e971736 14-Mar-2011 John McCall <rjmccall@apple.com> Okay, some compilers complain if you provide the exception-specification
where none was before. Just don't declare it and hope it's declared
in every translation unit that needs it.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127612 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
f32b3c54f020e9416aa74410d43c2452e57d3ae0 14-Mar-2011 John McCall <rjmccall@apple.com> Fix the exception-specification of abort() when declaring it in C++.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
2f9a9ed785416a7350f30141fcc405b69a1b9d5d 14-Mar-2011 John McCall <rjmccall@apple.com> Make llvm_unreachable evaluate to __builtin_unreachable() in -Asserts
builds, which was the apparent consensus of PR8973 and llvmdev.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127608 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
965841cfe4de695fc56cab4821fd7e032ff85b83 17-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> Support/Path: Deprecate PathV1::isAbsolute.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
10d3191cf1cb02e52e595eeac9d8bc353113e8f0 25-Oct-2010 Duncan Sands <baldrick@free.fr> Remove deprecated macro names. Hopefully this will unbreak the
smooshlab build. The breakage seems to be due to a collision
between LLVM's ATTRIBUTE_UNUSED and gcc's which was previously
hidden due to header files being included in a lucky order.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117260 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
19e57025d458d3cb50804fd821fd89b868a819bd 23-Oct-2010 Chandler Carruth <chandlerc@gmail.com> Move the remaining attribute macros to systematic names based on the attribute
name and prefixed with 'LLVM_'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
100c267249d1d03c4f96eede9877a4f9f54f2247 23-Oct-2010 Chandler Carruth <chandlerc@gmail.com> Switch attribute macros to use 'LLVM_' as a prefix. We retain the old names
until other LLVM projects using these are cleaned up.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
7283da51b8860ca9af4cb5ca082f7bcca3894d99 20-Oct-2010 Chandler Carruth <chandlerc@gmail.com> Add a comment about ATTRIBUTE_UNUSED to avoid further confusion over when to
use it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116920 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
a0b991be3f2a15a8358d94c6b9773568ec74e8f0 05-Oct-2010 Michael J. Spencer <bigcheesegs@gmail.com> Support: Add __forceinline to Compiler.h on MSVC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115595 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
97816e1badb4bf781d646986301e41ddea6f721c 15-Sep-2010 Duncan Sands <baldrick@free.fr> Remove LLVM_GLOBAL_VISIBILITY, which is unused, and was not working properly.
The problem was that the test for whether a compiler supports it or not was
inaccurate, but has to be accurate: LLVM_LOCAL_VISIBILITY is an optimization
and not needed for correctness, so wrongly thinking a compiler doesn't support
it is not a big deal, but LLVM_GLOBAL_VISIBILITY is for correctness, and not
an optimization: getting it wrong is fatal: it needs to be set based on a
configure test not testing the gcc version. Since dragonegg has moved to a
different scheme, and it was the only user of LLVM_GLOBAL_VISIBILITY, just
remove this macro.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113959 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
f8ff40c0598c6d8707a639ec63644e5e5496678a 01-Sep-2010 Duncan Sands <baldrick@free.fr> Define LLVM_GLOBAL_VISIBILITY to be __declspec(dllexport) on
windows systems.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
16d8f8bd919b72866e687d99f3aa94a140137c59 11-May-2010 Duncan Sands <baldrick@free.fr> I got tired of VISIBILITY_HIDDEN colliding with the gcc enum. Rename it
to LLVM_LIBRARY_VISIBILITY and introduce LLVM_GLOBAL_VISIBILITY, which is
the opposite, for future use by dragonegg.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103495 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
14c85cbf541ec8940127474c20d8f1b5d5706bfe 03-Mar-2010 Chris Lattner <sabre@nondot.org> don't use always_inline with gcc 3.4, it has some unimplemented features
and is too old to really care about the performance of the generated
compiler.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97662 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
079b6f5ee5c3516b773a3ad71874c14e8ea7479c 28-Dec-2009 Bill Wendling <isanbard@gmail.com> Add an "ATTRIBUTE_UNUSED" macro (and use it). It's for variables which are
mainly used in debugging and/or assert situations. It should make the compiler
and the static analyzer stop nagging us about them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
96c7ae5e978750380360fcb3f6e47876be337c31 15-Dec-2009 Chris Lattner <sabre@nondot.org> add an ALWAYS_INLINE macro, which does the obvious thing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
8dc071a6e522ea5e3eb265e28b410be8f57cffb2 17-Nov-2009 Duncan Sands <baldrick@free.fr> Following a suggestion of Daniel Dunbar, stop people passing the name
as the isSigned bool to CreateIntCast by having this resolve to a call
to a private method, rather than by using a gcc attribute.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89067 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
1546b11140e0b439856f363c37285e0608394f18 16-Nov-2009 Douglas Gregor <dgregor@apple.com> Make ERROR_IF_USED macro work with GCC <= 4.2, Apple GCCs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
4007324b58db24b0d358445a0a866a9047dac75e 16-Nov-2009 Duncan Sands <baldrick@free.fr> Make sure that if anyone passes a name by accident for the isSigned
parameter of CreateIntCast then they get an error from the compiler
(or from the linker with a non-gcc compiler). Another possibility
is to flip the order of the DestTy and isSigned parameters, since you
should then get a compiler warning if you try to use a char* for a
Type*.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
6f0c67d4ffbc9c47153cab94985a22699b699729 15-Nov-2009 Chris Lattner <sabre@nondot.org> add attributes for readnone/readonly functions.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88862 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
f2a39bd24fe72481fa8fa612f3494efd41a8e001 14-Nov-2009 Benjamin Kramer <benny.kra@googlemail.com> Implement DISABLE_INLINE for MSVC. This required changing the position in all
forward declaration and patching tblgen to emit it right. Patch by Amine Khaldi!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
7b068610eb68ae02c1c92a98d4a3749c7cb6456c 14-Nov-2009 Benjamin Kramer <benny.kra@googlemail.com> Make NORETURN working with MSVC. MSVC only accepts NORETURN in front of the
decl so move it there. GCC accepts it both in front and after decls.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
cb89f6cc10d63e61115a6acc4e2703fbd0823253 18-Sep-2009 Julien Lerouge <jlerouge@apple.com> Use __attribute__((__used__)) if GCC >= 3.1 (seems to be the oldest GCC
supporting this attribute).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
31e2466f159a887fed9139067a676f65adf2a8c3 07-Jul-2009 Torok Edwin <edwintorok@gmail.com> Introduce new error handling API.
This will replace exit()/abort() style error handling with an API
that allows clients to register custom error handling hooks.
The default is to call exit(1) when no error handler is provided.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
b372c1114c1eeffbd1a3f6ddc5d33e77564bfee2 17-Mar-2009 Daniel Dunbar <daniel@zuster.org> Add BUILTIN_EXPECT Support/Compiler macro.
- Use for exceptional buffer conditions in raw_ostream:write to shave
off a cycle or two.

- Please rename if you have a better one.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67103 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
476527a19daada771579d7099eb53125d814edc1 31-Oct-2008 Anton Korobeynikov <asl@math.spbu.ru> Symbol visibility is unsupported on cygwin too.
Patch by Jay Foad!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
0d885d1661f87bd2dc25bfdacb29413f0be81bd4 16-Jul-2008 Devang Patel <dpatel@apple.com> Mark function used by asm block as used, otherwise optimizer may not see the use and may delete the function.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53692 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
70c8650de0ee3033187561a3f2e8f1f706ec50c6 22-Jan-2008 Anton Korobeynikov <asl@math.spbu.ru> Silence a warning. Should we turn this into configure-time check?


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.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/Compiler.h
6f3241dbbf6926a1ad1d0e2f1e50e6228a55b258 27-Aug-2006 Chris Lattner <sabre@nondot.org> add directive to disable inlining


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29912 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h
0c0cc92762bdf34f26762eeaf66f6f8791428db5 27-Aug-2006 Chris Lattner <sabre@nondot.org> New place to put compiler-specific functionality. This replaces Visibility.h,
and provides macros that can be used to make explicit instantiations of
template specializations, which is a gcc-specific feature.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29908 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/Compiler.h