llvm-6502/utils/TableGen
Joey Gouly 715d98d657 Add an instruction deprecation feature to TableGen.
The 'Deprecated' class allows you to specify a SubtargetFeature that the
instruction is deprecated on.

The 'ComplexDeprecationPredicate' class allows you to define a custom
predicate that is called to check for deprecation.
For example:
  ComplexDeprecationPredicate<"MCR">

would mean you would have to define the following function:
  bool getMCRDeprecationInfo(MCInst &MI, MCSubtargetInfo &STI,
                             std::string &Info)

Which returns 'false' for not deprecated, and 'true' for deprecated
and store the warning message in 'Info'.

The MCTargetAsmParser constructor was chaned to take an extra argument of
the MCInstrInfo class, so out-of-tree targets will need to be changed.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190598 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-12 10:28:05 +00:00
..
AsmMatcherEmitter.cpp Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
AsmWriterEmitter.cpp llvm-tblgen: Mangle operand replacements into the strings in printAliasInstr. 2013-09-11 15:42:16 +00:00
AsmWriterInst.cpp Remove 'else' after 'return'. No functional change. 2013-07-23 06:27:36 +00:00
AsmWriterInst.h
CallingConvEmitter.cpp
CMakeLists.txt
CodeEmitterGen.cpp
CodeGenDAGPatterns.cpp Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-04 01:31:24 +00:00
CodeGenDAGPatterns.h
CodeGenInstruction.cpp Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
CodeGenInstruction.h Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
CodeGenIntrinsics.h Extend 'readonly' and 'readnone' to work on function arguments as well as 2013-07-06 00:29:58 +00:00
CodeGenMapTable.cpp
CodeGenRegisters.cpp comment typo. 2013-07-31 21:05:54 +00:00
CodeGenRegisters.h RegPressure: Order the "pressure sets" by number of regunits per set. 2013-07-25 07:26:29 +00:00
CodeGenSchedule.cpp Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector size. 2013-07-14 04:42:23 +00:00
CodeGenSchedule.h Support BufferSize on ProcResGroup for unified MOp schedulers. 2013-06-15 04:50:06 +00:00
CodeGenTarget.cpp [Mips][msa] Value types for MSA support. 2013-08-13 22:34:26 +00:00
CodeGenTarget.h
CTagsEmitter.cpp
DAGISelEmitter.cpp
DAGISelMatcher.cpp
DAGISelMatcher.h
DAGISelMatcherEmitter.cpp
DAGISelMatcherGen.cpp Allow types to be omitted in output patterns. 2013-03-24 19:37:00 +00:00
DAGISelMatcherOpt.cpp
DFAPacketizerEmitter.cpp
DisassemblerEmitter.cpp
FastISelEmitter.cpp Tidy up. Comment grammar. 2013-08-29 22:41:43 +00:00
FixedLenDecoderEmitter.cpp Teaching llvm-tblgen to not emit a switch statement when there are no case statements. 2013-07-15 16:53:32 +00:00
InstrInfoEmitter.cpp Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
IntrinsicEmitter.cpp Fix a bug in TableGen where the intrinsic function name recognizer could mis-identify names if one was a prefix substring of the other 2013-07-25 12:32:00 +00:00
LLVMBuild.txt
Makefile
OptParserEmitter.cpp Option parsing: support case-insensitive option matching. 2013-08-28 20:04:31 +00:00
PseudoLoweringEmitter.cpp
RegisterInfoEmitter.cpp llvm-tblgen: Stabilize subreg index tables. 2013-09-11 11:22:26 +00:00
SequenceToOffsetTable.h Add missing include 2013-08-28 07:03:02 +00:00
SetTheory.cpp
SetTheory.h
SubtargetEmitter.cpp Support BufferSize on ProcResGroup for unified MOp schedulers. 2013-06-15 04:50:06 +00:00
TableGen.cpp
TableGenBackends.h
tdtags
TGValueTypes.cpp
X86DisassemblerShared.h
X86DisassemblerTables.cpp Added encoding prefixes for KNL instructions (EVEX). 2013-07-28 08:28:38 +00:00
X86DisassemblerTables.h
X86ModRMFilters.cpp
X86ModRMFilters.h
X86RecognizableInstr.cpp AVX-512: Added masked SHIFT commands, more encoding tests 2013-08-22 12:18:28 +00:00
X86RecognizableInstr.h Added encoding prefixes for KNL instructions (EVEX). 2013-07-28 08:28:38 +00:00