llvm-6502/utils/TableGen
David Greene 065f259ff5 Allow multiclass def names to contain "#NAME"" where TableGen replaces
#NAME# with the name of the defm instantiating the multiclass.  This is
useful for AVX instruction naming where a "V" prefix is standard
throughout the ISA.  For example:

multiclass SSE_AVX_Inst<...> {
   def SS : Instr<...>;
   def SD : Instr<...>;
   def PS : Instr<...>;
   def PD : Instr<...>;

   def V#NAME#SS : Instr<...>;
   def V#NAME#SD : Instr<...>;
   def V#NAME#PS : Instr<...>;
   def V#NAME#PD : Instr<...>;
}

defm ADD : SSE_AVX_Inst<...>;

Results in 

ADDSS
ADDSD
ADDPS
ADDPD

VADDSS
VADDSD
VADDPS
VADDPD


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70979 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-05 16:28:25 +00:00
..
AsmWriterEmitter.cpp Restore minor deletion. 2009-05-04 18:40:41 +00:00
AsmWriterEmitter.h
CallingConvEmitter.cpp
CallingConvEmitter.h
ClangDiagnosticsEmitter.cpp
ClangDiagnosticsEmitter.h
CMakeLists.txt
CodeEmitterGen.cpp
CodeEmitterGen.h
CodeGenDAGPatterns.cpp 2nd attempt, fixing SSE4.1 issues and implementing feedback from duncan. 2009-04-27 18:41:29 +00:00
CodeGenDAGPatterns.h 2nd attempt, fixing SSE4.1 issues and implementing feedback from duncan. 2009-04-27 18:41:29 +00:00
CodeGenInstruction.cpp Make BinOps typed and require a type specifier for !nameconcat. This 2009-04-23 21:25:15 +00:00
CodeGenInstruction.h
CodeGenIntrinsics.h
CodeGenRegisters.h
CodeGenTarget.cpp
CodeGenTarget.h
DAGISelEmitter.cpp Restore minor deletion. 2009-05-04 18:40:41 +00:00
DAGISelEmitter.h
FastISelEmitter.cpp
FastISelEmitter.h
InstrEnumEmitter.cpp
InstrEnumEmitter.h
InstrInfoEmitter.cpp
InstrInfoEmitter.h
IntrinsicEmitter.cpp
IntrinsicEmitter.h
LLVMCConfigurationEmitter.cpp Fix incorrect code generation with ENV. 2009-05-05 12:34:34 +00:00
LLVMCConfigurationEmitter.h
Makefile these utils don't need exports. 2009-02-26 19:02:23 +00:00
Record.cpp Fix multiclass inheritance to limit value resolution to new defs added 2009-04-24 16:55:41 +00:00
Record.h Change forward declaration of MultiClass to use the "struct" keyword instead 2009-04-30 17:35:11 +00:00
RegisterInfoEmitter.cpp Slightly change TableGen's definition of a register subclass. 2009-04-30 21:22:44 +00:00
RegisterInfoEmitter.h
SubtargetEmitter.cpp
SubtargetEmitter.h
TableGen.cpp
TableGenBackend.cpp
TableGenBackend.h
TGLexer.cpp Allow multiclass def names to contain "#NAME"" where TableGen replaces 2009-05-05 16:28:25 +00:00
TGLexer.h
TGParser.cpp Allow multiclass def names to contain "#NAME"" where TableGen replaces 2009-05-05 16:28:25 +00:00
TGParser.h Rename the CurMultiClass formal parameter of TGParser::AddSubMultiClass 2009-04-30 18:26:19 +00:00
TGSourceMgr.cpp
TGSourceMgr.h
TGValueTypes.cpp