[mips] Improve encapsulation of the .MIPS.abiflags implementation and limit scope...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 8 Jul 2014 10:11:38 +0000 (10:11 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 8 Jul 2014 10:11:38 +0000 (10:11 +0000)
commitc7dbc630e536470c2a10ef20c38d256832d8204f
tree08e4cad4fd5cc5752d89d0fcffc7938a8d5f4dfa
parentb8a86c43c08f7678ccb4fc3ac54a01693f21559c
[mips] Improve encapsulation of the .MIPS.abiflags implementation and limit scope of related enums

Summary:
Follow on to r212519 to improve the encapsulation and limit the scope of the enums.

Also merged two very similar parser functions, fixed a bug where ASE's
were not being reported, and marked CPR1's as being 128-bit when MSA is
enabled.

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

llvm-svn: 212522
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/lib/Target/Mips/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp [new file with mode: 0644]
llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h [new file with mode: 0644]
llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
llvm/lib/Target/Mips/MipsAsmPrinter.cpp
llvm/lib/Target/Mips/MipsTargetStreamer.h
llvm/test/MC/Mips/msa/abiflags.s [new file with mode: 0644]