1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/lib/Target/Lanai
Nirav Dave 459830f670 Refactor and cleanup Assembly Parsing / Lexing
Recommiting after fixing non-atomic insert to front of SmallVector in
MCAsmLexer.h

Add explicit Comment Token in Assembly Lexing for future support for
outputting explicit comments from inline assembly. As part of this,
CPPHash Directives are now explicitly distinguished from Hash line
comments in Lexer.

Line comments are recorded as EndOfStatement tokens, not Comment tokens
to simplify compatibility with current TargetParsers. This slightly
complicates comment output.

This remove all lexing tasks out of the parser, does minor cleanup
to remove extraneous newlines Asm Output, and some improvements white
space handling.

Reviewers: rtrieu, dwmw2, rnk

Subscribers: llvm-commits

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

llvm-svn: 273007
2016-06-17 16:06:17 +00:00
..
AsmParser Refactor and cleanup Assembly Parsing / Lexing 2016-06-17 16:06:17 +00:00
Disassembler
InstPrinter [lanai] Change reloc to use PIC_ by default and cleanup. 2016-05-20 21:41:53 +00:00
MCTargetDesc [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
TargetInfo
CMakeLists.txt
Lanai.h
Lanai.td
LanaiAluCode.h
LanaiAsmPrinter.cpp [lanai] Change reloc to use PIC_ by default and cleanup. 2016-05-20 21:41:53 +00:00
LanaiCallingConv.td
LanaiCondCode.h
LanaiDelaySlotFiller.cpp [lanai] Change reloc to use PIC_ by default and cleanup. 2016-05-20 21:41:53 +00:00
LanaiFrameLowering.cpp Change eliminateCallFramePseudoInstr() to return an iterator 2016-03-31 18:33:38 +00:00
LanaiFrameLowering.h Change eliminateCallFramePseudoInstr() to return an iterator 2016-03-31 18:33:38 +00:00
LanaiInstrFormats.td
LanaiInstrInfo.cpp Pass DebugLoc and SDLoc by const ref. 2016-06-12 15:39:02 +00:00
LanaiInstrInfo.h Pass DebugLoc and SDLoc by const ref. 2016-06-12 15:39:02 +00:00
LanaiInstrInfo.td [Lanai] Set CTLZ_ZERO_UNDEF/CTTZ_ZERO_UNDEF to Expand instead of Legal so they will be converted to CTLZ/CTTZ by LegalizeDAG. Remove extra instructions that only existed to to contain patterns that match the zero_undef operations. NFC 2016-04-22 05:13:01 +00:00
LanaiISelDAGToDAG.cpp Pass DebugLoc and SDLoc by const ref. 2016-06-12 15:39:02 +00:00
LanaiISelLowering.cpp Pass DebugLoc and SDLoc by const ref. 2016-06-12 15:39:02 +00:00
LanaiISelLowering.h Pass DebugLoc and SDLoc by const ref. 2016-06-12 15:39:02 +00:00
LanaiMachineFunctionInfo.cpp
LanaiMachineFunctionInfo.h
LanaiMCInstLower.cpp [lanai] Fix for LanaiDelaySlotFiller and LanaiMCInstLower.cpp 2016-04-03 00:49:27 +00:00
LanaiMCInstLower.h
LanaiMemAluCombiner.cpp [lanai] Expand findClosestSuitableAluInstr check to consider offset register. 2016-04-25 16:41:21 +00:00
LanaiRegisterInfo.cpp [lanai] Change reloc to use PIC_ by default and cleanup. 2016-05-20 21:41:53 +00:00
LanaiRegisterInfo.h
LanaiRegisterInfo.td
LanaiSchedule.td Remove MinLatency in SchedMachineModel. NFC. 2016-04-26 00:37:46 +00:00
LanaiSelectionDAGInfo.cpp Pass DebugLoc and SDLoc by const ref. 2016-06-12 15:39:02 +00:00
LanaiSelectionDAGInfo.h Pass DebugLoc and SDLoc by const ref. 2016-06-12 15:39:02 +00:00
LanaiSetflagAluCombiner.cpp [lanai] Change the way flag setting instructions are checked. 2016-05-18 21:31:37 +00:00
LanaiSubtarget.cpp [lanai] Use Optional<Reloc> in LanaiTargetMachine. 2016-05-20 03:21:37 +00:00
LanaiSubtarget.h [lanai] Use Optional<Reloc> in LanaiTargetMachine. 2016-05-20 03:21:37 +00:00
LanaiTargetMachine.cpp [lanai] Change reloc to use PIC_ by default and cleanup. 2016-05-20 21:41:53 +00:00
LanaiTargetMachine.h [lanai] Use Optional<Reloc> in LanaiTargetMachine. 2016-05-20 03:21:37 +00:00
LanaiTargetObjectFile.cpp [lanai] Change reloc to use PIC_ by default and cleanup. 2016-05-20 21:41:53 +00:00
LanaiTargetObjectFile.h
LanaiTargetTransformInfo.h
LLVMBuild.txt