Chad Rosier
17ede627f0
[ms-inline asm] Expose the mnemonicIsValid() function in the AsmParser.
...
llvm-svn: 164420
2012-09-21 22:21:26 +00:00
Benjamin Kramer
47b5c5713b
Make helper function static.
...
llvm-svn: 163504
2012-09-10 11:52:14 +00:00
Benjamin Kramer
fa530570db
MipsAsmParser: Fix a couple of string use-after-frees and misuses of classof.
...
llvm-svn: 163383
2012-09-07 09:47:42 +00:00
Jack Carter
be33217bb8
The Mips standalone assembler intial directive support.
...
Actually these are just stubs for parsing the directives.
Semantic support will come later.
Test cases included
Contributer: Vladimir Medic
llvm-svn: 163364
2012-09-07 00:48:02 +00:00
Jack Carter
a63b16ac1e
The Mips standalone assembler fpu instruction support.
...
Test cases included
Contributer: Vladimir Medic
llvm-svn: 163363
2012-09-07 00:23:42 +00:00
David Blaikie
4fc4775561
Remove unused variable introduced by r163346.
...
llvm-svn: 163359
2012-09-06 23:31:29 +00:00
Jack Carter
dc1e35d418
The Mips standalone assembler memory instruction support.
...
This includes sb,sc,sh,sw,lb,lw,lbu,lh,lhu,ll,lw
Test case included
Contributer: Vladimir Medic
llvm-svn: 163346
2012-09-06 20:00:02 +00:00
Jack Carter
b4dbc17acd
Mips specific llvm assembler support for ALU instructions. This includes
...
register support. Test case included.
Contributer: Vladimir Medic
llvm-svn: 163268
2012-09-05 23:34:03 +00:00
Chad Rosier
a05ea0f3e3
Fix function name per coding standard.
...
llvm-svn: 163187
2012-09-05 01:15:43 +00:00
Chad Rosier
9e2aff8b6d
[ms-inline asm] Asm operands can map to one or more MCOperands. Therefore, add
...
the NumMCOperands argument to the GetMCInstOperandNum() function that is set
to the number of MCOperands this asm operand mapped to.
llvm-svn: 163124
2012-09-03 20:31:23 +00:00
Chad Rosier
0f13c3ccf8
[ms-inline asm] Add a comment.
...
llvm-svn: 163123
2012-09-03 19:04:35 +00:00
Chad Rosier
391d299737
[ms-inline asm] Add an interface to the GetMCInstOperandNum() function in the
...
MCTargetAsmParser class.
llvm-svn: 163122
2012-09-03 18:47:45 +00:00
Akira Hatanaka
7605630c48
Add stub methods for mips assembly matcher.
...
Patch by Vladimir Medic.
llvm-svn: 162124
2012-08-17 20:16:42 +00:00
NAKAMURA Takumi
e2d4a09305
Mips/AsmParser/CMakeLists.txt: Fix dependency.
...
llvm-svn: 158602
2012-06-16 15:33:52 +00:00
Jia Liu
9f6101191b
remove Emacs-tag form .cpp files in Mips Backend, and fix some typo.
...
llvm-svn: 150805
2012-02-17 08:55:11 +00:00
Jia Liu
dd6c1cd4e8
add Emacs tag and fix some comment error in file headers
...
llvm-svn: 150775
2012-02-17 01:23:50 +00:00
Rafael Espindola
870c4e92b9
Add the skeleton of an asm parser for mips.
...
llvm-svn: 147923
2012-01-11 03:56:41 +00:00