summaryrefslogtreecommitdiffstats
path: root/llvm/projects/sample
Commit message (Collapse)AuthorAgeFilesLines
* Remove the PTX back-end and all of its artifacts (triple, etc.)Justin Holewinski2012-05-242-15/+5
| | | | | | | | This back-end was deprecated in favor of the NVPTX back-end. NV_CONTRIB llvm-svn: 157417
* Update all outdated autoconf files in the sample project.Benjamin Kramer2012-05-056-456/+586
| | | | | | We might just use symlinks here, but I'm afraid of possible portability issues. llvm-svn: 156235
* This patch adds a new NVPTX back-end to LLVM which supports code generation ↵Justin Holewinski2012-05-042-5/+15
| | | | | | | | | | | | | | | | | for NVIDIA PTX 3.0. This back-end will (eventually) replace the current PTX back-end, while maintaining compatibility with it. The new target machines are: nvptx (old ptx32) => 32-bit PTX nvptx64 (old ptx64) => 64-bit PTX The sources are based on the internal NVIDIA NVPTX back-end, and contain more functionality than the current PTX back-end currently provides. NV_CONTRIB llvm-svn: 156196
* Update config.sub in the sample project.Evgeniy Stepanov2012-04-271-99/+376
| | | | | | | This change replaces projects/sample/autoconf/config.sub with a copy of autoconf/config.sub. llvm-svn: 155703
* Remove llvm-ld and llvm-stub (which is only used by llvm-ld).Michael J. Spencer2012-04-191-3/+0
| | | | | | | | | | | | | | | | llvm-ld is no longer useful and causes confusion and so it is being removed. * Does not work very well on Windows because it must call a gcc like driver to assemble and link. * Has lots of hard coded paths which are wrong on many systems. * Does not understand most of ld's options. * Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} | ld, or fully replaced by Clang. I know of no production use of llvm-ld, and hacking use should be replaced by Clang's driver. llvm-svn: 155147
* Fix a problem in the target detection for Debian GNU/HURDSylvestre Ledru2012-04-052-0/+14
| | | | llvm-svn: 154117
* Fix a problem in the target detection for Debian GNU/kFreeBSDSylvestre Ledru2012-04-052-4/+4
| | | | llvm-svn: 154114
* Add InitializeNativeTargetDisassembler function.Eric Christopher2012-03-262-1/+18
| | | | | | Patch by Ojab. llvm-svn: 153476
* Add some fixes to the configure script for isInf and addEric Christopher2012-03-266-7/+50
| | | | | | | | --enable-libcpp to projects/sample. Patch by Dmitri Shubin with additional fixes by me. llvm-svn: 153425
* Remove the C backend.Eric Christopher2012-03-232-49/+4
| | | | llvm-svn: 153307
* configure: Don't require a perl interpreter to be present, LLVM's ↵Benjamin Kramer2012-03-074-101/+2
| | | | | | buildsystem doesn't depend on perl anymore. llvm-svn: 152234
* Enable -Wcovered-switch-default again, but add -Werror to the checks to makeRafael Espindola2012-02-285-9/+16
| | | | | | sure we don't use it with compilers that don't support it. llvm-svn: 151665
* Temporarily revert r151609, which enabled a new warning for LLVM andChandler Carruth2012-02-284-13/+6
| | | | | | | | Clang builds. The detection logic for compilers that support the warning isn't working. Rafael is going to investigate it, but didn't want people to have to wade through build spam until then. llvm-svn: 151649
* Enable -Wcovered-switch-default as it matches the switch style used in llvm.Rafael Espindola2012-02-284-6/+13
| | | | llvm-svn: 151609
* Replace the old --with-cxx-* configure options with a single ↵Rafael Espindola2012-02-032-79/+17
| | | | | | | | | --with-gcc-toolchain that just uses the new toolchain probing logic. This fixes linking with -m32 on 64 bit systems (the /32 dir was not being added to the search). llvm-svn: 149651
* Regenerate configure.Rafael Espindola2012-01-311-4/+4
| | | | llvm-svn: 149391
* revert r147542 after comments from Joerg SonnenbergerSebastian Pop2012-01-052-11/+4
| | | | llvm-svn: 147608
* use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJITSebastian Pop2012-01-042-4/+11
| | | | | | | | | | Get back getHostTriple. For JIT compilation, use the host triple instead of the default target: this fixes some JIT testcases that used to fail when the compiler has been configured as a cross compiler. llvm-svn: 147542
* Hexagon backend supportTony Linthicum2011-12-122-6/+14
| | | | llvm-svn: 146412
* rename LLVM_HOSTTRIPLE into LLVM_DEFAULT_TARGET_TRIPLESebastian Pop2011-11-012-3/+3
| | | | llvm-svn: 143501
* derive LLVM_HOSTTRIPLE from targetSebastian Pop2011-11-012-2/+2
| | | | llvm-svn: 143500
* Remove the Alpha backend.Dan Gohman2011-10-272-13/+4
| | | | llvm-svn: 143164
* projects/sample: Switch over to imported Makefile setup.Daniel Dunbar2011-10-271-2/+6
| | | | | | - This will require you to manually reconfigure the projects/sample project (by running projects/config/sample/config.status --recheck) if you haven't updated/built since the 1st part of this commit went in. llvm-svn: 143148
* Handle newer cases for freebsd which is approaching 10.0 and not 1.0.Eric Christopher2011-10-262-7/+7
| | | | | | Patch by Dimitry Andric! llvm-svn: 142995
* Remove the Blackfin backend.Dan Gohman2011-10-252-13/+4
| | | | llvm-svn: 142880
* Remove the SystemZ backend.Dan Gohman2011-10-242-13/+4
| | | | llvm-svn: 142878
* Regenerate projects/sample/configure.Daniel Dunbar2011-10-181-24/+19725
| | | | llvm-svn: 142457
* projects/sample: Import adapted form of current LLVM autoconf/Makefile setup ↵Daniel Dunbar2011-10-1832-48/+18811
| | | | | | | | | | so that projects/sample is standalone and not tied to the LLVM build setup. - This currently just moves over all of the behavior from LLVM. Eventually all of the configure checks that are directly needed by the LLVM build setup should probably go away, and the project should manage their own configuration checks if necessary. - This is the 1st half of this work, the actual Makefile.common hasn't moved over yet. I've tried to stage this in such a way that incremental builds will properly reconfigure for most active developers (the Makefiles don't handle reconfiguring in a perfectly reliable way, and I haven't found an easy way to make them do so). llvm-svn: 142456
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
| | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558
* Regen configurePeter Collingbourne2010-12-121-1003/+1360
| | | | llvm-svn: 121646
* Fix paths; AutoRegen.sh changes its current working directory to be thePeter Collingbourne2010-12-122-7/+11
| | | | | | | | | | autoconf directory, but these paths need to be relative to the main source directory. Patch originally by Dan Gohman, r67655. Also, cause configure.ac to find absolute paths to LLVM source and object trees. Together, fixes PR1220. llvm-svn: 121645
* I swear I did a make clean and make before committing all this...Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120304
* Testing subversion commit accessWesley Peck2010-02-231-0/+1
| | | | llvm-svn: 96948
* Fix autoconf llvm srcdir location for generic projects.Eric Christopher2010-01-251-3/+4
| | | | | | Patch by Torvald Riegel! llvm-svn: 94405
* Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth2009-10-261-1/+1
| | | | | | direct inclusion edge from System to Support. llvm-svn: 85086
* install-sh chmods to 0755 by default, and this causes 'git diff' to showTorok Edwin2009-08-281-5/+5
| | | | | | | | that all the Makefiles changed mode. Fix this by tellint install-sh to chmod only to 0644, these are not executable files after all! llvm-svn: 80371
* remove dead makefile flags.Chris Lattner2009-06-241-2/+0
| | | | llvm-svn: 74065
* Revert r67655 and r67656, as they are breaking the build. I'mDan Gohman2009-03-253-1392/+1010
| | | | | | not going to persue this further at this time. llvm-svn: 67666
* LLVM's master Makefile.common is in LLVM_SRC_ROOT, not LLVM_OBJ_ROOT.Dan Gohman2009-03-251-1/+1
| | | | llvm-svn: 67658
* Regenerate configure.Dan Gohman2009-03-241-1004/+1386
| | | | llvm-svn: 67656
* Fix paths; AutoRegen.sh changes its current working directory to be theDan Gohman2009-03-242-6/+6
| | | | | | | autoconf directory, but these paths need to be relative to the main source directory. llvm-svn: 67655
* Update for autoconf 2.6x;Dan Gohman2009-03-241-3/+3
| | | | llvm-svn: 67654
* Fix bash-isms.Dan Gohman2009-03-241-2/+2
| | | | llvm-svn: 67647
* Add "sample" documentation to sample project.Nick Lewycky2008-09-151-0/+6
| | | | | | This fixes part of PR2793. llvm-svn: 56198
* Convert .cvsignore filesJohn Criswell2007-06-292-5/+0
| | | | llvm-svn: 37801
* avoid collision with /usr/bin/sample if this ever gets installed.Chris Lattner2007-02-181-1/+1
| | | | llvm-svn: 34387
* Make sample project -pedantic clean.Reid Spencer2006-11-032-5/+3
| | | | llvm-svn: 31391
* For PR780:Reid Spencer2006-08-072-5/+3
| | | | | | | | | | | | | 1. Change the usage of LOADABLE_MODULE so that it implies all the things necessary to make a loadable module. This reduces the user's burdern to get a loadable module correctly built. 2. Document the usage of LOADABLE_MODULE in the MakefileGuide 3. Adjust the makefile for lib/Transforms/Hello to use the new specification for building loadable modules 4. Adjust the sample project to not attempt to build a shared library for its little library. This was just wasteful and not instructive at all. llvm-svn: 29551
* For PR786:Reid Spencer2006-06-011-0/+2
| | | | | | | | | Turn -pedantic and -Wno-long-long compile flags on by default. In a few places, avoid the warnings by removing these options in the local makefile. One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are left on as a reminder to developers to clean them up. llvm-svn: 28614
* Have the AutoRegen.sh script prompt the user for the LLVM src and objReid Spencer2006-04-182-4/+29
| | | | | | | | | | directories if it can't find them. Then, replace those values into the configure.ac script and pass them to the LLVM_CONFIG_PROJECT so that the values become the default for llvm_src and llvm_obj variables. In this way the user is required to input this exactly once, and the scripts take it from there. llvm-svn: 27798
OpenPOWER on IntegriCloud