llvm-6502/utils
Chad Rosier 62316fa00a [ms-inline asm] Add a new function, GetMCInstOperandNum, to the
AsmMatcherEmitter.  This function maps inline assembly operands to MCInst
operands.

For example, '__asm mov j, eax' is represented by the follow MCInst:

<MCInst 1460 <MCOperand Reg:0> <MCOperand Imm:1> <MCOperand Reg:0> 
             <MCOperand Expr:(j)> <MCOperand Reg:0> <MCOperand Reg:43>>

The first 5 MCInst operands are a result of j matching as a memory operand
consisting of a BaseReg (Reg:0), MemScale (Imm:1), MemIndexReg(Reg:0), 
Expr (Expr:(j), and a MemSegReg (Reg:0).  The 6th MCInst operand represents
the eax register (Reg:43).

This translation is necessary to determine the Input and Output Exprs.  If a
single asm operand maps to multiple MCInst operands, the index of the first
MCInst operand is returned.  Ideally, it would return the operand we really
care out (i.e., the Expr:(j) in this case), but I haven't found an easy way
of doing this yet.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162920 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-30 17:59:25 +00:00
..
bugpoint
buildit Use the final .version number for LLVM_MINOR_VERSION in Apple llvmCore builds. 2012-08-10 00:25:30 +00:00
count
crosstool
emacs
FileCheck
FileUpdate
fpcmp
git
jedit
kate
KillTheDoctor
lint
lit lit: Show actually created count of threads. The incorrect threads count is printed if the number of tests are less than the number of default threads. 2012-08-17 04:15:41 +00:00
llvm-build
llvm-lit
Misc
not
obj2yaml [obj2yaml] Print the Relocations header. 2012-07-31 22:04:08 +00:00
PerfectShuffle
release Fix a typo (the the => the) 2012-07-23 08:51:15 +00:00
TableGen [ms-inline asm] Add a new function, GetMCInstOperandNum, to the 2012-08-30 17:59:25 +00:00
Target/ARM
unittest Fix a typo (the the => the) 2012-07-23 08:51:15 +00:00
valgrind
vim
yaml2obj Remove redundant '== true' after a comparison. 2012-08-02 23:22:39 +00:00
yaml-bench
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetRepositoryPath
GetSourceVersion
getsrcs.sh
lldbDataFormatters.py
llvm-compilers-check
llvm-native-gcc
llvm-native-gxx
llvm.grm [ms-inline asm] Add a new Inline Asm Non-Standard Dialect attribute. 2012-08-10 00:00:22 +00:00
LLVMBuild.txt
llvmdo
llvmgrep
Makefile Add yaml2obj. A utility to convert YAML to binaries. 2012-08-02 19:16:56 +00:00
makellvm
profile.pl
test_debuginfo.pl Fix a "Bad fd number" error on some platforms due to a less portable 2012-07-23 20:54:17 +00:00
UpdateCMakeLists.pl Use regex instead of special casing clang and llvm libraries. 2012-07-31 18:23:44 +00:00