summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mc/llvm-mc.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove now unused arguments from TargetRegistry::lookupTarget.Daniel Dunbar2009-08-031-5/+1
| | | | llvm-svn: 77950
* Make SectionKind::get() private.Chris Lattner2009-08-021-1/+1
| | | | llvm-svn: 77835
* update for API change.Chris Lattner2009-08-011-0/+1
| | | | llvm-svn: 77804
* All MCSections are now required to have a SectionKind.Chris Lattner2009-08-011-1/+3
| | | | llvm-svn: 77787
* fix a bunch of failing tests now that MCContext::GetSection doesn't create ↵Chris Lattner2009-07-311-2/+3
| | | | | | sections. llvm-svn: 77689
* Move X86 instruction parsing into X86/AsmParser.Daniel Dunbar2009-07-281-0/+1
| | | | llvm-svn: 77384
* Provide generic MCAsmParser when constructing target specific parsers.Daniel Dunbar2009-07-281-14/+20
| | | | llvm-svn: 77362
* Switch AsmLexer::Lex to returning a reference to the current token.Daniel Dunbar2009-07-281-5/+2
| | | | llvm-svn: 77328
* Drop some AsmLexer methods in favor of their AsmToken equivalents.Daniel Dunbar2009-07-281-4/+4
| | | | llvm-svn: 77323
* llvm-mc: Sink token enum into AsmToken.Daniel Dunbar2009-07-281-36/+36
| | | | llvm-svn: 77322
* Factor commonality in triple match routines into helper template for registeringDaniel Dunbar2009-07-261-3/+3
| | | | | | classes, and migrate existing targets over. llvm-svn: 77126
* Add TargetRegistry::lookupTarget.Daniel Dunbar2009-07-261-1/+4
| | | | | | | | | | | | | | - This is a simplified mechanism which just looks up a target based on the target triple, with a few additional flags. - Remove getClosestStaticTargetForModule, the moral equivalent is now: lookupTarget(Mod->getTargetTriple, true, false, ...); - This no longer does the fuzzy matching with target data (based on endianness and pointer width) that getClosestStaticTargetForModule was doing, but this was deemed unnecessary. llvm-svn: 77111
* Add MCAsmParser interface.Daniel Dunbar2009-07-201-2/+3
| | | | | | | - This provides the AsmParser interface to the target specific assembly parsers. llvm-svn: 76453
* llvm-mc: Default -triple to LLVM_HOSTTRIPLE.Daniel Dunbar2009-07-171-1/+1
| | | | llvm-svn: 76260
* llvm-mc: Add -triple, and start fetching the target asm printer.Daniel Dunbar2009-07-171-0/+29
| | | | llvm-svn: 76257
* llvm-mc: Fill in the rest of tokens for 'as-lex' mode.Daniel Dunbar2009-07-011-11/+23
| | | | llvm-svn: 74598
* add some of the new tokens, others are still missing.Chris Lattner2009-07-011-10/+17
| | | | llvm-svn: 74595
* Normalize SourceMgr messages.Daniel Dunbar2009-06-301-1/+1
| | | | | | | | | | | | - 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
* Basic .s parsing for .asci[iz], .fill, .space, {.byte, .short, ... }Daniel Dunbar2009-06-241-0/+4
| | | | | | | - Includes some DG tests in test/MC/AsmParser, which are rather primitive since we don't have a -verify mode yet. llvm-svn: 74139
* add trivial support for passing label definitions through the MCStreamer.Chris Lattner2009-06-241-2/+1
| | | | | | | 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 Lattner2009-06-241-1/+7
| | | | llvm-svn: 74039
* Implement full support for parsing primary expressions. We can now parseChris Lattner2009-06-221-0/+1
| | | | | | | | | | | 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
* rename SourceMgr::PrintError to PrintMessage.Chris Lattner2009-06-211-1/+1
| | | | llvm-svn: 73861
* stub out parser for asm files. Change invariant on lexer to alwaysChris Lattner2009-06-211-8/+43
| | | | | | | | print its error message when it returns an asmtok::Error token. Compute a proper error code for llvm-mc in 'lex' mode. Add new -as-lex option to enable lexing mode (vs parsing mode). llvm-svn: 73859
* add string literals.Chris Lattner2009-06-211-0/+3
| | | | llvm-svn: 73858
* implement enough of a lexer to get through Olden/health/Output/health.llc.sChris Lattner2009-06-211-2/+14
| | | | | | without errors. llvm-svn: 73855
* some baby steps.Chris Lattner2009-06-211-2/+22
| | | | llvm-svn: 73848
* start wiring up support for asm parsing.Chris Lattner2009-06-211-12/+45
| | | | llvm-svn: 73846
* fix file headerChris Lattner2009-06-181-7/+3
| | | | llvm-svn: 73733
* Add a skeleton driver for new machine code level fun. llvm-mc is meantChris Lattner2009-06-181-0/+61
to be a test driver of other components in the system, which will develop over time. llvm-svn: 73732
OpenPOWER on IntegriCloud