summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Resolve BB references with relocation.Evan Cheng2006-07-271-2/+3
| | | | llvm-svn: 29351
* - Refactor the code that resolve basic block references to a TargetJITInfoEvan Cheng2006-07-251-23/+11
| | | | | | | | | | method. - Added synchronizeICache() to TargetJITInfo. It is called after each block of code is emitted to flush the icache. This ensures correct execution on targets that have separate dcache and icache. - Added PPC / Mac OS X specific code to do icache flushing. llvm-svn: 29276
* Change from using MachineRelocation ctors to using static methodsChris Lattner2006-05-031-3/+3
| | | | | | in MachineRelocation to create Relocations. llvm-svn: 28088
* Suck block address tracking out of targets into the JIT Emitter. ThisChris Lattner2006-05-031-11/+4
| | | | | | | simplifies the MachineCodeEmitter interface just a little bit and makes BasicBlocks work like constant pools and jump tables. llvm-svn: 28082
* Keep the alpha JIT similar to the PPC/X86 jitsChris Lattner2006-05-031-4/+6
| | | | llvm-svn: 28068
* Several related changes:Chris Lattner2006-05-021-1/+0
| | | | | | | | | | | | | 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
* Fix a purely hypothetical problem (for now): emitWord emits in the hostChris Lattner2006-05-021-5/+1
| | | | | | | | 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
* Refactor the machine code emitter interface to pull the pointers for the currentChris Lattner2006-05-021-5/+9
| | | | | | | | | | 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
* Add explicit #includes of <iostream>Chris Lattner2006-01-221-0/+1
| | | | llvm-svn: 25515
* massive DAGISel patch. lots and lots more stuff compiles nowAndrew Lenharth2005-11-221-1/+3
| | | | llvm-svn: 24483
* who would have thought you would want to write into globals tooAndrew Lenharth2005-11-161-0/+6
| | | | llvm-svn: 24381
* No, IDEFs shouldn't be JITedAndrew Lenharth2005-08-041-2/+5
| | | | llvm-svn: 22648
* support bsr, and more .td simplificationAndrew Lenharth2005-07-281-0/+3
| | | | llvm-svn: 22543
* get lazy JITing working. Some of shootout runs nowAndrew Lenharth2005-07-281-1/+3
| | | | llvm-svn: 22538
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-4/+4
| | | | llvm-svn: 22523
* fix some warnings when compiled with 32-bit hostsChris Lattner2005-07-271-2/+2
| | | | llvm-svn: 22521
* Alpha JIT (beta)Andrew Lenharth2005-07-221-0/+231
llvm-svn: 22500
OpenPOWER on IntegriCloud