1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/utils/TableGen
Daniel Sanders d400a290e5 [globalisel][tablegen] Simplify named operand/operator lookups and fix a wrong-code bug this revealed.
Summary:
Operand variable lookups are now performed by the RuleMatcher rather than
searching the whole matcher hierarchy for a match. This revealed a wrong-code
bug that currently affects ARM and X86 where patterns that use a variable more
than once in the match pattern will be imported but won't check that the
operands are identical. This can cause the tablegen-erated matcher to
accept matches that should be rejected.

Depends on D36569

Reviewers: ab, t.p.northover, qcolombet, rovka, aditya_nandakumar

Subscribers: aemerson, igorb, llvm-commits, kristof.beyls

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

llvm-svn: 315780
2017-10-14 00:31:58 +00:00
..
AsmMatcherEmitter.cpp [dump] Remove NDEBUG from test to enable dump methods [NFC] 2017-10-12 16:16:06 +00:00
AsmWriterEmitter.cpp [TableGen] Use StringRef instead of std::string for CodeGenInstruction namespace. NFC 2017-07-07 06:22:35 +00:00
AsmWriterInst.cpp
AsmWriterInst.h
Attributes.cpp [TableGen] Adapt more places to getValueAsString now returning a StringRef instead of a std::string. 2017-05-31 21:12:46 +00:00
CallingConvEmitter.cpp
CMakeLists.txt [X86][TableGen] Recommitting the X86 memory folding tables TableGen backend while disabling it by default. 2017-10-08 09:20:32 +00:00
CodeEmitterGen.cpp [tablegen] Avoid creating a temporary vector in getInstructionCase 2017-07-04 06:16:53 +00:00
CodeGenDAGPatterns.cpp [globalisel][tablegen] Add support for fpimm and import of APInt/APFloat based ImmLeaf. 2017-10-13 21:28:03 +00:00
CodeGenDAGPatterns.h [globalisel][tablegen] Add support for fpimm and import of APInt/APFloat based ImmLeaf. 2017-10-13 21:28:03 +00:00
CodeGenHwModes.cpp TableGen support for parameterized register class information 2017-09-14 16:56:21 +00:00
CodeGenHwModes.h TableGen support for parameterized register class information 2017-09-14 16:56:21 +00:00
CodeGenInstruction.cpp [TableGen] : CodeGenInsrtuction modify to range loop. NFC. 2017-10-06 09:32:45 +00:00
CodeGenInstruction.h [TableGen] Use StringRef instead of std::string for CodeGenInstruction namespace. NFC 2017-07-07 06:22:35 +00:00
CodeGenIntrinsics.h TableGen: Add IntrHasSideEffects property for intrinsics 2017-04-28 21:01:46 +00:00
CodeGenMapTable.cpp [TableGen] Use StringRef instead of std::string for CodeGenInstruction namespace. NFC 2017-07-07 06:22:35 +00:00
CodeGenRegisters.cpp [TableGen] Replace InfoByHwMode::getAsString with writeToStream 2017-09-22 18:29:37 +00:00
CodeGenRegisters.h TableGen support for parameterized register class information 2017-09-14 16:56:21 +00:00
CodeGenSchedule.cpp [TableGen] Tidy up CodeGenSchedule.cpp 2017-10-11 09:33:23 +00:00
CodeGenSchedule.h [MiSched|TableGen] : Tidy up and modernise. NFC. 2017-09-13 10:31:10 +00:00
CodeGenTarget.cpp TableGen support for parameterized register class information 2017-09-14 16:56:21 +00:00
CodeGenTarget.h TableGen support for parameterized register class information 2017-09-14 16:56:21 +00:00
CTagsEmitter.cpp
DAGISelEmitter.cpp TableGen support for parameterized register class information 2017-09-14 16:56:21 +00:00
DAGISelMatcher.cpp
DAGISelMatcher.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
DAGISelMatcherEmitter.cpp Strip trailing whitespace 2017-10-06 15:33:55 +00:00
DAGISelMatcherGen.cpp TableGen support for parameterized register class information 2017-09-14 16:56:21 +00:00
DAGISelMatcherOpt.cpp [TableGen] Use less stack in DAGISelMatcherOpt 2017-02-06 19:41:44 +00:00
DFAPacketizerEmitter.cpp
DisassemblerEmitter.cpp
FastISelEmitter.cpp Strip trailing whitespace 2017-10-06 15:33:55 +00:00
FixedLenDecoderEmitter.cpp [tablegen] Avoid creating temporary strings 2017-07-05 20:14:54 +00:00
GlobalISelEmitter.cpp [globalisel][tablegen] Simplify named operand/operator lookups and fix a wrong-code bug this revealed. 2017-10-14 00:31:58 +00:00
InfoByHwMode.cpp [TableGen] Replace InfoByHwMode::getAsString with writeToStream 2017-09-22 18:29:37 +00:00
InfoByHwMode.h [TableGen] Replace InfoByHwMode::getAsString with writeToStream 2017-09-22 18:29:37 +00:00
InstrInfoEmitter.cpp [TableGen] Use StringRef instead of std::string for CodeGenInstruction namespace. NFC 2017-07-07 06:22:35 +00:00
IntrinsicEmitter.cpp [TableGen] Allow intrinsics to have up to 8 return values. 2017-10-12 17:40:00 +00:00
LLVMBuild.txt
OptParserEmitter.cpp [Bash-autocompletion] Add support for -std= 2017-08-29 02:01:56 +00:00
PseudoLoweringEmitter.cpp
RegisterBankEmitter.cpp Revert "[ADT] Make Twine's copy constructor private." 2017-10-11 23:54:34 +00:00
RegisterInfoEmitter.cpp [TableGen] : Simplify RegisterInfoEmitter 2017-10-13 16:27:57 +00:00
SearchableTableEmitter.cpp [tablegen] Avoid creating temporary strings 2017-07-05 20:14:54 +00:00
SequenceToOffsetTable.h Remove usages of deprecated std::unary_function and std::binary_function. 2017-09-14 18:33:25 +00:00
SubtargetEmitter.cpp [dump] Remove NDEBUG from test to enable dump methods [NFC] 2017-10-12 16:16:06 +00:00
SubtargetFeatureInfo.cpp [dump] Remove NDEBUG from test to enable dump methods [NFC] 2017-10-12 16:16:06 +00:00
SubtargetFeatureInfo.h [globalisel][tablegen] Compute available feature bits correctly. 2017-04-29 17:30:09 +00:00
TableGen.cpp [X86][TableGen] Recommitting the X86 memory folding tables TableGen backend while disabling it by default. 2017-10-08 09:20:32 +00:00
TableGenBackends.h [X86][TableGen] Recommitting the X86 memory folding tables TableGen backend while disabling it by default. 2017-10-08 09:20:32 +00:00
tdtags
Types.cpp [globalisel][tablegen] Import SelectionDAG's rule predicates and support the equivalent in GIRule. 2017-04-21 15:59:56 +00:00
Types.h
X86DisassemblerShared.h
X86DisassemblerTables.cpp fix trivial typos in comments; NFC 2017-07-04 13:09:29 +00:00
X86DisassemblerTables.h fix trivial typos in comments; NFC 2017-07-04 13:09:29 +00:00
X86EVEX2VEXTablesEmitter.cpp [AVX512] Add 128->256 vbroadcastf64x2/vbroadcasti64x2 instructions to the EVEX->VEX table. 2017-08-21 05:03:28 +00:00
X86FoldTablesEmitter.cpp Fix LLDB build for Android. 2017-10-09 22:43:35 +00:00
X86ModRMFilters.cpp
X86ModRMFilters.h fix trivial typos in comments; NFC 2017-07-04 13:09:29 +00:00
X86RecognizableInstr.cpp [tablegen] Avoid creating temporary strings 2017-07-05 20:14:54 +00:00
X86RecognizableInstr.h fix trivial typos in comments; NFC 2017-07-04 13:09:29 +00:00