llvm-project/llvm/utils/TableGen
Chris Lattner 9500b343db Make sure to use the result of the pattern to infer the result type of the
instruction, and the result type of the instruction to refine the pattern.
This allows us to write things like this:

def : Pat<(v2i64 (bitconvert (v16i8 VR128:$src))), (v2i64 VR128:$src)>;

as:
def : Pat<(v2i64 (bitconvert (v16i8 VR128:$src))), (VR128:$src)>

and fixes a ppc64 issue.

llvm-svn: 28863
2006-06-20 00:18:02 +00:00
..
.cvsignore Add new generated files to be ignored. 2006-03-23 23:45:32 +00:00
AsmWriterEmitter.cpp instructions can be in different namespaces. Make sure to use the right 2006-05-01 17:01:17 +00:00
AsmWriterEmitter.h Remove trailing whitespace 2005-04-22 00:00:37 +00:00
CodeEmitterGen.cpp Fix miscodegen of V_SET0 in PPC. 2006-03-18 00:40:36 +00:00
CodeEmitterGen.h Remove trailing whitespace 2005-04-22 00:00:37 +00:00
CodeGenInstruction.h * Remove instruction fields hasInFlag / hasOutFlag and added SNDPInFlag and 2006-01-09 18:27:06 +00:00
CodeGenIntrinsics.h Only compute intrinsic valuetypes when in a target .td file. 2006-03-28 00:15:00 +00:00
CodeGenRegisters.h Add support for generating v4i32 altivec code 2005-12-30 00:12:56 +00:00
CodeGenTarget.cpp Allow more use of iPTR in patterns. 2006-06-15 00:16:37 +00:00
CodeGenTarget.h Don't generate getCalleeSaveReg and getCalleeSaveRegClasses anymore. 2006-05-18 00:08:46 +00:00
DAGISelEmitter.cpp Make sure to use the result of the pattern to infer the result type of the 2006-06-20 00:18:02 +00:00
DAGISelEmitter.h Remove PointerType from target definition. Use abstract type MVT::iPTR to 2006-05-17 20:37:59 +00:00
FileLexer.cpp.cvs regenerate 2006-03-31 21:54:11 +00:00
FileLexer.l Generalize the previous binary operator support and add a string concatenation 2006-03-31 21:53:49 +00:00
FileLexer.l.cvs regenerate 2006-03-31 21:54:11 +00:00
FileParser.cpp.cvs regenerate 2006-03-31 21:54:11 +00:00
FileParser.h.cvs regenerate 2006-03-31 21:54:11 +00:00
FileParser.y Generalize the previous binary operator support and add a string concatenation 2006-03-31 21:53:49 +00:00
FileParser.y.cvs regenerate 2006-03-31 21:54:11 +00:00
InstrInfoEmitter.cpp Instructions with variable operands (variable_ops) can have a number required 2006-06-15 07:22:16 +00:00
InstrInfoEmitter.h Emit itinerary class in instruction info. 2005-10-31 17:16:46 +00:00
IntrinsicEmitter.cpp Adjust the Intrinsics.gen interface a little bit 2006-04-02 03:35:30 +00:00
IntrinsicEmitter.h extract some more information from the intrinsic table 2006-03-24 01:13:55 +00:00
Makefile Don't build tblgen with -pedantic or -Wno-long-long 2006-06-01 18:20:23 +00:00
Record.cpp Generalize the previous binary operator support and add a string concatenation 2006-03-31 21:53:49 +00:00
Record.h Generalize the previous binary operator support and add a string concatenation 2006-03-31 21:53:49 +00:00
RegisterInfoEmitter.cpp Allow more use of iPTR in patterns. 2006-06-15 00:16:37 +00:00
RegisterInfoEmitter.h Remove trailing whitespace 2005-04-22 00:00:37 +00:00
SubtargetEmitter.cpp Don't make zero-sized static arrays 2006-05-24 17:31:02 +00:00
SubtargetEmitter.h Allow itineraries to be passed through the Target Machine. 2005-11-01 20:06:59 +00:00
TableGen.cpp remove a bunch of long-dead testing code 2006-03-03 02:34:28 +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