1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/utils/TableGen
Sam Kolton 6ae1dde4c7 [TableGen] AsmMatcher: support for default values for optional operands
Summary:
This change allows to specify "DefaultMethod" for optional operand (IsOptional = 1) in AsmOperandClass that return default value for operand. This is used in convertToMCInst to set default values in MCInst.
Previously if you wanted to set default value for operand you had to create custom converter method. With this change it is possible to use standard converters even when optional operands presented.

Reviewers: tstellarAMD, ab, craig.topper

Subscribers: jyknight, dsanders, arsenm, nhaustov, llvm-commits

Differential Revision: http://reviews.llvm.org/D18242

llvm-svn: 268726
2016-05-06 11:31:17 +00:00
..
AsmMatcherEmitter.cpp [TableGen] AsmMatcher: support for default values for optional operands 2016-05-06 11:31:17 +00:00
AsmWriterEmitter.cpp Fix comment 2016-02-23 19:18:21 +00:00
AsmWriterInst.cpp [TableGen] Remove the CGIOpNo from AsmWriterOperand as its not used for anything. NFC 2016-01-22 05:59:37 +00:00
AsmWriterInst.h [TableGen] Reorder fields in AsmWriterOperand to remove padding and reduce size. NFC 2016-01-22 05:59:40 +00:00
Attributes.cpp Add LLVMGetAttrKindID in the C API in order to facilitate migration away from LLVMAttribute 2016-04-20 01:02:12 +00:00
CallingConvEmitter.cpp Move most user of TargetMachine::getDataLayout to the Module one 2015-07-16 06:11:10 +00:00
CMakeLists.txt Move the enum attributes defined in Attributes.h to a table-gen file. 2015-11-11 20:35:42 +00:00
CodeEmitterGen.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
CodeGenDAGPatterns.cpp Add IntrWrite[Arg]Mem intrinsic property 2016-04-19 21:58:33 +00:00
CodeGenDAGPatterns.h [SelectionDAG] Add a SDTCisSameSizeAs type constraint that can be used to ensure vector widths match even if the element size and count don't. 2015-11-26 07:02:18 +00:00
CodeGenInstruction.cpp TableGen: Add hasNoSchedulingInfo to instructions 2016-03-01 20:03:11 +00:00
CodeGenInstruction.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
CodeGenIntrinsics.h Split IntrReadArgMem into IntrReadMem and IntrArgMemOnly 2016-04-21 17:48:02 +00:00
CodeGenMapTable.cpp [TableGen] more helpful error message in MapTableEmitter 2016-03-10 18:51:58 +00:00
CodeGenRegisters.cpp TableGen: Produce CoveredBySubRegs summary for register classes 2016-04-28 03:07:11 +00:00
CodeGenRegisters.h TableGen: Produce CoveredBySubRegs summary for register classes 2016-04-28 03:07:11 +00:00
CodeGenSchedule.cpp TableGen: Accept itinerary data when checking for schedmodel completeness 2016-03-03 00:04:59 +00:00
CodeGenSchedule.h TableGen: Check scheduling models for completeness 2016-03-01 20:03:21 +00:00
CodeGenTarget.cpp Split IntrReadArgMem into IntrReadMem and IntrArgMemOnly 2016-04-21 17:48:02 +00:00
CodeGenTarget.h [TableGen] Replace instructions() with getInstructionsByEnumValue(). No need to make an iterator_range when we already have a function that returns an ArrayRef. NFC 2016-01-17 20:38:18 +00:00
CTagsEmitter.cpp
DAGISelEmitter.cpp
DAGISelMatcher.cpp [TableGen] Remove getHash support from DAGISelMatcher. It hasn't been used for some time. 2016-05-06 02:37:59 +00:00
DAGISelMatcher.h [TableGen] Remove isSafeToReorderWithPatternPredicate from DAGISelMatchers as its not used anymore. 2016-05-06 06:21:27 +00:00
DAGISelMatcherEmitter.cpp SDAG: Remove OPC_MarkGlueResults and associated logic. NFC 2016-05-05 22:37:45 +00:00
DAGISelMatcherGen.cpp SDAG: Remove OPC_MarkGlueResults and associated logic. NFC 2016-05-05 22:37:45 +00:00
DAGISelMatcherOpt.cpp [TableGen] Fix a memory leak when creating SwitchOpcodeMatchers. 2016-05-06 06:56:14 +00:00
DFAPacketizerEmitter.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
DisassemblerEmitter.cpp [TableGen] Store result of getInstructionsByEnumValue in an ArrayRef instead of accidentally copying to a vector. 2016-02-01 01:33:42 +00:00
FastISelEmitter.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
FixedLenDecoderEmitter.cpp No need to use utostr/utohexstr when writing into a raw_ostream. NFC 2016-01-31 01:55:15 +00:00
InstrInfoEmitter.cpp [TableGen] Use range-based for loop. NFC 2016-02-16 02:48:30 +00:00
IntrinsicEmitter.cpp Add IntrWrite[Arg]Mem intrinsic property 2016-04-19 21:58:33 +00:00
LLVMBuild.txt
OptParserEmitter.cpp Fix some Clang-tidy modernize warnings, other minor fixes. 2015-11-04 22:32:32 +00:00
PseudoLoweringEmitter.cpp
RegisterInfoEmitter.cpp TableGen: Produce CoveredBySubRegs summary for register classes 2016-04-28 03:07:11 +00:00
SequenceToOffsetTable.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
SubtargetEmitter.cpp [TableGen] Remove constant string argument from a method that's only called once. We can just hardcode the string inside. There already other things that make the method not reusable. NFC 2016-02-14 05:22:01 +00:00
TableGen.cpp [TableGen] Call llvm_shutdown on exit so that all the ManagedStatic objects in the support library will be deleted. 2016-01-04 04:51:51 +00:00
TableGenBackends.h Move the enum attributes defined in Attributes.h to a table-gen file. 2015-11-11 20:35:42 +00:00
tdtags
X86DisassemblerShared.h
X86DisassemblerTables.cpp AVX-512: Added all AVX-512 forms of Vector Convert for Float/Double/Int/Long types. 2015-07-13 13:26:20 +00:00
X86DisassemblerTables.h
X86ModRMFilters.cpp
X86ModRMFilters.h
X86RecognizableInstr.cpp AVX512F: Add GATHER/SCATTER assembler Intel syntax tests for knl/skx/avx . Change memory operand parser handling. 2016-02-25 13:30:17 +00:00
X86RecognizableInstr.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00