summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
...
* Add definitions of two subclasses of MipsRegisterInfo, Mips16RegisterInfo andAkira Hatanaka2012-07-311-0/+2
| | | | | | MipsSERegisterInfo. llvm-svn: 161092
* Add definitions of two subclasses of MipsFrameLowering, Mips16FrameLowering andAkira Hatanaka2012-07-311-0/+2
| | | | | | | | | | MipsSEFrameLowering. Implement MipsSEFrameLowering::hasReservedCallFrame. Call frames will not be reserved if there is a call with a large call frame or there are variable sized objects on the stack. llvm-svn: 161090
* Add Mips16InstrInfo.cpp and MipsSEInstrInfo.cpp to CMakeLists.txt.Akira Hatanaka2012-07-311-0/+2
| | | | llvm-svn: 161083
* llvm/lib: [CMake] Add explicit dependency to intrinsics_gen.NAKAMURA Takumi2012-06-241-0/+2
| | | | llvm-svn: 159112
* Fix Mips/CMakeLists.txt.Akira Hatanaka2012-06-141-0/+1
| | | | llvm-svn: 158437
* Move the code in MipsExpandPseudo to MipsInstrInfo::expandPostRAPseudo.Akira Hatanaka2012-05-251-1/+0
| | | | | | Delete MipsExpandPseudo. llvm-svn: 157495
* Remove MipsEmitGPRestore.cpp.Akira Hatanaka2012-05-121-1/+0
| | | | llvm-svn: 156696
* Add disassembler to MIPS. Akira Hatanaka2012-04-171-0/+3
| | | | | | Patch by Vladimir Medic. llvm-svn: 154935
* Revert r153924. There were buildbot failures.Akira Hatanaka2012-04-031-3/+0
| | | | llvm-svn: 153925
* MIPS disassembler support.Akira Hatanaka2012-04-031-0/+3
| | | | | | Patch by Vladimir Medic. llvm-svn: 153924
* Target/Mips: Unbreak CMake build.NAKAMURA Takumi2012-01-251-0/+1
| | | | llvm-svn: 148909
* Add the skeleton of an asm parser for mips.Rafael Espindola2012-01-111-0/+1
| | | | llvm-svn: 147923
* Fix up the CMake build for the new files added in r146960, they'reChandler Carruth2011-12-201-0/+1
| | | | | | likely to stay either way that discussion ends up resolving itself. llvm-svn: 146966
* build/CMake: Finish removal of add_llvm_library_dependencies.Daniel Dunbar2011-11-291-13/+0
| | | | llvm-svn: 145420
* Remove MipsMCSymbolRefExpr.Akira Hatanaka2011-11-151-1/+0
| | | | llvm-svn: 144654
* CMake: Fix CMake build for new Mips tblgen file.Daniel Dunbar2011-11-111-0/+1
| | | | llvm-svn: 144423
* build/cmake: Use tblgen macro directly instead of llvm_tablegen, which justDaniel Dunbar2011-11-041-7/+7
| | | | | | added a layer of indirection with no value (not even conciseness). llvm-svn: 143727
* Final patch that completes old JIT support for Mips:Bruno Cardoso Lopes2011-10-181-0/+1
| | | | | | | | | | | | | | | | -Fix binary codes and rename operands in .td files so that automatically generated function MipsCodeEmitter::getBinaryCodeForInstr gives correct encoding for instructions. -Define new class FMem for instructions that access memory. -Define new class FFRGPR for instructions that move data between GPR and FPU general and control registers. -Define custom encoder methods for memory operands, and also for size operands of ext and ins instructions. -Only static relocation model is currently implemented. Patch by Sasa Stankovic llvm-svn: 142378
* Revert r141932, r141936 and r141937.Akira Hatanaka2011-10-141-1/+0
| | | | llvm-svn: 141959
* Add definition of class MipsELFWriterInfo. Akira Hatanaka2011-10-141-0/+1
| | | | | | Patch by Jack Carter and Reed Kotler at Mips. llvm-svn: 141937
* Build system infrastructure for multiple tblgens.Peter Collingbourne2011-10-061-6/+6
| | | | llvm-svn: 141266
* Rewrite the CMake build to use explicit dependencies between libraries,Chandler Carruth2011-07-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified in the same file that the library itself is created. This is more idiomatic for CMake builds, and also allows us to correctly specify dependencies that are missed due to bugs in the GenLibDeps perl script, or change from compiler to compiler. On Linux, this returns CMake to a place where it can relably rebuild several targets of LLVM. I have tried not to change the dependencies from the ones in the current auto-generated file. The only places I've really diverged are in places where I was seeing link failures, and added a dependency. The goal of this patch is not to start changing the dependencies, merely to move them into the correct location, and an explicit form that we can control and change when necessary. This also removes a serialization point in the build because we don't have to scan all the libraries before we begin building various tools. We no longer have a step of the build that regenerates a file inside the source tree. A few other associated cleanups fall out of this. This isn't really finished yet though. After talking to dgregor he urged switching to a single CMake macro to construct libraries with both sources and dependencies in the arguments. Migrating from the two macros to that style will be a follow-up patch. Also, llvm-config is still generated with GenLibDeps.pl, which means it still has slightly buggy dependencies. The internal CMake 'llvm-config-like' macro uses the correct explicitly specified dependencies however. A future patch will switch llvm-config generation (when using CMake) to be based on these deps as well. This may well break Windows. I'm getting a machine set up now to dig into any failures there. If anyone can chime in with problems they see or ideas of how to solve them for Windows, much appreciated. llvm-svn: 136433
* Clean up a pile of hacks in our CMake build relating to TableGen.Chandler Carruth2011-07-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The first problem to fix is to stop creating synthetic *Table_gen targets next to all of the LLVM libraries. These had no real effect as CMake specifies that add_custom_command(OUTPUT ...) directives (what the 'tablegen(...)' stuff expands to) are implicitly added as dependencies to all the rules in that CMakeLists.txt. These synthetic rules started to cause problems as we started more and more heavily using tablegen files from *subdirectories* of the one where they were generated. Within those directories, the set of tablegen outputs was still available and so these synthetic rules added them as dependencies of those subdirectories. However, they were no longer properly associated with the custom command to generate them. Most of the time this "just worked" because something would get to the parent directory first, and run tablegen there. Once run, the files existed and the build proceeded happily. However, as more and more subdirectories have started using this, the probability of this failing to happen has increased. Recently with the MC refactorings, it became quite common for me when touching a large enough number of targets. To add insult to injury, several of the backends *tried* to fix this by adding explicit dependencies back to the parent directory's tablegen rules, but those dependencies didn't work as expected -- they weren't forming a linear chain, they were adding another thread in the race. This patch removes these synthetic rules completely, and adds a much simpler function to declare explicitly that a collection of tablegen'ed files are referenced by other libraries. From that, we can add explicit dependencies from the smaller libraries (such as every architectures Desc library) on this and correctly form a linear sequence. All of the backends are updated to use it, sometimes replacing the existing attempt at adding a dependency, sometimes adding a previously missing dependency edge. Please let me know if this causes any problems, but it fixes a rather persistent and problematic source of build flakiness on our end. llvm-svn: 136023
* Fix CMake buildOscar Fuentes2011-07-211-0/+1
| | | | llvm-svn: 135698
* Added the infrastructute necessary for MIPS JIT support. Patch by VladimirBruno Cardoso Lopes2011-07-211-0/+1
| | | | | | | | Stefanovic. I removed the part that actually emits the instructions cause I want that to get in better shape first and in incremental steps. This also makes it easier to review the upcoming parts. llvm-svn: 135678
* Rename createAsmInfo to createMCAsmInfo and move registration code to ↵Evan Cheng2011-07-141-1/+0
| | | | | | MCTargetDesc to prepare for next round of changes. llvm-svn: 135219
* Next round of MC refactoring. This patch factor MC table instantiations, MCEvan Cheng2011-07-141-0/+1
| | | | | | registeration and creation code into XXXMCDesc libraries. llvm-svn: 135184
* Lower MachineInstr to MC Inst and print to .s files. Akira Hatanaka2011-07-071-0/+1
| | | | llvm-svn: 134661
* Define class MipsMCInstLower.Akira Hatanaka2011-07-071-0/+1
| | | | llvm-svn: 134633
* Define class MipsMCSymbolRefExpr.Akira Hatanaka2011-07-071-0/+1
| | | | llvm-svn: 134629
* Rename XXXGenSubtarget.inc to XXXGenSubtargetInfo.inc for consistency.Evan Cheng2011-07-011-1/+1
| | | | llvm-svn: 134281
* Merge XXXGenRegisterNames.inc into XXXGenRegisterInfo.incEvan Cheng2011-06-281-2/+1
| | | | llvm-svn: 134024
* Merge XXXGenRegisterDesc.inc XXXGenRegisterNames.inc XXXGenRegisterInfo.h.incEvan Cheng2011-06-271-3/+0
| | | | | | into XXXGenRegisterInfo.inc. llvm-svn: 133922
* Starting to refactor Target to separate out code that's needed to fully describeEvan Cheng2011-06-241-2/+3
| | | | | | | | | | | | 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. llvm-svn: 133782
* Fix cmake build.Rafael Espindola2011-05-041-0/+1
| | | | llvm-svn: 130850
* Fix cmake build.Rafael Espindola2011-04-151-0/+1
| | | | llvm-svn: 129601
* Use explicit add_subdirectory's for LLVM target sublibraries insteadOscar Fuentes2011-02-201-0/+2
| | | | | | | | | of testing for its presence at cmake time. This way the build automatically regenerates the makefiles when a svn update brings in a new sublibrary. llvm-svn: 126068
* Update CMake stuffAnton Korobeynikov2011-01-101-1/+1
| | | | llvm-svn: 123171
* Attempt to unbreak cmake-based buildsAnton Korobeynikov2010-11-151-0/+1
| | | | llvm-svn: 119098
* move all the target's asmprinters into the main target. The piece Chris Lattner2010-11-141-0/+1
| | | | | | | that should be split out is the InstPrinter (if a target is mc'ized). This change makes all the targets be consistent. llvm-svn: 119056
* Removed a bunch of unnecessary target_link_libraries.Oscar Fuentes2010-09-281-2/+0
| | | | llvm-svn: 114999
* Add skeleton target-specific SelectionDAGInfo files.Dan Gohman2010-04-161-0/+1
| | | | llvm-svn: 101564
* Normalize makefile comments and sort cmake file lists.Benjamin Kramer2009-08-311-1/+1
| | | | llvm-svn: 80584
* Forgot to update some CMakeLists.Benjamin Kramer2009-08-221-1/+1
| | | | llvm-svn: 79780
* reintroduce support for Mips "small" section handling. This is Chris Lattner2009-08-131-0/+1
| | | | | | | implemented somewhat differently than before, but it should have the same functionality and the previous testcase passes again. llvm-svn: 78900
* CMake build fixes, from Xerxes RanbyDouglas Gregor2009-07-021-0/+2
| | | | llvm-svn: 74720
* Separate MIPS asmprinterAnton Korobeynikov2009-04-031-2/+1
| | | | llvm-svn: 68383
* CMake: Builds all targets.Oscar Fuentes2008-09-261-0/+23
llvm-svn: 56641
OpenPOWER on IntegriCloud