| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 28069
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1. Change several methods in the MachineCodeEmitter class to be pure virtual.
2. Suck emitConstantPool/initJumpTableInfo into startFunction, removing them
from the MachineCodeEmitter interface, and reducing the amount of target-
specific code.
3. Change the JITEmitter so that it allocates constantpools and jump tables
*right* next to the functions that they belong to, instead of in a separate
pool of memory. This makes all memory for a function be contiguous, and
means the JITEmitter only tracks one block of memory now.
llvm-svn: 28065
|
| |
|
|
|
|
|
|
| |
byte format. This doesn't work when using the code emitter in a cross target
environment. Since the code emitter is only really used by the JIT, this
isn't a current problem, but if we ever start emitting .o files, it would be.
llvm-svn: 28060
|
| |
|
|
|
|
|
|
|
|
| |
code emission location into the base class, instead of being in the derived classes.
This change means that low-level methods like emitByte/emitWord now are no longer
virtual (yaay for speed), and we now have a framework to support growable code
segments. This implements feature request #1 of PR469.
llvm-svn: 28059
|
| |
|
|
|
|
|
|
| |
x86 and ppc for 100% dense switch statements when relocations are non-PIC.
This support will be extended and enhanced in the coming days to support
PIC, and less dense forms of jump tables.
llvm-svn: 27947
|
| |
|
|
| |
llvm-svn: 27943
|
| |
|
|
| |
llvm-svn: 27937
|
| |
|
|
|
|
| |
register info.
llvm-svn: 27770
|
| |
|
|
| |
llvm-svn: 26926
|
| |
|
|
| |
llvm-svn: 26697
|
| |
|
|
|
|
|
|
|
|
| |
include static, pic,
dynamic-no-pic, and default.
PPC and x86 default is dynamic-no-pic for Darwin, pic for others.
- Removed options -enable-pic and -ppc-static.
llvm-svn: 26315
|
| |
|
|
| |
llvm-svn: 26272
|
| |
|
|
|
|
|
| |
This fixes llvm-test/SingleSource/UnitTests/2006-01-29-SimpleIndirectCall.c
and PR704
llvm-svn: 25793
|
| |
|
|
| |
llvm-svn: 25509
|
| |
|
|
|
|
| |
linkonce globals
llvm-svn: 25141
|
| |
|
|
| |
llvm-svn: 24659
|
| |
|
|
|
|
|
| |
which branches to an absolute address. This is required to support objc
direct dispatch.
llvm-svn: 24370
|
| |
|
|
|
|
| |
redundant after the change.
llvm-svn: 23759
|
| |
|
|
| |
llvm-svn: 23752
|
|
|
This completes the grand PPC file renaming
llvm-svn: 23745
|