1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/CodeGen/MIRParser
Oren Ben Simhon cfab6a83e8 [MIR] Support Customed Register Mask and CSRs
The MIR printer dumps a string that describe the register mask of a function.
A static predefined list of register masks matches a static list of strings.
However when the register mask is not from the static predefined list, there is no descriptor string and the printer fails.
This patch adds support to custom register mask printing and dumping.
Also the list of callee saved registers (describing the registers that must be preserved for the caller) might be dynamic.
As such this data needs to be dumped and parsed back to the Machine Register Info.

Differential Revision: https://reviews.llvm.org/D30971

llvm-svn: 298207
2017-03-19 08:14:18 +00:00
..
CMakeLists.txt [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
LLVMBuild.txt MIRParser/LLVMBuild.txt: Add MC for MCRegisterInfo::getDwarfRegNum(). 2015-07-24 01:12:36 +00:00
MILexer.cpp [MIRParser] Parse lane masks for register live-ins 2016-10-12 21:06:45 +00:00
MILexer.h [MIRParser] Parse lane masks for register live-ins 2016-10-12 21:06:45 +00:00
MIParser.cpp [MIR] Support Customed Register Mask and CSRs 2017-03-19 08:14:18 +00:00
MIParser.h MIRParser: Allow regclass specification on operand 2017-01-18 00:59:19 +00:00
MIRParser.cpp [MIR] Support Customed Register Mask and CSRs 2017-03-19 08:14:18 +00:00