llvm-project/llvm/utils
Sam Kolton 5f10a137d0 [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
..
FileCheck Reapply r262092: [FileCheck] Abort if -NOT is combined with another suffix. 2016-02-29 22:13:03 +00:00
KillTheDoctor Modernize to range-based loop 2016-01-07 07:58:25 +00:00
LLVMVisualizers Add natvis visualizers for endian types. 2016-04-21 20:58:41 +00:00
Misc Delete mergefunctions.clang.svn.patch 2016-04-12 19:44:40 +00:00
PerfectShuffle Remove autoconf support 2016-01-26 21:29:08 +00:00
TableGen [TableGen] AsmMatcher: support for default values for optional operands 2016-05-06 11:31:17 +00:00
Target/ARM
abtest abtest: Cleanup, improve comments 2016-03-26 04:07:55 +00:00
bugpoint
count Remove autoconf support 2016-01-26 21:29:08 +00:00
crosstool
emacs Cleaning up LLVM IR mode for Emacs. 2015-09-10 13:44:28 +00:00
fpcmp Remove autoconf support 2016-01-26 21:29:08 +00:00
git
git-svn Improve check on git-svnrevert, better error message 2015-05-16 10:23:48 +00:00
jedit Rename all references to old mailing lists to new lists.llvm.org address. 2015-08-05 03:51:17 +00:00
kate Rename all references to old mailing lists to new lists.llvm.org address. 2015-08-05 03:51:17 +00:00
lint
lit [lit] Add %:[STpst] to represent paths without colons on Windows. 2016-04-30 21:32:12 +00:00
llvm-build llvm-config: Add preliminary Windows support 2016-02-09 19:41:14 +00:00
llvm-lit Remove autoconf support 2016-01-26 21:29:08 +00:00
not Remove autoconf support 2016-01-26 21:29:08 +00:00
release Remove LLVM_ENABLE_TIMESTAMPS 2016-05-05 19:57:03 +00:00
testgen
textmate
unittest Avoid linking LLVM component libraries with libLLVM 2016-02-12 01:42:43 +00:00
valgrind
vim vim: add swiftcc keyword 2016-04-19 02:04:01 +00:00
yaml-bench Remove autoconf support 2016-01-26 21:29:08 +00:00
DSAclean.py
DSAextract.py
GenLibDeps.pl Remove bit-rotten CppBackend. 2016-05-05 14:35:40 +00:00
GetRepositoryPath
GetSourceVersion
LLVMBuild.txt
UpdateCMakeLists.pl
bisect
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
create_ladder_graph.py
findmisopt
findoptdiff
findsym.pl
getsrcs.sh
lldbDataFormatters.py
llvm-compilers-check
llvm-native-gxx
llvm.grm
llvmdo
llvmgrep
makellvm
schedcover.py [MISched] Python script to check coverage of misched info 2015-10-12 08:50:47 +00:00
shuffle_fuzz.py [Utils] Updated shuffle fuzz script to generate more modern (valid) IR. 2015-11-22 16:04:32 +00:00
sort_includes.py Add polly support to sort_includes.py 2015-05-09 09:08:56 +00:00
test_debuginfo.pl
update_llc_test_checks.py don't hardcode the name of the llc checks script 2016-03-24 17:30:38 +00:00
update_test_checks.py fixed to discard earlier advertising 2016-04-05 19:50:21 +00:00
wciia.py