Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove now unused arguments from TargetRegistry::lookupTarget. | Daniel Dunbar | 2009-08-03 | 1 | -5/+1 | |
| | | | | llvm-svn: 77950 | |||||
* | Make SectionKind::get() private. | Chris Lattner | 2009-08-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 77835 | |||||
* | update for API change. | Chris Lattner | 2009-08-01 | 1 | -0/+1 | |
| | | | | llvm-svn: 77804 | |||||
* | All MCSections are now required to have a SectionKind. | Chris Lattner | 2009-08-01 | 1 | -1/+3 | |
| | | | | llvm-svn: 77787 | |||||
* | fix a bunch of failing tests now that MCContext::GetSection doesn't create ↵ | Chris Lattner | 2009-07-31 | 1 | -2/+3 | |
| | | | | | | sections. llvm-svn: 77689 | |||||
* | Move X86 instruction parsing into X86/AsmParser. | Daniel Dunbar | 2009-07-28 | 1 | -0/+1 | |
| | | | | llvm-svn: 77384 | |||||
* | Provide generic MCAsmParser when constructing target specific parsers. | Daniel Dunbar | 2009-07-28 | 1 | -14/+20 | |
| | | | | llvm-svn: 77362 | |||||
* | Switch AsmLexer::Lex to returning a reference to the current token. | Daniel Dunbar | 2009-07-28 | 1 | -5/+2 | |
| | | | | llvm-svn: 77328 | |||||
* | Drop some AsmLexer methods in favor of their AsmToken equivalents. | Daniel Dunbar | 2009-07-28 | 1 | -4/+4 | |
| | | | | llvm-svn: 77323 | |||||
* | llvm-mc: Sink token enum into AsmToken. | Daniel Dunbar | 2009-07-28 | 1 | -36/+36 | |
| | | | | llvm-svn: 77322 | |||||
* | Factor commonality in triple match routines into helper template for registering | Daniel Dunbar | 2009-07-26 | 1 | -3/+3 | |
| | | | | | | classes, and migrate existing targets over. llvm-svn: 77126 | |||||
* | Add TargetRegistry::lookupTarget. | Daniel Dunbar | 2009-07-26 | 1 | -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 Dunbar | 2009-07-20 | 1 | -2/+3 | |
| | | | | | | | - This provides the AsmParser interface to the target specific assembly parsers. llvm-svn: 76453 | |||||
* | llvm-mc: Default -triple to LLVM_HOSTTRIPLE. | Daniel Dunbar | 2009-07-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 76260 | |||||
* | llvm-mc: Add -triple, and start fetching the target asm printer. | Daniel Dunbar | 2009-07-17 | 1 | -0/+29 | |
| | | | | llvm-svn: 76257 | |||||
* | llvm-mc: Fill in the rest of tokens for 'as-lex' mode. | Daniel Dunbar | 2009-07-01 | 1 | -11/+23 | |
| | | | | llvm-svn: 74598 | |||||
* | add some of the new tokens, others are still missing. | Chris Lattner | 2009-07-01 | 1 | -10/+17 | |
| | | | | llvm-svn: 74595 | |||||
* | Normalize SourceMgr messages. | Daniel Dunbar | 2009-06-30 | 1 | -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 Dunbar | 2009-06-24 | 1 | -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 Lattner | 2009-06-24 | 1 | -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 Lattner | 2009-06-24 | 1 | -1/+7 | |
| | | | | llvm-svn: 74039 | |||||
* | Implement full support for parsing primary expressions. We can now parse | Chris Lattner | 2009-06-22 | 1 | -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 Lattner | 2009-06-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 73861 | |||||
* | stub out parser for asm files. Change invariant on lexer to always | Chris Lattner | 2009-06-21 | 1 | -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 Lattner | 2009-06-21 | 1 | -0/+3 | |
| | | | | llvm-svn: 73858 | |||||
* | implement enough of a lexer to get through Olden/health/Output/health.llc.s | Chris Lattner | 2009-06-21 | 1 | -2/+14 | |
| | | | | | | without errors. llvm-svn: 73855 | |||||
* | some baby steps. | Chris Lattner | 2009-06-21 | 1 | -2/+22 | |
| | | | | llvm-svn: 73848 | |||||
* | start wiring up support for asm parsing. | Chris Lattner | 2009-06-21 | 1 | -12/+45 | |
| | | | | llvm-svn: 73846 | |||||
* | fix file header | Chris Lattner | 2009-06-18 | 1 | -7/+3 | |
| | | | | llvm-svn: 73733 | |||||
* | Add a skeleton driver for new machine code level fun. llvm-mc is meant | Chris Lattner | 2009-06-18 | 1 | -0/+61 | |
to be a test driver of other components in the system, which will develop over time. llvm-svn: 73732 |