llvm-6502/utils/TableGen
Dan Gohman 3a5797d946 Change how extended types are represented in MVTs. Instead of fiddling
bits, use a union of a SimpleValueType enum and a regular Type*.

This increases the size of MVT on 64-bit hosts from 32 bits to 64 bits.
In most cases, this doesn't add significant overhead. There are places
in codegen that use arrays of MVTs, so these are now larger, but
they're small in common cases.

This eliminates restrictions on the size of integer types and vector
types that can be represented in codegen. As the included testcase
demonstrates, it's now possible to codegen very large add operations.
There are still some complications with using very large types. PR2880
is still open so they can't be used as return values on normal targets,
there are no libcalls defined for very large integers so operations
like multiply and divide aren't supported.

This also introduces a minimal tablgen Type library, capable of
handling IntegerType and VectorType. This will allow parts of
TableGen that don't depend on using SimpleValueType values to handle
arbitrary integer and vector types.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58623 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-03 17:56:27 +00:00
..
AsmWriterEmitter.cpp Remove tabs from my previous commit. 2008-10-27 19:21:35 +00:00
AsmWriterEmitter.h remove attributions from utils. 2007-12-29 20:37:13 +00:00
CallingConvEmitter.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
CallingConvEmitter.h remove attributions from utils. 2007-12-29 20:37:13 +00:00
CMakeLists.txt Change how extended types are represented in MVTs. Instead of fiddling 2008-11-03 17:56:27 +00:00
CodeEmitterGen.cpp Fix shift overflow bug that would occur when a field was a full 32-bits 2008-10-05 18:31:58 +00:00
CodeEmitterGen.h remove attributions from utils. 2007-12-29 20:37:13 +00:00
CodeGenDAGPatterns.cpp Add support for having multiple predicates on a TreePatternNode. 2008-10-15 06:17:21 +00:00
CodeGenDAGPatterns.h Add support for having multiple predicates on a TreePatternNode. 2008-10-15 06:17:21 +00:00
CodeGenInstruction.cpp Remove redundant word in tblgen error message. 2008-10-27 15:59:43 +00:00
CodeGenInstruction.h Add a flag to indicate that an instruction is as cheap (or cheaper) than a move 2008-05-28 22:54:52 +00:00
CodeGenIntrinsics.h - Add "Commutative" property to intrinsics. This allows tblgen to generate the commuted variants for dagisel matching code. 2008-06-16 20:29:38 +00:00
CodeGenRegisters.h Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
CodeGenTarget.cpp Factor the code for determining the target-specific instruction 2008-08-20 21:45:57 +00:00
CodeGenTarget.h Factor the code for determining the target-specific instruction 2008-08-20 21:45:57 +00:00
DAGISelEmitter.cpp Have TableGen emit setSubgraphColor calls under control of a -gen-debug 2008-10-27 21:56:29 +00:00
DAGISelEmitter.h Teach the DAGISelEmitter to not compute the variable_ops operand 2008-05-31 02:11:25 +00:00
FastISelEmitter.cpp Add support for having multiple predicates on a TreePatternNode. 2008-10-15 06:17:21 +00:00
FastISelEmitter.h Refactor a bunch of FastISelEmitter code into a helper class, and 2008-08-26 21:21:20 +00:00
InstrEnumEmitter.cpp Add <cstdio> include where needed by gcc-4.4. 2008-10-08 07:23:46 +00:00
InstrEnumEmitter.h split enum emission out from InstrInfoEmitter into it's own tblgen backend. 2008-01-06 00:49:05 +00:00
InstrInfoEmitter.cpp Add RCBarriers to TargetInstrDesc. It's a list of register classes the given instruction can "clobber". For example, on x86 the call instruction can modify all of the XMM and fp stack registers. 2008-10-17 21:00:09 +00:00
InstrInfoEmitter.h Add RCBarriers to TargetInstrDesc. It's a list of register classes the given instruction can "clobber". For example, on x86 the call instruction can modify all of the XMM and fp stack registers. 2008-10-17 21:00:09 +00:00
IntrinsicEmitter.cpp Large mechanical patch. 2008-09-25 21:00:45 +00:00
IntrinsicEmitter.h remove attributions from utils. 2007-12-29 20:37:13 +00:00
LLVMCConfigurationEmitter.cpp Move llvmc2 header files under include/llvm/CompilerDriver 2008-09-22 20:50:40 +00:00
LLVMCConfigurationEmitter.h Fix some headers. 2008-05-30 06:20:54 +00:00
Makefile remove attributions from tools/utils makefiles. 2007-12-29 20:07:17 +00:00
Record.cpp Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
Record.h Unbreak LLVM on the MSVC compiler: 2008-10-22 09:54:13 +00:00
RegisterInfoEmitter.cpp Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
RegisterInfoEmitter.h remove attributions from utils. 2007-12-29 20:37:13 +00:00
SubtargetEmitter.cpp lib/Target/SubtargetFeature.cpp asserts that the FeatureKV[] table be sorted 2008-09-11 17:05:32 +00:00
SubtargetEmitter.h remove attributions from utils. 2007-12-29 20:37:13 +00:00
TableGen.cpp Initial checkin of the new "fast" instruction selection support. See 2008-08-13 20:19:35 +00:00
TableGenBackend.cpp change getQualifiedName to be a global function. 2008-01-05 22:25:12 +00:00
TableGenBackend.h change getQualifiedName to be a global function. 2008-01-05 22:25:12 +00:00
TGLexer.cpp Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
TGLexer.h Unbreak LLVM on the MSVC compiler: 2008-10-22 09:54:13 +00:00
TGParser.cpp Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
TGParser.h remove attributions from utils. 2007-12-29 20:37:13 +00:00
TGValueTypes.cpp Change how extended types are represented in MVTs. Instead of fiddling 2008-11-03 17:56:27 +00:00