OSDN Git Service

[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)
commitfbdb8e1eac27e4a17364d263f1dfe1d03b9287b6
tree7b9423d47201d87e77cfe37482181eeffcbf019a
parentaebcee661e1de0ea8a21dc50891926a91ba78039
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212522 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MCTargetDesc/CMakeLists.txt
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp [new file with mode: 0644]
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h [new file with mode: 0644]
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
lib/Target/Mips/MipsAsmPrinter.cpp
lib/Target/Mips/MipsTargetStreamer.h
test/MC/Mips/msa/abiflags.s [new file with mode: 0644]