1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/utils/TableGen
Jay Foad 84f5fe8d70 [TableGen] Treat reg as isolated in reg$foo (but not in ${foo}reg)
D9844 fixed a problem where the ss suffix in the AsmString "cmp${cc}ss"
was recognised as the X86 SS register, by only recognising a token as a
register name if it is "isolated", i.e. surrounded by separator
characters.

In the AMDGPU backend there are many operands like $clamp which expand
to an optional string " clamp" including the preceding space, so we want
to have AsmStrings including sequences like "vcc$clamp" where vcc is a
register name.

This patch relaxes the rules for an isolated token, to say that it's OK
if the token is immediately followed by a '$'.

Differential Revision: https://reviews.llvm.org/D90315
2020-10-28 21:39:39 +00:00
..
GlobalISel
AsmMatcherEmitter.cpp [TableGen] Treat reg as isolated in reg$foo (but not in ${foo}reg) 2020-10-28 21:39:39 +00:00
AsmWriterEmitter.cpp
AsmWriterInst.cpp
AsmWriterInst.h
Attributes.cpp
CallingConvEmitter.cpp
CMakeLists.txt
CodeEmitterGen.cpp
CodeGenDAGPatterns.cpp [SVE] Replace TypeSize comparison operators in llvm/utils/TableGen 2020-10-19 08:21:36 +01:00
CodeGenDAGPatterns.h CodeGenDAGPatterns.h - remove unnecessary ComplexPattern forward declaration. NFCI. 2020-07-20 15:17:19 +01:00
CodeGenHwModes.cpp
CodeGenHwModes.h
CodeGenInstruction.cpp
CodeGenInstruction.h
CodeGenIntrinsics.h [IR] Add NoUndef attribute to Intrinsics.td 2020-08-27 02:54:48 +09:00
CodeGenMapTable.cpp
CodeGenRegisters.cpp [TableGen] Fix invalid comparison function SizeOrder in getMatchingSubClassWithSubRegs 2020-09-15 15:48:43 -04:00
CodeGenRegisters.h
CodeGenSchedule.cpp Fix Windows/MSVC build after 6e56046f65 2020-10-13 15:24:58 +03:00
CodeGenSchedule.h [TableGen][SchedModels] Fix aliasing of SchedWriteVariant 2020-10-13 13:05:24 +03:00
CodeGenTarget.cpp [WebAssembly] Implementation of (most) table instructions 2020-10-23 08:42:54 -07:00
CodeGenTarget.h [TableGen][GlobalISel] Fix handling of zero_reg 2020-09-18 11:01:11 +02:00
CTagsEmitter.cpp
DAGISelEmitter.cpp
DAGISelMatcher.cpp
DAGISelMatcher.h
DAGISelMatcherEmitter.cpp
DAGISelMatcherGen.cpp
DAGISelMatcherOpt.cpp
DFAEmitter.cpp [TableGen] Do not construct string from nullptr 2020-09-10 16:42:11 +02:00
DFAEmitter.h
DFAPacketizerEmitter.cpp
DirectiveEmitter.cpp [openmp][openacc] Check for duplicate clauses for directive 2020-10-28 15:12:38 -04:00
DisassemblerEmitter.cpp
ExegesisEmitter.cpp
FastISelEmitter.cpp
FixedLenDecoderEmitter.cpp
GICombinerEmitter.cpp
GlobalISelEmitter.cpp [TableGen][GlobalISel] add handling of nested *_SUBREG 2020-10-05 10:42:18 +02:00
InfoByHwMode.cpp
InfoByHwMode.h
InstrDocsEmitter.cpp
InstrInfoEmitter.cpp
IntrinsicEmitter.cpp [SVE] Replace TypeSize comparison operators in llvm/utils/TableGen 2020-10-19 08:21:36 +01:00
LLVMBuild.txt [gn] Remove unneeded MC dep from llvm-tblgen 2020-09-11 18:28:49 -07:00
OptEmitter.cpp
OptEmitter.h
OptParserEmitter.cpp [clangd] Fix the build with clang <3.9. 2020-07-17 16:12:31 -06:00
OptRSTEmitter.cpp
PredicateExpander.cpp [ARM][SchedModels] Convert IsPredicatedPred to MCSchedPredicate 2020-10-19 11:37:54 +03:00
PredicateExpander.h [ARM][SchedModels] Convert IsPredicatedPred to MCSchedPredicate 2020-10-19 11:37:54 +03:00
PseudoLoweringEmitter.cpp [TableGen] Add overload of RecordKeeper::getAllDerivedDefinitions() 2020-10-12 16:40:09 -04:00
RegisterBankEmitter.cpp GlobalISel: Define InvalidRegBankID enum value 2020-08-06 12:39:49 -04:00
RegisterInfoEmitter.cpp Internalize functions from various tools. NFC 2020-09-26 15:57:13 -07:00
RISCVCompressInstEmitter.cpp [RISCV] [TableGen] Modify RISCVCompressInstEmitter.cpp to use getAllDerivedDefinitions(). 2020-10-15 10:11:12 -04:00
SDNodeProperties.cpp
SDNodeProperties.h
SearchableTableEmitter.cpp Enhance TableGen so that backends can produce better error messages. 2020-09-23 13:35:32 -04:00
SequenceToOffsetTable.h
SubtargetEmitter.cpp [ARM][SchedModels] Convert IsPredicatedPred to MCSchedPredicate 2020-10-19 11:37:54 +03:00
SubtargetFeatureInfo.cpp SubtargetFeatureInfo.h - remove unnecessary include and forward declarations. NFCI. 2020-07-20 13:39:24 +01:00
SubtargetFeatureInfo.h SubtargetFeatureInfo.h - remove unnecessary include and forward declarations. NFCI. 2020-07-20 13:39:24 +01:00
TableGen.cpp [TableGen] New backend to print detailed records. 2020-10-02 10:22:13 -04:00
TableGenBackends.h [flang][openmp] Check clauses allowed semantic with tablegen generated map 2020-07-11 12:45:12 -04:00
tdtags
Types.cpp
Types.h
WebAssemblyDisassemblerEmitter.cpp [WebAssembly] Prototype extending multiplication SIMD instructions 2020-10-28 09:38:59 -07:00
WebAssemblyDisassemblerEmitter.h
X86DisassemblerShared.h
X86DisassemblerTables.cpp [X86] Remove MODRM_SPLITREGM from the disassembler tables. 2020-07-03 00:16:20 -07:00
X86DisassemblerTables.h
X86EVEX2VEXTablesEmitter.cpp
X86FoldTablesEmitter.cpp [X86] Sort the tables before printing in X86FoldTablesEmitter. 2020-10-18 17:39:38 -07:00
X86ModRMFilters.cpp [X86-64] Support Intel AMX instructions 2020-07-02 08:57:04 +08:00
X86ModRMFilters.h [X86-64] Support Intel AMX instructions 2020-07-02 08:57:04 +08:00
X86RecognizableInstr.cpp [X86] Allow lsl/lar to be parsed with a GR16, GR32, or GR64 as source register. 2020-07-15 23:51:37 -07:00
X86RecognizableInstr.h [X86-64] Support Intel AMX instructions 2020-07-02 08:57:04 +08:00