Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rip out the 'is temporary' nonsense from the MCContext interface to | Chris Lattner | 2010-03-30 | 1 | -6/+0 | |
| | | | | | | | | | create symbols. It is extremely error prone and a source of a lot of the remaining integrated assembler bugs on x86-64. This fixes rdar://7807601. llvm-svn: 99902 | |||||
* | MC: Fix refacto in MCExpr evaluation, I mistakenly replaced a fragment ↵ | Daniel Dunbar | 2010-03-25 | 1 | -2/+2 | |
| | | | | | | | | address with a symbol address. - This fixes the integrated-as nightly test regressions. llvm-svn: 99466 | |||||
* | MC: Direct all {fragment,section,symbol} address access through the ↵ | Daniel Dunbar | 2010-03-24 | 1 | -2/+2 | |
| | | | | | | MCAsmLayout object. llvm-svn: 99380 | |||||
* | MC: Sprinkle in some more interesting statistics. | Daniel Dunbar | 2010-03-23 | 1 | -0/+10 | |
| | | | | llvm-svn: 99350 | |||||
* | llvm-mc: Fast path EvaluateAbsolute of constants. | Daniel Dunbar | 2010-03-23 | 1 | -0/+6 | |
| | | | | llvm-svn: 99348 | |||||
* | MCValue: Change to holding MCSymbolRefExprs instead of MCSymbols, we will ↵ | Daniel Dunbar | 2010-03-18 | 1 | -20/+24 | |
| | | | | | | need this for accessing to symbol modifiers. llvm-svn: 98791 | |||||
* | MC: Allow modifiers in MCSymbolRefExpr, and eliminate X86MCTargetExpr. | Daniel Dunbar | 2010-03-15 | 1 | -5/+51 | |
| | | | | | | | - Although it would be nice to allow this decoupling, the assembler needs to be able to reason about MCSymbolRefExprs in too many places to make this viable. We can use a target specific encoding of the variant if this becomes an issue. - This patch also extends llvm-mc to support parsing of the modifiers, as opposed to lumping them in with the symbol. llvm-svn: 98592 | |||||
* | MC: Fix a crash on invalid, attempting to evaluate undefined symbols. | Daniel Dunbar | 2010-03-14 | 1 | -3/+4 | |
| | | | | llvm-svn: 98464 | |||||
* | MC: Constify MCAsmLayout argument to MCExpr::EvaluteAs... | Daniel Dunbar | 2010-03-12 | 1 | -2/+3 | |
| | | | | llvm-svn: 98380 | |||||
* | MC/Mach-O: Implement "absolutizing" semantics of .set, by evaluating the ↵ | Daniel Dunbar | 2010-03-11 | 1 | -2/+20 | |
| | | | | | | assembly time value of variables. llvm-svn: 98241 | |||||
* | MC: Sketch initial MCAsmLayout class, which encapsulates the current layout ↵ | Daniel Dunbar | 2010-03-11 | 1 | -8/+8 | |
| | | | | | | of an assembly file. The MCAsmLayout is also available for use by MCExpr::EvaluateAs{Absolute,Relocatable}, to allow target specific hooks and "absolutizing" of symbols. llvm-svn: 98227 | |||||
* | set the temporary bit on MCSymbols correctly. | Chris Lattner | 2010-03-10 | 1 | -0/+5 | |
| | | | | llvm-svn: 98124 | |||||
* | Document that MCExpr::Mod is actually remainder. | Dan Gohman | 2010-02-08 | 1 | -2/+2 | |
| | | | | | | | | | | | Document that MCExpr::Div, Mod, and the comparison operators are all signed operators. Document that the comparison operators' results are target-dependent. Document that the behavior of shr is target-dependent. llvm-svn: 95619 | |||||
* | don't make hte dtor private or we can't construct the class. | Chris Lattner | 2010-02-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 95587 | |||||
* | add scaffolding for target-specific MCExprs. | Chris Lattner | 2010-02-08 | 1 | -0/+6 | |
| | | | | llvm-svn: 95559 | |||||
* | remove the MAI argument to MCExpr::print and switch overthing to use << when ↵ | Chris Lattner | 2010-01-18 | 1 | -11/+7 | |
| | | | | | | printing them. llvm-svn: 93699 | |||||
* | now that MCSymbol::print doesn't use it's MAI argument, we can | Chris Lattner | 2010-01-17 | 1 | -7/+4 | |
| | | | | | | | remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695 | |||||
* | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -2/+3 | |
| | | | | llvm-svn: 92630 | |||||
* | Pass StringRef by value. | Daniel Dunbar | 2009-11-06 | 1 | -2/+1 | |
| | | | | llvm-svn: 86251 | |||||
* | MC: Remove unneeded context argument to MCExpr::Evaluate*. | Daniel Dunbar | 2009-10-16 | 1 | -7/+7 | |
| | | | | llvm-svn: 84233 | |||||
* | MC: Move assembler variable values from MCContext to MCSymbol. | Daniel Dunbar | 2009-10-16 | 1 | -2/+5 | |
| | | | | llvm-svn: 84229 | |||||
* | MC: Switch MCContext value table to storing MCExprs. | Daniel Dunbar | 2009-10-16 | 1 | -4/+3 | |
| | | | | llvm-svn: 84228 | |||||
* | add a helper method for creating MCSymbol and MCSymbolRefExpr at | Chris Lattner | 2009-09-16 | 1 | -0/+6 | |
| | | | | | | the same time. llvm-svn: 81984 | |||||
* | parenthesize symbol names that start with $, fixing X86/dollar-name.ll with | Chris Lattner | 2009-09-08 | 1 | -2/+13 | |
| | | | | | | the new asmprinter. llvm-svn: 81269 | |||||
* | Print "X-42" instead of "X+-42". | Chris Lattner | 2009-09-08 | 1 | -1/+11 | |
| | | | | llvm-svn: 81203 | |||||
* | make formatting of expressions more closely match the existing asmprinter. | Chris Lattner | 2009-09-08 | 1 | -6/+19 | |
| | | | | llvm-svn: 81202 | |||||
* | tidy whitespace. | Chris Lattner | 2009-09-08 | 1 | -7/+4 | |
| | | | | llvm-svn: 81201 | |||||
* | Thread an MCAsmInfo pointer through the various MC printing APIs, | Chris Lattner | 2009-09-03 | 1 | -6/+6 | |
| | | | | | | | and fix a few things using << on MCSymbols to use ->print(). No functionality change other than unbreaking my previous patch. llvm-svn: 80890 | |||||
* | llvm-mc: Add MCExpr::{dump,print}. | Daniel Dunbar | 2009-08-31 | 1 | -0/+67 | |
| | | | | llvm-svn: 80570 | |||||
* | llvm-mc: Switch MCExpr construction to using static member functions, and ↵ | Daniel Dunbar | 2009-08-31 | 1 | -8/+28 | |
| | | | | | | taking the MCContext (which now owns all MCExprs). llvm-svn: 80569 | |||||
* | llvm-mc: Move AsmExpr into MC lib (as MCExpr). | Daniel Dunbar | 2009-08-31 | 1 | -0/+162 | |
llvm-svn: 80567 |