hanchenye-llvm-project/llvm/utils/TableGen
Chris Lattner 8bb25cd68a Emit an error if instructions or patterns are defined but can never match.
Currently we check that immediate values live on the RHS of commutative
operators.  Defining ORI like this, for example:

def ORI   : DForm_4<24, (ops GPRC:$dst, GPRC:$src1, u16imm:$src2),
                    "ori $dst, $src1, $src2",
                    [(set GPRC:$dst, (or immZExt16:$src2, GPRC:$src1))]>;

results in:

tblgen: In ORI: Instruction can never match: Immediate values must be on the RHS of commutative operators!
llvm-svn: 23501
2005-09-28 19:27:25 +00:00
..
.cvsignore Implement PR614: 2005-08-27 18:50:39 +00:00
AsmWriterEmitter.cpp Eliminate all remaining tabs and trailing spaces. 2005-07-27 06:12:32 +00:00
AsmWriterEmitter.h Remove trailing whitespace 2005-04-22 00:00:37 +00:00
CodeEmitterGen.cpp The code emitter generator only supports targets with 32-bit instruction 2005-08-19 01:04:33 +00:00
CodeEmitterGen.h Remove trailing whitespace 2005-04-22 00:00:37 +00:00
CodeGenInstruction.h spell this variable right 2005-08-26 20:42:52 +00:00
CodeGenRegisters.h Compute the value types that are natively supported by a target. 2005-09-08 21:43:21 +00:00
CodeGenTarget.cpp force all instruction operands to be named. 2005-09-14 21:13:50 +00:00
CodeGenTarget.h add an accessor 2005-09-14 18:02:53 +00:00
DAGISelEmitter.cpp Emit an error if instructions or patterns are defined but can never match. 2005-09-28 19:27:25 +00:00
DAGISelEmitter.h Emit an error if instructions or patterns are defined but can never match. 2005-09-28 19:27:25 +00:00
FileLexer.cpp Regenerate 2005-09-12 05:30:06 +00:00
FileLexer.l Tighten up the specification to allow TableGen/nested-comment.td to pass 2005-09-06 21:23:09 +00:00
FileParser.cpp Regenerate 2005-09-12 05:30:06 +00:00
FileParser.h Regenerate 2005-09-12 05:30:06 +00:00
FileParser.y Rearrange two rules, which apparently makes some versions of bison happier. 2005-09-12 05:29:43 +00:00
InstrInfoEmitter.cpp spell this variable right 2005-08-26 20:42:52 +00:00
InstrInfoEmitter.h Emit real operand info for instructions. This currently works but is bad 2005-08-19 18:46:26 +00:00
InstrSelectorEmitter.cpp Rename a class. These files are being migrated to the new isel and I want to 2005-09-06 22:51:34 +00:00
InstrSelectorEmitter.h Rename a class. These files are being migrated to the new isel and I want to 2005-09-06 22:51:34 +00:00
Makefile Implement PR614: 2005-08-27 18:50:39 +00:00
Record.cpp Add a new Record::getValueAsCode method to mirror the other getValueAs* 2005-09-13 21:44:28 +00:00
Record.h Add a new Record::getValueAsCode method to mirror the other getValueAs* 2005-09-13 21:44:28 +00:00
RegisterInfoEmitter.cpp Expose the derived register classes to the public header, allowing them 2005-08-19 20:23:42 +00:00
RegisterInfoEmitter.h Remove trailing whitespace 2005-04-22 00:00:37 +00:00
TableGen.cpp Add an option and stuff implementation of a dag isel emitter 2005-09-03 01:14:03 +00:00
TableGenBackend.cpp Remove trailing whitespace 2005-04-22 00:00:37 +00:00
TableGenBackend.h Remove trailing whitespace 2005-04-22 00:00:37 +00:00