summaryrefslogtreecommitdiff
path: root/Makefile.rules
Commit message (Collapse)AuthorAge
* More llvmc bits. Spotted by Benjamin on IRC.Eric Christopher2011-09-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140124 91177308-0d34-0410-b5e6-96231b3b80d8
* TableGen'erated MC lowering for simple pseudo-instructions.Jim Grosbach2011-07-08
| | | | | | | | | | | | | This allows the (many) pseudo-instructions we have that map onto a single real instruction to have their expansion during MC lowering handled automatically instead of the current cumbersome manual expansion required. These sorts of pseudos are common when an instruction is used in situations that require different MachineInstr flags (isTerminator, isBranch, et. al.) than the generic instruction description has. For example, using a move to the PC to implement a branch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134704 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename XXXGenSubtarget.inc to XXXGenSubtargetInfo.inc for consistency.Evan Cheng2011-07-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134281 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Darwin: Fix epic typo fail.Daniel Dunbar2011-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134036 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge XXXGenRegisterNames.inc into XXXGenRegisterInfo.incEvan Cheng2011-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134024 91177308-0d34-0410-b5e6-96231b3b80d8
* Starting to refactor Target to separate out code that's needed to fully describeEvan Cheng2011-06-24
| | | | | | | | | | | | | target machine from those that are only needed by codegen. The goal is to sink the essential target description into MC layer so we can start building MC based tools without needing to link in the entire codegen. First step is to refactor TargetRegisterInfo. This patch added a base class MCRegisterInfo which TargetRegisterInfo is derived from. Changed TableGen to separate register description from the rest of the stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133782 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't force remove config.cache on reconfiguration.NAKAMURA Takumi2011-06-17
| | | | | | | | | config.cache will be used by the person who specifies '-C' to configure. config.cache's inconsistency should be responsible to him. Re-configuration would spend so much on cygming without '-C', esp. cygwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133252 91177308-0d34-0410-b5e6-96231b3b80d8
* build/configure: Add support for --with-extra-ld-options flag (to provide extraDaniel Dunbar2011-06-16
| | | | | | options just to pass to ld). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133206 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-15
| | | | | | | | Luis Felipe Strano Moraes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Add support for a SHOW_DIAGNOSTICS build variable.Daniel Dunbar2011-04-11
| | | | | | | | | If enabled, this will attempt to use the CC_LOG_DIAGNOSTICS feature I dropped into Clang to print a log of all the diagnostics generated during an individual build (from the top-level). Not sure if this will actually be useful, but for now it is handy for testing the option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129312 91177308-0d34-0410-b5e6-96231b3b80d8
* LLVMCC_EMITIR_FLAG is already either -emit-llvm or ↵Chris Lattner2011-04-09
| | | | | | -fplugin-arg-dragonegg-emit-ir, so don't add an extra leading -. Clang doesn't accept --emit-llvm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129232 91177308-0d34-0410-b5e6-96231b3b80d8
* make stuff work when LLVMCC_OPTION is something like installed-clang, not ↵Chris Lattner2011-04-09
| | | | | | just clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129229 91177308-0d34-0410-b5e6-96231b3b80d8
* revert accidental commit.Chris Lattner2011-04-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129191 91177308-0d34-0410-b5e6-96231b3b80d8
* fix a potentially serious bug in AliasSet::removeCallSite Chris Lattner2011-04-09
| | | | | | | | where we shrunk the list without updating the end iterator. By inspection, from PR9639. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129190 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile.rules: [PR2928] "make install" may install include files along ↵NAKAMURA Takumi2011-03-09
| | | | | | explicit pattern, not to install CMake's building stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127325 91177308-0d34-0410-b5e6-96231b3b80d8
* Reapply r127073(partially): Introduce $(ECHOPATH) to print DOSish path ↵NAKAMURA Takumi2011-03-08
| | | | | | | | string on MSYS bash for alternative of $(ECHO). On mingw and python/w32, lit would not be expected to understand MSYS-style path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127239 91177308-0d34-0410-b5e6-96231b3b80d8
* Prepend LD.Flags before LDFLAGS to avoid overriding necessary paths.Eric Christopher2011-03-07
| | | | | | | Patch by Jack Howarth. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127152 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r127073: "Introduce $(ECHOPATH) to print DOSish path string on MSYS ↵Jakob Stoklund Olesen2011-03-05
| | | | | | | | | | bash for alternative of $(ECHO)." It broke the llvm-gcc-native-mingw32 buildbot, and we need all of them to be green for the 2.9 branch. Takumi, please reapply after we branch, preferably with a fix ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127107 91177308-0d34-0410-b5e6-96231b3b80d8
* Introduce $(ECHOPATH) to print DOSish path string on MSYS bash for ↵NAKAMURA Takumi2011-03-05
| | | | | | | | alternative of $(ECHO). On mingw and python/w32, lit would not be expected to understand MSYS-style path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127073 91177308-0d34-0410-b5e6-96231b3b80d8
* Better OpenBSD support, patch by Amit Kulkarni. I have no way to testChris Lattner2011-02-21
| | | | | | | that this doesn't break gold, but it seems reasonable to me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126135 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not try to descend into optional build directories if they do notStephen Wilson2011-02-20
| | | | | | | | | exist. This makes the build logic symmetric for both the in tree and out of tree cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126070 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor the computation of the basename of libraries. This avoids renamingRafael Espindola2011-02-03
| | | | | | | them on install. Before we would have LLVMgold.so on the build directory but libLLVMgold.so on the install dir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124821 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Shared libraries shouldn't used RPATH on Darwin, only main executablesDaniel Dunbar2010-12-08
| | | | | | should use that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121231 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Don't force -flat_namespace or '-undefined suppress' on unsuspecting ↵Daniel Dunbar2010-12-08
| | | | | | users of LLVM makefiles, these options really shouldn't be used on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121223 91177308-0d34-0410-b5e6-96231b3b80d8
* Now to chant the magical incantation that will exorcise the System libraryCharles Davis2010-11-29
| | | | | | | | | from LLVM forever: grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120314 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge System into Support.Michael J. Spencer2010-11-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
* unittests/JITTests: Don't use --export-dynamic but --export-all-symbols on ↵NAKAMURA Takumi2010-11-26
| | | | | | | | | | | | | cygming. GNU ld/PECOFF accepts but ignores them below; --version-script --export-dynamic --rpath FIXME: autoconf should be aware of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120179 91177308-0d34-0410-b5e6-96231b3b80d8
* Using LLVMCC_EMITIR_FLAG rather than hard-coding -emit-llvmDuncan Sands2010-11-25
| | | | | | | | (dragonegg cannot use -emit-llvm so needs a different flag to everyone else). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120155 91177308-0d34-0410-b5e6-96231b3b80d8
* remove JIT support from the Alpha backend. The JIT will be moving to MC, Chris Lattner2010-11-14
| | | | | | | and the Alpha backend isn't MCized yet. Approved by Andrew. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119051 91177308-0d34-0410-b5e6-96231b3b80d8
* Add rule to build MC'ized CodeEmitter.Jim Grosbach2010-11-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118207 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove -llvmc-temp-hack from tblgen.Mikhail Glushenkov2010-10-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117197 91177308-0d34-0410-b5e6-96231b3b80d8
* Standardise all build-mode affecting {EN,DIS}ABLE_* make options toPeter Collingbourne2010-10-22
| | | | | | test equality to 1, and fix/update documentation to reflect this git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117094 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't pass --export-dynamic if TOOL_NO_EXPORTS is set.Rafael Espindola2010-10-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116550 91177308-0d34-0410-b5e6-96231b3b80d8
* Generalize tblgen's dag parsing logic to handle arbitrary expressionsChris Lattner2010-10-06
| | | | | | | | | | | | | | | | as the operator of the dag. Specifically, this allows parsing things like (F.x 4) in addition to just (a 4). Unfortunately, this runs afoul of an idiom being used by llvmc. It is using dags like (foo [1,2,3]) to represent a list of stuff being passed into foo. With this change, this is parsed as a [1,2,3] subscript on foo instead of being the first argument to the dag. Cope with this in the short term by requiring a "-llvmc-temp-hack" argument to tblgen to get the old parsing behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115742 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile.rules: Fix breakage on cygming --enable-shared.NAKAMURA Takumi2010-10-04
| | | | | | This has been applied already in r115093 on release_28. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115487 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove self-described temporary hack. A bit over a year seems a reasonableJim Grosbach2010-10-01
| | | | | | | | delay. Anton and PIC16 folks, if this is still good to keep, please go ahead and add it back in with an updated comment about when would be a good time to revisit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115358 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Add support for a TOOL_ORDER_FILE variable so commands can build with anDaniel Dunbar2010-09-16
| | | | | | order file on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114050 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile.rules: LOADABLE_MODULE/Win32: "all" components may be linkedNAKAMURA Takumi2010-09-10
| | | | | | | | only when ENABLE_SHARED=1. Loadable module for Win32 requires all symbols resolved for linking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113579 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Allow subdir Makefiles to provide an alternate location for the SRCDIRDaniel Dunbar2010-09-09
| | | | | | Makefile, which can be used to allow building out of tree sources. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113503 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Windows stuff to follow the existing source organization.Dan Gohman2010-09-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112976 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert "Rules for win32 ld shouldn't fire when cross-compiling."Mikhail Glushenkov2010-09-03
| | | | | | This reverts commit 012b374e5b46fe93a8fdf605f5929fa8239e0960. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112963 91177308-0d34-0410-b5e6-96231b3b80d8
* Rules for win32 ld shouldn't fire when cross-compiling.Mikhail Glushenkov2010-09-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112954 91177308-0d34-0410-b5e6-96231b3b80d8
* have the makefiles check the llvm-config error code instead of chargingChris Lattner2010-09-01
| | | | | | | on an producing weird link errors. Patch by Yuri Gribov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112714 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the "Finished Creating" messages for aliases to print theDan Gohman2010-08-18
| | | | | | | right name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111340 91177308-0d34-0410-b5e6-96231b3b80d8
* This patch enables ENABLE_SHARED=1 to build DLL based LLVM toolchain on ↵Anton Korobeynikov2010-08-17
| | | | | | | | MingW & Cygwin. Patch by Takumi Nakamura! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111268 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: remove dynamic plugins.Mikhail Glushenkov2010-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111094 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify generating LLVMC_BUILTIN_PLUGIN.Mikhail Glushenkov2010-08-10
| | | | | | Patch by NAKAMURA Takumi! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110680 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix this condition; it has an else clause attached for Darwin only. PatchNick Lewycky2010-08-02
| | | | | | | by Takumi Nakamura. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110016 91177308-0d34-0410-b5e6-96231b3b80d8
* tests: Make 'lit' the default test tool. You can still use 'make check-dg' toDaniel Dunbar2010-08-02
| | | | | | | | run the tests using DejaGNU, but not for much longer. This is a last call for DejaGNU supporters, if no one complains soon the DejaGNU support is going to die. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109997 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix library build messages.Dan Gohman2010-07-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109430 91177308-0d34-0410-b5e6-96231b3b80d8