Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added llvm-mc support for parsing the .lsym directive. | Kevin Enderby | 2009-07-14 | 2 | -0/+33 | |
| | | | | llvm-svn: 75685 | |||||
* | Added llvm-mc support for parsing the .desc directive. | Kevin Enderby | 2009-07-14 | 2 | -0/+34 | |
| | | | | llvm-svn: 75645 | |||||
* | Added llvm-mc support for parsing the .abort directive. | Kevin Enderby | 2009-07-13 | 2 | -0/+27 | |
| | | | | llvm-svn: 75545 | |||||
* | add llvm-mc support for parsing the .subsections_via_symbols directive. | Kevin Enderby | 2009-07-13 | 2 | -0/+19 | |
| | | | | llvm-svn: 75500 | |||||
* | silence vc++ warning. | Chris Lattner | 2009-07-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 75394 | |||||
* | add support for .zerofill, patch by Kevin Enderby! | Chris Lattner | 2009-07-10 | 2 | -1/+95 | |
| | | | | llvm-svn: 75301 | |||||
* | add llvm-mc support for parsing the .lcomm directive, patch by Kevin Enderby! | Chris Lattner | 2009-07-09 | 2 | -12/+15 | |
| | | | | llvm-svn: 75148 | |||||
* | Implement parsing support for the .comm directive. Patch by | Chris Lattner | 2009-07-07 | 2 | -0/+61 | |
| | | | | | | Kevin Enderby! llvm-svn: 74944 | |||||
* | implement error recovery in the llvm-mc parser. Feel the power! | Chris Lattner | 2009-07-02 | 1 | -4/+11 | |
| | | | | llvm-svn: 74728 | |||||
* | llvm-mc/x86: Fix various nit-picky bugs in displacement parsing. | Daniel Dunbar | 2009-07-02 | 1 | -13/+36 | |
| | | | | | | - Test case to follow. llvm-svn: 74687 | |||||
* | llvm-mc/x86: Fix bug in disambiguation of displacement operand, introduced by me | Daniel Dunbar | 2009-07-02 | 3 | -1/+24 | |
| | | | | | | | | | | | | | (I think). - We weren't properly parsing the leading parenthesized expression in something like 'push (4)(%eax)'. - Added ParseParenRelocatableExpression to support this. I suspect we should just use lookahead, though. - Test case to follow. llvm-svn: 74685 | |||||
* | llvm-mc/x86: Factor out ParseX86Register. | Daniel Dunbar | 2009-07-02 | 2 | -13/+33 | |
| | | | | llvm-svn: 74684 | |||||
* | llvm-mc/x86: Rename X86Operand::ScaleReg to IndexReg and make order consistent | Daniel Dunbar | 2009-07-02 | 1 | -6/+6 | |
| | | | | | | with syntax. llvm-svn: 74679 | |||||
* | llvm-mc: Add some more doxyments. | Daniel Dunbar | 2009-07-01 | 1 | -27/+41 | |
| | | | | llvm-svn: 74607 | |||||
* | llvm-mc: Fill in the rest of tokens for 'as-lex' mode. | Daniel Dunbar | 2009-07-01 | 1 | -11/+23 | |
| | | | | llvm-svn: 74598 | |||||
* | Rename MCValue::isConstant to isAbsolute. | Daniel Dunbar | 2009-07-01 | 1 | -4/+4 | |
| | | | | llvm-svn: 74596 | |||||
* | add some of the new tokens, others are still missing. | Chris Lattner | 2009-07-01 | 1 | -10/+17 | |
| | | | | llvm-svn: 74595 | |||||
* | llvm-mc: Emit parsed instructions to the MCStreamer. | Daniel Dunbar | 2009-07-01 | 1 | -2/+1 | |
| | | | | llvm-svn: 74594 | |||||
* | llvm-mc: Introduce method to match a parsed x86 instruction into an MCInst. | Daniel Dunbar | 2009-06-30 | 3 | -26/+31 | |
| | | | | llvm-svn: 74573 | |||||
* | llvm-mc: Accept relocatable expressions when parsing displacements and | Daniel Dunbar | 2009-06-30 | 1 | -13/+13 | |
| | | | | | | immediates. llvm-svn: 74568 | |||||
* | llvm-mc: Symbols in a relocatable expression of the (a - b + cst) form are | Daniel Dunbar | 2009-06-30 | 1 | -5/+4 | |
| | | | | | | | allowed to be undefined when the expression is seen, we cannot enforce the same-section requirement until the entire assembly file has been seen. llvm-svn: 74565 | |||||
* | Suppress may-be-used-uninitialized warning. | Daniel Dunbar | 2009-06-30 | 1 | -1/+2 | |
| | | | | llvm-svn: 74529 | |||||
* | Fix CMake build | Douglas Gregor | 2009-06-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 74527 | |||||
* | llvm-mc: Accept relocatable expressions for .org, assignments, .byte, etc. | Daniel Dunbar | 2009-06-30 | 1 | -12/+16 | |
| | | | | llvm-svn: 74498 | |||||
* | llvm-mc: Rewrite binary subtraction for relocatable expressions, we can't always | Daniel Dunbar | 2009-06-30 | 1 | -26/+33 | |
| | | | | | | legally negate an MCValue. llvm-svn: 74497 | |||||
* | llvm-mc: Evaluation for relocatable expressions. | Daniel Dunbar | 2009-06-30 | 4 | -40/+132 | |
| | | | | llvm-svn: 74496 | |||||
* | Normalize SourceMgr messages. | Daniel Dunbar | 2009-06-30 | 5 | -13/+19 | |
| | | | | | | | | | | | | - Don't print "Parsing" in front of every message. - Take additional "type" argument which is prepended to the message (with ": ") if given. - Update clients to print errors (warnings) as: <filename>:<line number>: error(warning): ... llvm-svn: 74489 | |||||
* | llvm-mc: Parse symbol attribute directives. | Daniel Dunbar | 2009-06-30 | 2 | -0/+60 | |
| | | | | llvm-svn: 74487 | |||||
* | llvm-mc: Parse .{,b,p2}align{,w,l} directives. | Daniel Dunbar | 2009-06-29 | 2 | -2/+98 | |
| | | | | llvm-svn: 74478 | |||||
* | llvm-mc: Diagnose misuse (mix) of defined symbols and labels. | Daniel Dunbar | 2009-06-29 | 1 | -6/+40 | |
| | | | | | | | | | | | | | | | | | - For example, we diagnose errors on: -- a: a = 10 -- - For now we reject code like: -- .long a a = 10 -- which "as" accepts (on Darwin). llvm-svn: 74476 | |||||
* | llvm-mc: Recognize C++ style comments. | Daniel Dunbar | 2009-06-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 74463 | |||||
* | llvm-mc: Recognize C++ style comments. | Daniel Dunbar | 2009-06-29 | 1 | -5/+9 | |
| | | | | llvm-svn: 74462 | |||||
* | Fix uninitialized variable warning. | Daniel Dunbar | 2009-06-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 74457 | |||||
* | MC: Improve expression parsing and implement evaluation of absolute expressions | Daniel Dunbar | 2009-06-29 | 2 | -0/+249 | |
| | | | | | | (missed files). llvm-svn: 74450 | |||||
* | MC: Improve expression parsing and implement evaluation of absolute expressions. | Daniel Dunbar | 2009-06-29 | 5 | -56/+170 | |
| | | | | llvm-svn: 74448 | |||||
* | MC: Parse .org directives. | Daniel Dunbar | 2009-06-25 | 2 | -1/+31 | |
| | | | | llvm-svn: 74218 | |||||
* | MC: Parse .set and assignments. | Daniel Dunbar | 2009-06-25 | 4 | -3/+55 | |
| | | | | llvm-svn: 74208 | |||||
* | Basic .s parsing for .asci[iz], .fill, .space, {.byte, .short, ... } | Daniel Dunbar | 2009-06-24 | 3 | -1/+157 | |
| | | | | | | | - Includes some DG tests in test/MC/AsmParser, which are rather primitive since we don't have a -verify mode yet. llvm-svn: 74139 | |||||
* | implement a bunch of synonyms for section switching. | Chris Lattner | 2009-06-24 | 2 | -4/+115 | |
| | | | | llvm-svn: 74062 | |||||
* | add support for parsing and emitting .section directives. We can now parse | Chris Lattner | 2009-06-24 | 2 | -1/+38 | |
| | | | | | | | things like: .section __TEXT,__cstring,cstring_literals llvm-svn: 74058 | |||||
* | add trivial support for passing label definitions through the MCStreamer. | Chris Lattner | 2009-06-24 | 3 | -3/+11 | |
| | | | | | | | This is suboptimal in several aspects, see the commented out assertion. I need to talk to Daniel about this. llvm-svn: 74057 | |||||
* | create an MCStreamer and provide it to AsmParser. | Chris Lattner | 2009-06-24 | 4 | -4/+13 | |
| | | | | llvm-svn: 74039 | |||||
* | make the lexer unique strings it lexes instead of passing them back as | Chris Lattner | 2009-06-24 | 3 | -7/+29 | |
| | | | | | | std::strings. llvm-svn: 74036 | |||||
* | Start flushing out MCContext. | Daniel Dunbar | 2009-06-23 | 1 | -0/+2 | |
| | | | | | | - Lives inside new library lib/MC (LLVMMC.a) llvm-svn: 74013 | |||||
* | refactor a bunch of X86 specific stuff out to its own file. | Chris Lattner | 2009-06-23 | 4 | -199/+234 | |
| | | | | llvm-svn: 73982 | |||||
* | implement a trivial binary expression parser, we can now parse all of ↵ | Chris Lattner | 2009-06-23 | 4 | -7/+84 | |
| | | | | | | 176.gcc.llc.s llvm-svn: 73950 | |||||
* | get a definition of strull on windows, thanks to Howard Su. | Chris Lattner | 2009-06-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 73929 | |||||
* | Include cstdio to get EOF, needed with gcc-4.4. | Duncan Sands | 2009-06-22 | 1 | -1/+2 | |
| | | | | llvm-svn: 73879 | |||||
* | process memory operands with a parenthesized expression for a displacement, | Chris Lattner | 2009-06-22 | 1 | -2/+12 | |
| | | | | | | like "(4+5)(%eax)". llvm-svn: 73878 | |||||
* | Implement full support for parsing primary expressions. We can now parse | Chris Lattner | 2009-06-22 | 5 | -5/+42 | |
| | | | | | | | | | | | all of health and voronoi (ignoring directives). We only get 409 lines into 176.gcc though because we don't have binary operators yet: Parsing 176.gcc.llc.s:409: unexpected token in operand list movsbl _arityvec+1(,%edi,8), %eax ^ llvm-svn: 73877 |