llvm/lib
Rafael Espindola 21a01d1ea8 Make the host endianness check an integer constant expression.
I will remove the isBigEndianHost function once I update clang.

The ifdef logic is designed to
* not use configure/cmake to avoid breaking -arch i686 -arch ppc.
* default to little endian
* be as small as possible

It looks like sys/endian.h is the preferred header on most modern BSD systems,
but it is better to change this in a followup patch as machine/endian.h is
available on FreeBSD, OpenBSD, NetBSD and OS X.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179527 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-15 14:44:24 +00:00
..
Analysis Fix a scalability issue with complex ConstantExprs. 2013-04-13 12:53:18 +00:00
Archive Fix auto_ptr is deprecated warnings 2013-02-26 21:20:35 +00:00
AsmParser Rationalize the formatting of these case labels. Having two sorted 2013-04-09 19:46:46 +00:00
Bitcode Whitespace cleanup 2013-04-01 02:28:07 +00:00
CodeGen Replace uses of the deprecated std::auto_ptr with OwningPtr. 2013-04-15 12:06:32 +00:00
DebugInfo Rename the C function to create a SLPVectorizerPass to something sane and expose it in the header file. 2013-04-11 11:36:36 +00:00
ExecutionEngine Make the host endianness check an integer constant expression. 2013-04-15 14:44:24 +00:00
IR Fix a scalability issue with complex ConstantExprs. 2013-04-13 12:53:18 +00:00
IRReader Measure time that IR parsing took as part of the -time-passes measurement. 2013-04-03 15:33:45 +00:00
Linker Specutively revert r178130. 2013-03-27 17:54:41 +00:00
MC Use object file specific section type for initial text section 2013-04-14 21:18:36 +00:00
Object Make the host endianness check an integer constant expression. 2013-04-15 14:44:24 +00:00
Option
Support Make the host endianness check an integer constant expression. 2013-04-15 14:44:24 +00:00
TableGen Allow TableGen DAG arguments to be just a name. 2013-03-24 19:36:51 +00:00
Target Mark all PPC comparison instructions as not having side effects 2013-04-15 02:37:46 +00:00
Transforms Add an option -vectorize-slp-aggressive for running the BB vectorizer. Make -fslp-vectorize run the slp-vectorizer. 2013-04-15 05:39:58 +00:00
CMakeLists.txt Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00
LLVMBuild.txt Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00
Makefile Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00