OSDN Git Service

[mips][ias] Moved most instruction emission helpers to MipsTargetStreamer. NFC.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 29 Apr 2016 13:33:12 +0000 (13:33 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 29 Apr 2016 13:33:12 +0000 (13:33 +0000)
commita0e83333a70d2ff71d4cba56e8859a2ed7c25bc9
tree2663b50e92ac1b70590a4092b23e3858d6c142d4
parentb5a82b6983f8c0773a95a2dcc79b7e71a7554e54
[mips][ias] Moved most instruction emission helpers to MipsTargetStreamer. NFC.

Summary:
* Moved all the emit*() helpers to MipsTargetStreamer.
* Moved createNop() to MipsTargetStreamer as emitNop() and emitEmptyDelaySlot().
  This instruction has been split to distinguish between the 'nop' instruction
  and the nop used in delay slots which is sometimes a different nop to the
  'nop' instruction (e.g. for short delay slots on microMIPS).
* Moved createAddu() to MipsTargetStreamer as emitAddu().
* Moved createAppropriateDSLL() to MipsTargetStreamer as emitDSLL().

Reviewers: sdardis

Subscribers: dsanders, sdardis, llvm-commits

Differential Revision: http://reviews.llvm.org/D19712

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268041 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
lib/Target/Mips/MipsTargetStreamer.h