Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace several 'assert(false' with 'llvm_unreachable' or fold a condition ↵ | Craig Topper | 2015-01-05 | 1 | -2/+2 |
| | | | | | | into the assert. llvm-svn: 225160 | ||||
* | [mips][microMIPS] Implement SWP and LWP instructions | Zoran Jovanovic | 2014-12-16 | 2 | -0/+6 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D5667 llvm-svn: 224338 | ||||
* | [mips][microMIPS] Implement SWM16 and LWM16 instructions | Zoran Jovanovic | 2014-11-27 | 1 | -0/+2 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D5579 llvm-svn: 222901 | ||||
* | [mips][micromips] Implement SWM32 and LWM32 instructions | Zoran Jovanovic | 2014-11-19 | 2 | -0/+23 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D5519 llvm-svn: 222367 | ||||
* | Canonicalize header guards into a common format. | Benjamin Kramer | 2014-08-13 | 1 | -2/+2 |
| | | | | | | | | | | Add header guards to files that were missing guards. Remove #endif comments as they don't seem common in LLVM (we can easily add them back if we decide they're useful) Changes made by clang-tidy with minor tweaks. llvm-svn: 215558 | ||||
* | [mips][mips64r6] Add Relocations R_MIPS_PCHI16, R_MIPS_PCLO16 | Zoran Jovanovic | 2014-05-27 | 1 | -0/+2 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D3860 llvm-svn: 209659 | ||||
* | TableGen: use PrintMethods to print more aliases | Tim Northover | 2014-05-12 | 1 | -0/+2 |
| | | | | llvm-svn: 208607 | ||||
* | [C++11] Add 'override' keywords and remove 'virtual'. Additionally add ↵ | Craig Topper | 2014-04-29 | 1 | -2/+2 |
| | | | | | | 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Mips edition llvm-svn: 207506 | ||||
* | [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE | Chandler Carruth | 2014-04-22 | 1 | -1/+2 |
| | | | | | | | definition below all of the header #include lines, lib/Target/... edition. llvm-svn: 206842 | ||||
* | Revert r205194 - [mips] Removed R_MIPS_GOT. It's identical to R_MIPS_GOT16. | Daniel Sanders | 2014-03-31 | 1 | -0/+1 |
| | | | | | | There's a couple additional bits I missed. llvm-svn: 205195 | ||||
* | [mips] Removed R_MIPS_GOT. It's identical to R_MIPS_GOT16. | Daniel Sanders | 2014-03-31 | 1 | -1/+0 |
| | | | | llvm-svn: 205194 | ||||
* | [cleanup] Re-sort all the includes with utils/sort_includes.py. | Chandler Carruth | 2014-03-04 | 1 | -1/+1 |
| | | | | llvm-svn: 202811 | ||||
* | [mips] Implement %hi(sym1 - sym2) and %lo(sym1 - sym2) expressions | Petar Jovanovic | 2014-02-04 | 1 | -2/+5 |
| | | | | | | | | | | | Patch implements %hi(sym1 - sym2) and %lo(sym1 - sym2) expressions for MIPS by creating target expression class MipsMCExpr. Patch by Sasa Stankovic. Differential Revision: http://llvm-reviews.chandlerc.com/D2592 llvm-svn: 200783 | ||||
* | Distinguish and choose 16 or 32 bit forms of save/restore for Mips16. | Reed Kotler | 2013-12-11 | 1 | -0/+8 |
| | | | | llvm-svn: 196999 | ||||
* | Cleaning up of prologue/epilogue code for Mips16. First step | Reed Kotler | 2013-12-08 | 2 | -0/+25 |
| | | | | | | here is to make save/restore into variable number of argument instructions. llvm-svn: 196726 | ||||
* | [CMake] Let add_public_tablegen_target responsible to provide dependency to ↵ | NAKAMURA Takumi | 2013-11-28 | 1 | -2/+0 |
| | | | | | | | | | CommonTableGen. add_public_tablegen_target adds *CommonTableGen to LLVM_COMMON_DEPENDS. LLVM_COMMON_DEPENDS affects add_llvm_library (and other add_target stuff) within its scope. llvm-svn: 195927 | ||||
* | [CMake] Prune include_directories() in llvm/lib/Target. add_llvm_target() ↵ | NAKAMURA Takumi | 2013-11-28 | 1 | -2/+0 |
| | | | | | | sets them. llvm-svn: 195921 | ||||
* | [mips][msa] Added support for matching splati from normal IR (i.e. not ↵ | Daniel Sanders | 2013-09-27 | 2 | -0/+10 |
| | | | | | | | | intrinsics) Updated some of the vshf since they (correctly) emit splati's now llvm-svn: 191511 | ||||
* | [mips][msa] Added support for matching shf from normal IR (i.e. not intrinsics) | Daniel Sanders | 2013-09-24 | 2 | -0/+6 |
| | | | | llvm-svn: 191302 | ||||
* | [mips] Place parentheses around && to silence warning. | Akira Hatanaka | 2013-09-07 | 1 | -3/+3 |
| | | | | llvm-svn: 190234 | ||||
* | [mips] Make "b" (unconditional branch) a pseudo. "b" is an assembly idiom, ↵ | Akira Hatanaka | 2013-09-06 | 1 | -1/+4 |
| | | | | | | | | which is equivalent to "beq $zero, $zero, offset". llvm-svn: 190220 | ||||
* | [micromips] Print instruction alias "not" if the last operand of a nor is zero. | Akira Hatanaka | 2013-08-21 | 1 | -0/+1 |
| | | | | llvm-svn: 188851 | ||||
* | [mips] Delete unnecessary InstAliases. Also, clear some of the InstAlias' | Akira Hatanaka | 2013-08-06 | 1 | -0/+6 |
| | | | | | | EmitAlias flag and have MipsInstPrinter::printAlias print the aliases. llvm-svn: 187824 | ||||
* | [mips] Replace usages of register classes with register operands. Also, remove | Akira Hatanaka | 2013-08-06 | 1 | -0/+6 |
| | | | | | | | unnecessary jalr InstAliases in Mips64InstrInfo.td and add the code to print jalr InstAliases in MipsInstPrinter::printAlias. llvm-svn: 187821 | ||||
* | [mips] Define "bal" as a pseudo instruction. Also, fix bug in the InstAlias that | Akira Hatanaka | 2013-07-30 | 1 | -0/+3 |
| | | | | | | turns "bal" into "bgezal". llvm-svn: 187440 | ||||
* | [mips] Add comment and simplify function. | Akira Hatanaka | 2013-07-29 | 1 | -23/+14 |
| | | | | llvm-svn: 187371 | ||||
* | [mips] Fix FP branch instructions to have explicit FP condition code register | Akira Hatanaka | 2013-07-26 | 1 | -0/+8 |
| | | | | | | operands. llvm-svn: 187238 | ||||
* | [mips] Delete register print method MipsInstPrinter::printCPURegs that is not | Akira Hatanaka | 2013-07-26 | 2 | -6/+0 |
| | | | | | | | | needed. The generic method printOperand will do. No functionality change. llvm-svn: 187231 | ||||
* | [mips] Print instructions "beq", "bne" and "or" using assembler pseudo | Akira Hatanaka | 2013-07-26 | 2 | -1/+57 |
| | | | | | | | | | | instructions "beqz", "bnez" and "move", when possible. beq $2, $zero, $L1 => beqz $2, $L1 bne $2, $zero, $L1 => bnez $2, $L1 or $2, $3, $zero => move $2, $3 llvm-svn: 187229 | ||||
* | This patch that sets the EmitAlias flag in td files | Jack Carter | 2013-02-05 | 2 | -1/+6 |
| | | | | | | | | | | | | | and enables the instruction printer to print aliased instructions. Due to usage of RegisterOperands a change in common code (utils/TableGen/AsmWriterEmitter.cpp) is required to get the correct register value if it is a RegisterOperand. Contributer: Vladimir Medic llvm-svn: 174358 | ||||
* | This patch tackles the problem of parsing Mips | Jack Carter | 2013-01-12 | 2 | -0/+6 |
| | | | | | | | | | | | | | | | | | | register names in the standalone assembler llvm-mc. Registers such as $A1 can represent either a 32 or 64 bit register based on the instruction using it. In addition, based on the abi, $T0 can represent different 32 bit registers. The problem is resolved by the Mips specific AsmParser td definitions changing to work together. Many cases of RegisterClass parameters are now RegisterOperand. Contributer: Vladimir Medic llvm-svn: 172284 | ||||
* | [CMake] Remove dependencies to intrinsics_gen I introduced in r169724. | NAKAMURA Takumi | 2012-12-11 | 1 | -1/+1 |
| | | | | llvm-svn: 169819 | ||||
* | [CMake] Update dependencies to intrinsics_gen corresponding to r169711. | NAKAMURA Takumi | 2012-12-10 | 1 | -1/+1 |
| | | | | llvm-svn: 169724 | ||||
* | [mips] Generate big GOT code. | Akira Hatanaka | 2012-11-21 | 1 | -0/+4 |
| | | | | llvm-svn: 168460 | ||||
* | Add HIGHER and HIGHEST relocations to Mips backend. | Akira Hatanaka | 2012-07-21 | 1 | -0/+2 |
| | | | | llvm-svn: 160599 | ||||
* | Enclose instruction rdhwr with directives, which are needed when target is | Akira Hatanaka | 2012-07-05 | 1 | -0/+18 |
| | | | | | | mips32 rev1 (the directives are emitted when target is mips32r2 too). llvm-svn: 159770 | ||||
* | Fix typos found by http://github.com/lyda/misspell-check | Benjamin Kramer | 2012-06-02 | 1 | -1/+1 |
| | | | | llvm-svn: 157885 | ||||
* | Move getOpcodeName from the various target InstPrinters into the superclass ↵ | Benjamin Kramer | 2012-04-02 | 2 | -5/+0 |
| | | | | | | | | MCInstPrinter. All implementations used the same code. llvm-svn: 153866 | ||||
* | Remove getInstructionName from MCInstPrinter implementations in favor of ↵ | Craig Topper | 2012-04-02 | 2 | -3/+2 |
| | | | | | | using the instruction name table from MCInstrInfo. Reduces static data in the InstPrinter implementations. llvm-svn: 153863 | ||||
* | Make MCInstrInfo available to the MCInstPrinter. This will be used to remove ↵ | Craig Topper | 2012-04-02 | 1 | -2/+3 |
| | | | | | | getInstructionName and the static data it contains since the same tables are already in MCInstrInfo. llvm-svn: 153860 | ||||
* | Make MCRegisterInfo available to the the MCInstPrinter. | Jim Grosbach | 2012-03-05 | 1 | -1/+2 |
| | | | | | | | Used to allow context sensitive printing of super-register or sub-register references. llvm-svn: 152043 | ||||
* | remove blanks, and some code format | Jia Liu | 2012-02-28 | 2 | -6/+6 |
| | | | | llvm-svn: 151625 | ||||
* | 80 columns of Mips InstPrinter Makefile | Jia Liu | 2012-02-24 | 1 | -1/+1 |
| | | | | llvm-svn: 151332 | ||||
* | remove Emacs-tag form .cpp files in Mips Backend, and fix some typo. | Jia Liu | 2012-02-17 | 1 | -1/+1 |
| | | | | llvm-svn: 150805 | ||||
* | add Emacs tag and fix some comment error in file headers | Jia Liu | 2012-02-17 | 2 | -2/+2 |
| | | | | llvm-svn: 150775 | ||||
* | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-07 | 1 | -1/+1 |
| | | | | llvm-svn: 149961 | ||||
* | Tidy up. Simplify logic. No functional change intended. | Akira Hatanaka | 2011-12-19 | 1 | -20/+20 |
| | | | | llvm-svn: 146896 | ||||
* | Add support for local dynamic TLS model in LowerGlobalTLSAddress. Direct object | Akira Hatanaka | 2011-12-14 | 1 | -0/+3 |
| | | | | | | | emission is not supported yet, but a patch that adds the support should follow soon. llvm-svn: 146572 | ||||
* | LLVMBuild: Remove trailing newline, which irked me. | Daniel Dunbar | 2011-12-12 | 1 | -1/+0 |
| | | | | llvm-svn: 146409 | ||||
* | Add a few moreLocal/Global R_MIPS_GOT related fixups and | Bruno Cardoso Lopes | 2011-12-07 | 1 | -0/+1 |
| | | | | | | | | make the addend fixup code a bit more generic Patch by Jack Carter. llvm-svn: 145998 |