llvm-mirror/lib
Joey Gouly fccb3bcae3 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.

llvm-svn: 190598
2013-09-12 10:28:05 +00:00
..
Analysis Move variable under condition where it is used 2013-09-12 01:07:58 +00:00
AsmParser Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
Bitcode Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
CodeGen Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
DebugInfo Add support for DebugFission to DWARF parser 2013-08-27 09:20:22 +00:00
ExecutionEngine Don't expose symbols of lle_ functions. 2013-09-11 12:42:39 +00:00
IR Debug Info: move class definition of DIRef. 2013-09-11 18:55:55 +00:00
IRReader Add 'const' qualifiers to static const char* variables. 2013-07-16 01:17:10 +00:00
Linker Error on linking appending globals with different unnamed_addr. 2013-09-04 15:33:34 +00:00
MC Remove unused functions. 2013-09-10 22:42:31 +00:00
Object Move everything depending on Object/MachOFormat.h over to Support/MachO.h. 2013-09-01 04:28:48 +00:00
Option Fix another mistake in r190442. 2013-09-10 23:22:56 +00:00
Support Path: Add an in-place version of path::native. 2013-09-11 10:45:21 +00:00
TableGen Add an error check for a typo I accidentally made in a td file that caused an assert to fire. 2013-08-20 04:22:09 +00:00
Target Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
Transforms Add getUnrollingPreferences to TTI 2013-09-11 19:25:43 +00:00
CMakeLists.txt Move lib/Archive to tools/llvm-ar. 2013-06-17 15:47:20 +00:00
LLVMBuild.txt Move lib/Archive to tools/llvm-ar. 2013-06-17 15:47:20 +00:00
Makefile Move lib/Archive to tools/llvm-ar. 2013-06-17 15:47:20 +00:00