llvm-6502/lib/Target/Mips
Akira Hatanaka f93b863066 Emit all directives except for ".cprestore" during asm printing rather than emit
them as machine instructions. Directives ".set noat" and ".set at" are now
emitted only at the beginning and end of a function except in the case where
they are emitted to enclose .cpload with an immediate operand that doesn't fit
in 16-bit field or unaligned load/stores.

Also, make the following changes:
- Remove function isUnalignedLoadStore and use a switch-case statement to
  determine whether an instruction is an unaligned load or store.

- Define helper function CreateMCInst which generates an instance of an MCInst
  from an opcode and a list of operands.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153552 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-28 00:22:50 +00:00
..
AsmParser remove Emacs-tag form .cpp files in Mips Backend, and fix some typo. 2012-02-17 08:55:11 +00:00
InstPrinter Make MCRegisterInfo available to the the MCInstPrinter. 2012-03-05 19:33:20 +00:00
MCTargetDesc Prune some includes 2012-03-27 07:54:11 +00:00
TargetInfo remove Emacs-tag form .cpp files in Mips Backend, and fix some typo. 2012-02-17 08:55:11 +00:00
CMakeLists.txt Target/Mips: Unbreak CMake build. 2012-01-25 03:15:46 +00:00
LLVMBuild.txt Add the skeleton of an asm parser for mips. 2012-01-11 03:56:41 +00:00
Makefile Add the skeleton of an asm parser for mips. 2012-01-11 03:56:41 +00:00
Mips64InstrInfo.td Changes for migrating to using register mask operands. 2012-03-01 22:27:29 +00:00
Mips.h Reorder includes in Target backends to following coding standards. Remove some superfluous forward declarations. 2012-03-17 18:46:09 +00:00
Mips.td remove blanks, and some code format 2012-02-28 07:46:26 +00:00
MipsAnalyzeImmediate.cpp Fix undefined behavior in the Mips backend. 2012-03-09 06:36:45 +00:00
MipsAnalyzeImmediate.h Fix undefined behavior in the Mips backend. 2012-03-09 06:36:45 +00:00
MipsAsmPrinter.cpp Emit all directives except for ".cprestore" during asm printing rather than emit 2012-03-28 00:22:50 +00:00
MipsAsmPrinter.h Emit all directives except for ".cprestore" during asm printing rather than emit 2012-03-28 00:22:50 +00:00
MipsCallingConv.td Changes for migrating to using register mask operands. 2012-03-01 22:27:29 +00:00
MipsCodeEmitter.cpp remove Emacs-tag form .cpp files in Mips Backend, and fix some typo. 2012-02-17 08:55:11 +00:00
MipsCondMov.td remove blanks, and some code format 2012-02-28 07:46:26 +00:00
MipsDelaySlotFiller.cpp Use uint16_t to store register overlaps to reduce static data. 2012-03-04 10:43:23 +00:00
MipsEmitGPRestore.cpp remove blanks, and some code format 2012-02-28 07:46:26 +00:00
MipsExpandPseudo.cpp Convert more GenRegisterInfo tables from unsigned to uint16_t to reduce static data size. 2012-03-05 05:37:41 +00:00
MipsFrameLowering.cpp Emit all directives except for ".cprestore" during asm printing rather than emit 2012-03-28 00:22:50 +00:00
MipsFrameLowering.h remove blanks, and some code format 2012-02-28 07:46:26 +00:00
MipsInstrFormats.td Fix bugs which were introduced when support for base+index floating point loads 2012-03-01 22:12:30 +00:00
MipsInstrFPU.td Fix bugs which were introduced when support for base+index floating point loads 2012-03-01 22:12:30 +00:00
MipsInstrInfo.cpp remove blanks, and some code format 2012-02-28 07:46:26 +00:00
MipsInstrInfo.h Reorder includes in Target backends to following coding standards. Remove some superfluous forward declarations. 2012-03-17 18:46:09 +00:00
MipsInstrInfo.td Emit all directives except for ".cprestore" during asm printing rather than emit 2012-03-28 00:22:50 +00:00
MipsISelDAGToDAG.cpp Add T9 to the list of live-in registers of the entry basic block. 2012-03-27 02:46:25 +00:00
MipsISelLowering.cpp Pass the llvm IR pointer value and offset to the constructor of 2012-03-27 03:13:56 +00:00
MipsISelLowering.h Reorder includes in Target backends to following coding standards. Remove some superfluous forward declarations. 2012-03-17 18:46:09 +00:00
MipsJITInfo.cpp remove Emacs-tag form .cpp files in Mips Backend, and fix some typo. 2012-02-17 08:55:11 +00:00
MipsJITInfo.h Prune some includes 2012-03-27 07:54:11 +00:00
MipsMachineFunction.cpp remove blanks, and some code format 2012-02-28 07:46:26 +00:00
MipsMachineFunction.h Add member EmitNOAT and its setter and getter functions to class MipsFunctionInfo. 2012-03-27 19:08:42 +00:00
MipsMCInstLower.cpp Emit all directives except for ".cprestore" during asm printing rather than emit 2012-03-28 00:22:50 +00:00
MipsMCInstLower.h Emit all directives except for ".cprestore" during asm printing rather than emit 2012-03-28 00:22:50 +00:00
MipsRegisterInfo.cpp Emit all directives except for ".cprestore" during asm printing rather than emit 2012-03-28 00:22:50 +00:00
MipsRegisterInfo.h Use uint16_t to store registers in callee saved register tables to reduce size of static data. 2012-03-04 03:33:22 +00:00
MipsRegisterInfo.td delete useless comment&blank 2012-02-27 02:21:34 +00:00
MipsRelocations.h remove blanks, and some code format 2012-02-28 07:46:26 +00:00
MipsSchedule.td remove blanks, and some code format 2012-02-28 07:46:26 +00:00
MipsSelectionDAGInfo.cpp remove Emacs-tag form .cpp files in Mips Backend, and fix some typo. 2012-02-17 08:55:11 +00:00
MipsSelectionDAGInfo.h Reverse unnecessary changes made in r129606 and r129608. There is no change in functionality. 2011-04-15 21:51:11 +00:00
MipsSubtarget.cpp remove blanks, and some code format 2012-02-28 07:46:26 +00:00
MipsSubtarget.h remove blanks, and some code format 2012-02-28 07:46:26 +00:00
MipsTargetMachine.cpp Reorder includes in Target backends to following coding standards. Remove some superfluous forward declarations. 2012-03-17 18:46:09 +00:00
MipsTargetMachine.h Reorder includes in Target backends to following coding standards. Remove some superfluous forward declarations. 2012-03-17 18:46:09 +00:00
MipsTargetObjectFile.cpp remove Emacs-tag form .cpp files in Mips Backend, and fix some typo. 2012-02-17 08:55:11 +00:00
MipsTargetObjectFile.h Reverse unnecessary changes made in r129606 and r129608. There is no change in functionality. 2011-04-15 21:51:11 +00:00