summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCLinkerOptimizationHint.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [ARM64][CollectLOH] Add some comments to explain how the LOHsQuentin Colombet2014-04-021-0/+8
| | | | | | | framework works (for the compiler part), since the design document is not available. llvm-svn: 205379
* Detemplatize LOHDirective.Benjamin Kramer2014-03-291-3/+0
| | | | | | | | | | | The ARM64 backend uses it only as a container to keep an MCLOHType and Arguments around so give it its own little copy. The other functionality isn't used and we had a crazy method specialization hack in place to keep it working. Unfortunately that was incompatible with MSVC. Also range-ify a couple of loops while at it. llvm-svn: 205114
* MachO: Add linker-optimisation hint framework to MC.Tim Northover2014-03-291-0/+30
Another part of the ARM64 backend (so tests will be following soon). This is currently used by the linker to relax adrp/ldr pairs into nops where possible, though could well be more broadly applicable. llvm-svn: 205084
OpenPOWER on IntegriCloud