llvm-6502/utils
Hal Finkel 79c15b23c9 [TableGen] Optionally forbid overlap between named and positional operands
There are currently two schemes for mapping instruction operands to
instruction-format variables for generating the instruction encoders and
decoders for the assembler and disassembler respectively: a) to map by name and
b) to map by position.

In the long run, we'd like to remove the position-based scheme and use only
name-based mapping. Unfortunately, the name-based scheme currently cannot deal
with complex operands (those with suboperands), and so we currently must use
the position-based scheme for those. On the other hand, the position-based
scheme cannot deal with (register) variables that are split into multiple
ranges. An upcoming commit to the PowerPC backend (adding VSX support) will
require this capability. While we could teach the position-based scheme to
handle that, since we'd like to move away from the position-based mapping
generally, it seems silly to teach it new tricks now. What makes more sense is
to allow for partial transitioning: use the name-based mapping when possible,
and only use the position-based scheme when necessary.

Now the problem is that mixing the two sensibly was not possible: the
position-based mapping would map based on position, but would not skip those
variables that were mapped by name. Instead, the two sets of assignments would
overlap. However, I cannot currently change the current behavior, because there
are some backends that rely on it [I think mistakenly, but I'll send a message
to llvmdev about that]. So I've added a new TableGen bit variable:
noNamedPositionallyEncodedOperands, that can be used to cause the
position-based mapping to skip variables mapped by name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203767 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-13 07:57:54 +00:00
..
bugpoint
buildit Darwin builds: handle different possible form for SDKROOT. 2014-02-18 11:20:44 +00:00
count Install three utils, "FileCheck", "count", and "not", for now to appease llvmlab dragonegg builder. 2013-12-20 06:25:37 +00:00
crosstool
emacs Add addrspacecast instruction. 2013-11-15 01:34:59 +00:00
FileCheck Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
FileUpdate Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
fpcmp
git
git-svn
jedit
kate Add addrspacecast instruction. 2013-11-15 01:34:59 +00:00
KillTheDoctor
lint
lit [lit] Fix non-function style print statement. 2014-03-11 14:05:49 +00:00
llvm-build llvmbuild: Exclude disabled targets from LLVMExports.cmake. 2014-02-16 12:14:24 +00:00
llvm-lit Add the lld root to llvm-lit, so llvm-lit can be used 2014-01-14 22:52:24 +00:00
Misc Patch that forces MergeFunctions pass for clang. 2013-09-24 20:06:31 +00:00
not [CMake] LLVMSupport should be responsible to provide system_libs. 2014-02-10 10:52:19 +00:00
PerfectShuffle
release Remove superfluous label. 2013-12-03 07:34:19 +00:00
TableGen [TableGen] Optionally forbid overlap between named and positional operands 2014-03-13 07:57:54 +00:00
Target/ARM
testgen
textmate
unittest [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
valgrind
vim Add addrspacecast instruction. 2013-11-15 01:34:59 +00:00
yaml-bench Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetRepositoryPath Fix the build for git repositories with multiple remotes. 2013-09-16 09:25:49 +00:00
GetSourceVersion
getsrcs.sh
lldbDataFormatters.py
llvm-compilers-check
llvm-native-gcc
llvm-native-gxx
llvm.grm
llvm.natvis Adding support for MSVC debugger visualization of the Optional datatype. 2014-03-03 21:15:07 +00:00
LLVMBuild.txt
llvmdo
llvmgrep
Makefile
makellvm
sort_includes.py
test_debuginfo.pl test_debuginfo.pl: Make failures easier to debug by printing the debugger 2014-02-20 19:55:44 +00:00
UpdateCMakeLists.pl
wciia.py Fix known typos 2014-01-24 17:20:08 +00:00