summaryrefslogtreecommitdiffstats
path: root/llvm/cmake
Commit message (Collapse)AuthorAgeFilesLines
...
* LLVM_ON_WIN32 is not defined on config-ix.cmake. Use something else.Oscar Fuentes2011-02-041-4/+9
| | | | llvm-svn: 124857
* Add the tablegenned files to the `clean' target.Oscar Fuentes2011-02-041-0/+5
| | | | llvm-svn: 124854
* Changes for building Clang and others using LLVM as an externalOscar Fuentes2011-02-035-17/+163
| | | | | | | | | | | | | library. Installs tblgen (required by Clang). Translates handling of user settings and platform-dependant options to its own file, where it can included by another project. Installs the .cmake files required by projects like Clang. llvm-svn: 124816
* cmake/*: Add svn:eol-style=native and fix CRLF.NAKAMURA Takumi2011-02-032-40/+39
| | | | llvm-svn: 124793
* Platform tests for `sys/uio.h' header and `writev' function.Oscar Fuentes2011-02-031-0/+4
| | | | | | This is the cmake equivalent for r124769. llvm-svn: 124775
* Adds some platform checks to cmake/config-ix.cmake and fixes checkingOscar Fuentes2011-01-311-3/+27
| | | | | | | | for dlopen/dlerror. Patch by arrowdodger! llvm-svn: 124590
* Don't show -pedantic, -W and -Wall on the output ofOscar Fuentes2011-01-271-1/+4
| | | | | | | | | llvm-config --cflags --cxxflags --cppflags We shouldn't impose those flags on people who use llvm-config for building their own projects. llvm-svn: 124399
* Handles libffi on the CMake build.Oscar Fuentes2011-01-211-0/+29
| | | | | | Patch by arrowdodger! llvm-svn: 123976
* Add some platform checks. Also fix a typo on a Makefile.Oscar Fuentes2011-01-171-0/+14
| | | | | | Patch by arrowdodger! llvm-svn: 123659
* Make config.h.cmake similar to config.h.inOscar Fuentes2011-01-151-1/+5
| | | | | | Patch by arrowdodger! llvm-svn: 123539
* Add some platform tests.Oscar Fuentes2011-01-131-0/+7
| | | | | | Patch by arrowdodger! llvm-svn: 123388
* Platform tests for argz_* functions.Oscar Fuentes2011-01-131-0/+7
| | | | | | Patch by arrowdodger! llvm-svn: 123376
* Add to the CMake build some options and platform tests supported byOscar Fuentes2011-01-111-0/+3
| | | | | | | | the traditional build. Patch by arrowdodger! llvm-svn: 123233
* Made llvm_replace_compiler_option more robust. Use it onOscar Fuentes2011-01-111-7/+14
| | | | | | llvm_process_sources. llvm-svn: 123232
* Rewrite handling of LLVM_ENABLE_PIC. It was being processed afterOscar Fuentes2011-01-091-5/+2
| | | | | | | | config.h was generated, so it had no effect on it. Thanks to arrowdodger for pointing out this and a tentative patch. llvm-svn: 123119
* Don't use -O3 on Mingw, as people report it as unreliable. Use -O2Oscar Fuentes2011-01-071-0/+10
| | | | | | instead. llvm-svn: 123028
* TableGen.cmake: sometimes the .td file is not in the current directoryOscar Fuentes2011-01-031-1/+4
| | | | | | | | | | | (clang/include/clang/Basic/StmtNodes.td, for instance, is tablegenned from clang/include/clang/AST/CMakeLists.txt) so it is not contained on the list of all .td files on the current source directory which is used as the DEPENDS of the custom command. We must add the .td file to the DEPENDS list of the custom command. Otherwise some .inc files are not regenerated when the corresponding .td file changes. llvm-svn: 122768
* LLVMProcessSources: add .def files along with .h files to targets forOscar Fuentes2011-01-031-1/+1
| | | | | | the benefit of project-based generators (VS, XCode, etc). llvm-svn: 122749
* Propagate to parent scope changes made to CMAKE_CXX_FLAGS.Oscar Fuentes2011-01-021-0/+1
| | | | llvm-svn: 122692
* CMake (MSVC): cmake automatically adds the /EHsc and /GR compilerOscar Fuentes2010-12-311-2/+2
| | | | | | | | | | options. If we are building with exceptions/rtti disabled, we replace /EHsc with /EHs-c- and /GR with /GR-, respectively. If we just add the disabling options we get warnings like this: cl : Command line warning D9025 : overriding '/EHs' with '/EHs-' llvm-svn: 122648
* Fixes file extension for loadable modules on OS X.Oscar Fuentes2010-12-221-1/+7
| | | | | | Patch by Wesley Peck! llvm-svn: 122395
* Update cmake library dependencies.Oscar Fuentes2010-12-201-1/+1
| | | | llvm-svn: 122239
* Reverting commit to LLVMLibDeps that was inadvertently done in 121649.Wesley Peck2010-12-121-51/+50
| | | | llvm-svn: 121651
* The ADD and ADDK (and all variants) instructions where flip-flopped in the ↵Wesley Peck2010-12-121-50/+51
| | | | | | MBlaze backend. This bug fix makes 64-bit math work on the MBlaze backend. llvm-svn: 121649
* Add dependency to "make check".NAKAMURA Takumi2010-12-101-0/+2
| | | | | | cmake/modules/AddLLVM.cmake: Add empty "phony" target in add_llvm_loadable_module() even if loadable module were not supported. llvm-svn: 121455
* Disable C++ exception handling on MSVC.Francois Pichet2010-12-041-0/+3
| | | | | | Total size of bin\Release on disk goes from 82.9 MB to 74.2 MB. (~10% saving) llvm-svn: 120908
* Disable RTTI on Windows. Francois Pichet2010-12-041-0/+2
| | | | | | Total size of bin\Release on disk goes from 83.6 MB to 81.8MB. (~2% saving) llvm-svn: 120901
* Support/FileSystem: Fix MinGW build. It doesn't have _chsize_s.Michael J. Spencer2010-12-031-0/+3
| | | | llvm-svn: 120826
* Update library dependencies changed in the System -> Support merge.Michael J. Spencer2010-11-291-40/+39
| | | | llvm-svn: 120308
* Merge System into Support.Michael J. Spencer2010-11-291-2/+2
| | | | llvm-svn: 120298
* Implement ELF object file writing support for the MBlaze backend. Its not ↵Wesley Peck2010-11-211-8/+8
| | | | | | perfect yet, but it works for many tests. llvm-svn: 119952
* Updated library dependencies.Oscar Fuentes2010-11-181-9/+3
| | | | llvm-svn: 119592
* Revert inadvertant checkin of CMake libdeps.Jim Grosbach2010-11-161-28/+27
| | | | llvm-svn: 119355
* ARM conditional mov encoding fix.Jim Grosbach2010-11-161-27/+28
| | | | llvm-svn: 119354
* Updated CMake library dependencies.Oscar Fuentes2010-11-141-32/+32
| | | | llvm-svn: 119076
* 1. Finishing MBlaze MC asm parser test casesWesley Peck2010-11-121-1/+1
| | | | | | | | | | 2. Parsing .word directive in MBlaze asm parser 3. Fixing hack where memory instructions reversed order of last two parameters 4. Fixing many improperly encoded instructions 5. Support parsing special instructions (MFS,MTS,etc.) 6. Removing unused functions from inst printer llvm-svn: 118941
* Adding working version of assembly parser for the MBlaze backendWesley Peck2010-11-081-16/+16
| | | | | | Major cleanup of whitespace and formatting issues in MBlaze backend llvm-svn: 118434
* Adding disassembler to the MicroBlaze backend.Wesley Peck2010-10-271-1/+2
| | | | llvm-svn: 117420
* Loadable modules are not supported on Cygwin. PR 6655.Oscar Fuentes2010-10-221-1/+1
| | | | llvm-svn: 117130
* Endian: Get rid of LLVM_IS_HOST_BIG_ENDIAN.Michael J. Spencer2010-10-221-2/+0
| | | | llvm-svn: 117124
* Avoid stalled file dependency when tablegenning.Oscar Fuentes2010-10-221-5/+7
| | | | | | Patch by Frits van Bommel! llvm-svn: 117113
* Don't try to guess svn version when current path is a symlink.Oscar Fuentes2010-10-221-2/+5
| | | | | | See PR 8473. llvm-svn: 117109
* Teach CMake to only touch tablegen-generated files if anythingOscar Fuentes2010-10-221-1/+10
| | | | | | | | actually changed. Patch by Frits van Bommel! llvm-svn: 117102
* Rename LLVM_IS_TARGET_BIG_ENDIAN to LLVM_IS_HOST_BIG_ENDIAN to reflect what ↵Michael J. Spencer2010-10-221-1/+1
| | | | | | it actually means. llvm-svn: 117092
* Support: Add Endian.hMichael J. Spencer2010-10-211-0/+3
| | | | llvm-svn: 117057
* Adding initial AsmParser implementation for the MBlaze backend. It isWesley Peck2010-10-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | mostly based on the ARM AsmParser at this time and is not particularly functional. Changed the MBlaze data layout from: "E-p:32:32-i8:8:8-i16:16:16-i64:32:32-f64:32:32-v64:32:32-v128:32:32-n32" to: "E-p:32:32:32-i8:8:8-i16:16:16" because the MicroBlaze doesn't have i64, f64, v64, or v128 data types. Cleaned up the MBlaze source code: 1. The floating point register class has been removed. The MicroBlaze does not have floating point registers. Floating point values are simply stored in integer registers. 2. Renaming the CPURegs register class to GPR to reflect the standard naming. 3. Removing a lot of stale code from AsmPrinter after the conversion to InstPrinter. 4. Simplified sign extended loads by marking them as expanded in ISelLowering. llvm-svn: 117054
* Recommit 116986 with capitalization typo fixed.Wesley Peck2010-10-211-29/+29
| | | | llvm-svn: 116993
* Reverting the commit 116986. It was breaking the build on llvm-x86_64-linux ↵Wesley Peck2010-10-211-29/+29
| | | | | | | | | though it compiles on OS X. I'll ensure that it builds on a linux machine before committing again. llvm-svn: 116991
* Major update of the MicroBlaze backend. The new features are:Wesley Peck2010-10-211-29/+29
| | | | | | | | | | | | | | | | | | | | 1. A delay slot filler that searches for valid instructions to fill the delay slot with. Previously NOPs would always be inserted into delay slots. 2. Support for MC based instruction printer added. 3. Support for MC based machine code generation and ELF file generation. ELF file generation does not yet completely work as much of the ELF support infrastructure is still x86/x86-64 specific. 4. General clean up of the MBlaze backend code. Much of the tablegen code has been cleanup and simplified. Bug Fixes: 1. Removed duplicate periods from subtarget feature descriptions. 2. Many of the instructions had bad machine code information in the tablegen files. Much of this has been fixed. llvm-svn: 116986
* Build with RTTI and exceptions disabled. Only in GCC for now.Oscar Fuentes2010-10-171-0/+13
| | | | llvm-svn: 116682
OpenPOWER on IntegriCloud