| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add ARM TARGET2 relocation. The testcase will follow with actualy use-case. | Anton Korobeynikov | 2012-11-09 | 1 | -1/+3 |
| | | | | | | | Based on the patch by Logan Chien! llvm-svn: 167633 | ||||
| * | Rename virtual table anchors from Anchor() to anchor() for consistency with ↵ | Craig Topper | 2012-09-26 | 1 | -1/+1 |
| | | | | | | | the rest of the tree. llvm-svn: 164666 | ||||
| * | Release build: guard dump functions with | Manman Ren | 2012-09-12 | 1 | -1/+1 |
| | | | | | | | | | "#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)" No functional change. Update r163344. llvm-svn: 163679 | ||||
| * | Release build: guard dump functions with "ifndef NDEBUG" | Manman Ren | 2012-09-06 | 1 | -0/+2 |
| | | | | | | | No functional change. llvm-svn: 163344 | ||||
| * | Lower constant pools and jump tables via TOC on PPC64/SVR4. | Roman Divacky | 2012-08-24 | 1 | -1/+2 |
| | | | | | | | In collaboration with Adhemerval Zanella. llvm-svn: 162562 | ||||
| * | Add VK_Mips_HIGHER and VK_Mips_HIGHEST to MCSymbolRefExpr::VariantKind. | Akira Hatanaka | 2012-07-21 | 1 | -0/+2 |
| | | | | | | | Test case will be added later when long branch patch is checked in. llvm-svn: 160597 | ||||
| * | Implement local-exec TLS on PowerPC. | Roman Divacky | 2012-06-04 | 1 | -0/+2 |
| | | | | | llvm-svn: 157935 | ||||
| * | Prune some includes and forward declarations. | Craig Topper | 2012-03-26 | 1 | -0/+1 |
| | | | | | llvm-svn: 153429 | ||||
| * | ARM Thumb symbol references in assembly need the low bit set. | Jim Grosbach | 2012-02-24 | 1 | -0/+5 |
| | | | | | | | | | | Add support for a missed case when the symbols in a difference expression are in the same section but not the same fragment. rdar://10924681 llvm-svn: 151345 | ||||
| * | Add support for implicit TLS model used with MS VC runtime. | Anton Korobeynikov | 2012-02-11 | 1 | -0/+1 |
| | | | | | | | Patch by Kai Nacke! llvm-svn: 150307 | ||||
| * | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-07 | 1 | -5/+3 |
| | | | | | llvm-svn: 149967 | ||||
| * | Add support for the R_ARM_TARGET1 relocation, which should be given to ↵ | James Molloy | 2012-01-26 | 1 | -1/+3 |
| | | | | | | | | | relocations applied to all C++ constructors and destructors. This enables the linker to match concrete relocation types (absolute or relative) with whatever library or C++ support code is being linked against. llvm-svn: 149057 | ||||
| * | Add 'llvm_unreachable' to passify GCC's understanding of the constraints | Chandler Carruth | 2012-01-10 | 1 | -0/+2 |
| | | | | | | | | | of several newly un-defaulted switches. This also helps optimizers (including LLVM's) recognize that every case is covered, and we should assume as much. llvm-svn: 147861 | ||||
| * | Remove unnecessary default cases in switches that cover all enum values. | David Blaikie | 2012-01-10 | 1 | -3/+0 |
| | | | | | llvm-svn: 147855 | ||||
| * | Local dynamic TLS model for direct object output. Create the correct TLS MIPS | Akira Hatanaka | 2011-12-22 | 1 | -0/+18 |
| | | | | | | | | | ELF relocations. Patch by Jack Carter. llvm-svn: 147118 | ||||
| * | Remove function printMipsSymbolRef. | Akira Hatanaka | 2011-11-15 | 1 | -35/+0 |
| | | | | | llvm-svn: 144663 | ||||
| * | This is the first of several patches for Mips direct object generation. | Bruno Cardoso Lopes | 2011-10-25 | 1 | -0/+35 |
| | | | | | | | | | This first patch is for expression variable kinds. Patch by Jack Carter! llvm-svn: 142934 | ||||
| * | Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to ↵ | Evan Cheng | 2011-07-25 | 1 | -1/+0 |
| | | | | | | | createMCAsmBackend. llvm-svn: 136010 | ||||
| * | Move TargetAsmParser.h TargetAsmBackend.h and TargetAsmLexer.h to MC where ↵ | Evan Cheng | 2011-07-23 | 1 | -1/+1 |
| | | | | | | | they belong. llvm-svn: 135833 | ||||
| * | Fix emission of PPC64 assembler on non-darwin platforms by splitting | Roman Divacky | 2011-06-09 | 1 | -6/+8 |
| | | | | | | | | | VK_PPC_{HA,LO}16 into darwin and gas variants. Darwin wants {ha,lo}16(symbol) while gnu as wants symbol@{ha,l}. llvm-svn: 132802 | ||||
| * | MCExpr: Add FindAssociatedSection, which attempts to mirror the 'as' semantics | Daniel Dunbar | 2011-04-29 | 1 | -0/+42 |
| | | | | | | | that associate sections with expressions. llvm-svn: 130517 | ||||
| * | Fix a ton of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -1/+1 |
| | | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558 | ||||
| * | Add support for Thumb interworking addresses for symbol offsets that get ↵ | Owen Anderson | 2011-03-21 | 1 | -0/+5 |
| | | | | | | | | | constant folded very early. This fixes SPASS with -integrated-as. <rdar://problem/9165399> llvm-svn: 128037 | ||||
| * | Add support for lowercase variants. | Rafael Espindola | 2011-01-23 | 1 | -0/+14 |
| | | | | | llvm-svn: 124071 | ||||
| * | Model :upper16: and :lower16: as ARM specific MCTargetExpr. This is a step | Evan Cheng | 2011-01-13 | 1 | -8/+0 |
| | | | | | | | | | in the right direction. It eliminated some hacks and will unblock codegen work. But it's far from being done. It doesn't reject illegal expressions, e.g. (FOO - :lower16:BAR). It also doesn't work in Thumb2 mode at all. llvm-svn: 123369 | ||||
| * | Add r122359 back now that the bug in MCDwarfLineAddrFragment fragment has been | Rafael Espindola | 2010-12-22 | 1 | -19/+5 |
| | | | | | | | fixed. llvm-svn: 122448 | ||||
| * | Revert r122359 while I debug PR8845. | Rafael Espindola | 2010-12-22 | 1 | -5/+19 |
| | | | | | llvm-svn: 122427 | ||||
| * | Use references and simplify. | Rafael Espindola | 2010-12-22 | 1 | -6/+3 |
| | | | | | llvm-svn: 122405 | ||||
| * | Simplify EvaluateAsAbsolute now that EvaluateAsRelocatableImpl does all | Rafael Espindola | 2010-12-21 | 1 | -19/+5 |
| | | | | | | | the folding it can. llvm-svn: 122359 | ||||
| * | Fixed version of 122160 (the previous one would fold undefined symbols). | Rafael Espindola | 2010-12-19 | 1 | -50/+52 |
| | | | | | llvm-svn: 122167 | ||||
| * | Revert 122160 while I debug it. | Rafael Espindola | 2010-12-19 | 1 | -44/+50 |
| | | | | | llvm-svn: 122165 | ||||
| * | Move all folding to AttemptToFoldSymbolOffsetDifference. | Rafael Espindola | 2010-12-19 | 1 | -50/+44 |
| | | | | | llvm-svn: 122160 | ||||
| * | Merge isAbsolute into IsSymbolRefDifferenceFullyResolved. | Rafael Espindola | 2010-12-18 | 1 | -5/+4 |
| | | | | | llvm-svn: 122148 | ||||
| * | Remove the MCObjectFormat class. | Rafael Espindola | 2010-12-18 | 1 | -3/+2 |
| | | | | | llvm-svn: 122147 | ||||
| * | Add a FIXME and explain a hack. | Rafael Espindola | 2010-12-18 | 1 | -1/+4 |
| | | | | | llvm-svn: 122144 | ||||
| * | Fix the note. | Rafael Espindola | 2010-12-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 122139 | ||||
| * | Revert 122011, 122012, 122013, 122023 adding back an important optimization. | Rafael Espindola | 2010-12-18 | 1 | -16/+56 |
| | | | | | | | I added a note, but suggestions on how to add a test are really welcome. llvm-svn: 122138 | ||||
| * | MC/Expr: Implemnt more aggressive folding during symbol evaluation using | Daniel Dunbar | 2010-12-17 | 1 | -8/+44 |
| | | | | | | | | | | | | | | | | | IsSymbolRefDifferenceFullyResolved(). For example, we will now fold away something like: -- _a: ... L0: ... L1: ... .long (L1 - L0) / 2 -- llvm-svn: 122043 | ||||
| * | MC/Expr: Simplify. | Daniel Dunbar | 2010-12-17 | 1 | -8/+0 |
| | | | | | llvm-svn: 122023 | ||||
| * | MC: Remove another dead MCAssembler argument, and update clients. | Daniel Dunbar | 2010-12-17 | 1 | -21/+1 |
| | | | | | llvm-svn: 122013 | ||||
| * | MC: Remove dead MCAssembler argument -- Rafael, can you check the FIXME I added | Daniel Dunbar | 2010-12-17 | 1 | -12/+9 |
| | | | | | | | here? llvm-svn: 122012 | ||||
| * | MC: Simplify (remove unnecessary MCAssembler argument, obsoleted by containment | Daniel Dunbar | 2010-12-17 | 1 | -12/+8 |
| | | | | | | | in MCAsmLayout). llvm-svn: 122011 | ||||
| * | Write => in a more normal form. | Daniel Dunbar | 2010-12-17 | 1 | -1/+2 |
| | | | | | llvm-svn: 122009 | ||||
| * | MC/Expr: Simplify (and add a FIXME). | Daniel Dunbar | 2010-12-17 | 1 | -10/+16 |
| | | | | | llvm-svn: 122008 | ||||
| * | MC/Expr: Add a doxyment. | Daniel Dunbar | 2010-12-16 | 1 | -0/+14 |
| | | | | | llvm-svn: 121988 | ||||
| * | Sorry for such a large commit. The summary is that only MachO cares about the | Rafael Espindola | 2010-12-07 | 1 | -20/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actuall addresses in a .o file, so it is better to let the MachO writer compute it. This is good for two reasons. First, areas that shouldn't care about addresses now don't have access to it. Second, the layout of each section is independent. I should use this in a subsequent commit to speed it up. Most of the patch is just removing the section address computation. The two interesting parts are the change on how we handle padding in the end of sections and how MachO can get the address of a-b when a and b are in different sections. Since now the expression evaluation normally doesn't know the section address, it will think that a-b needs relocation and let the MachO writer know. Once it has computed the section addresses, it calls back the expression evaluation with the section addresses to resolve these expressions. The remaining problem is the handling of padding. Currently it will create a special alignment fragment at the end. Since that fragment doesn't update the alignment of the section, it needs the real address to be computed. Since now the layout will not compute a-b with a and b in different sections, the only effect that the special alignment fragment has is update the address size of the section. This can also be done by the MachO writer. llvm-svn: 121076 | ||||
| * | Use references to simplify the code a bit. | Rafael Espindola | 2010-12-06 | 1 | -7/+4 |
| | | | | | llvm-svn: 121050 | ||||
| * | Simplify a bit. | Rafael Espindola | 2010-12-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 120980 | ||||
| * | Try to resolve symbol differences early, and if successful create a plain | Rafael Espindola | 2010-12-03 | 1 | -21/+52 |
| | | | | | | | | data fragment. This reduces the time to assemble the test in 8711 from 60s to 54s. llvm-svn: 120767 | ||||
| * | Add a fast path to EvaluateSymbolicAdd. This avoids computing symbol addresses | Rafael Espindola | 2010-12-02 | 1 | -3/+11 |
| | | | | | | | | | which then avoids running EnsureValid. This cuts the assembly time of the testcase in PR8711 from 2:50 minutes to 1 minute. llvm-svn: 120697 | ||||

