llvm-6502/lib
Richard Osborne 6dc9f732ce [XCore] Prefer to word align functions.
The behaviour of the XCore's instruction buffer means that the performance
of the same code sequence can differ depending on whether it starts at a 4
byte aligned address or not. Since we don't model the instruction buffer
in the backend we have no way of knowing for sure if it is beneficial to
word align a specific function. However, in the absence of precise
modelling, it is better on balance to word align functions because:

* It makes a fetch-nop while executing the prologue slightly less likely.
* If we don't word align functions then a small perturbation in one
  function can have a dramatic knock on effect. If the size of the function
  changes it might change the alignment and therefore the performance of
  all the functions that happen to follow it in the binary. This butterfly
  effect makes it harder to reason about and measure the performance of
  code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202163 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-25 16:37:15 +00:00
..
Analysis Make some DataLayout pointers const. 2014-02-24 23:12:18 +00:00
AsmParser [ms-cxxabi] Add a new calling convention that swaps 'this' and 'sret' 2014-01-31 17:41:22 +00:00
Bitcode Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
CodeGen Fix typos 2014-02-25 04:21:15 +00:00
DebugInfo llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission. 2014-02-24 23:58:54 +00:00
ExecutionEngine move getNameWithPrefix and getSymbol to TargetMachine. 2014-02-19 20:30:41 +00:00
IR Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
IRReader Make parseBitcodeFile return an ErrorOr<Module *>. 2014-01-15 01:08:23 +00:00
LineEditor Avoid using EL_GETFP. 2014-02-04 20:04:46 +00:00
Linker Set the SuppressWarnings option on tool level and propagate to the library. 2014-02-20 22:19:24 +00:00
LTO Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
MC Reuse constants for COFF string table entry offsets 2014-02-25 09:50:40 +00:00
Object MC: Support COFF string tables larger than 10MB 2014-02-22 16:12:20 +00:00
Option Avoid buffer copies when a Twine already is a StringRef. 2013-12-03 18:18:28 +00:00
Support Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
TableGen Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
Target [XCore] Prefer to word align functions. 2014-02-25 16:37:15 +00:00
Transforms Factor out calls to AA.getDataLayout(). 2014-02-25 15:52:19 +00:00
CMakeLists.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
LLVMBuild.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile Introduce line editor library. 2014-01-31 23:46:14 +00:00