| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 120304
|
|
|
|
|
|
| |
JITTest.FunctionIsRecompiledAndRelinked.)
llvm-svn: 93475
|
|
|
|
|
|
|
|
|
| |
remove start/finishGVStub and the BufferState helper class from the
MachineCodeEmitter interface. It has the side-effect of not setting the
indirect global writable and then executable on ARM, but that shouldn't be
necessary.
llvm-svn: 91464
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
way for each TargetJITInfo subclass to allocate its own stubs. This
means stubs aren't as exactly-sized anymore, but it lets us get rid of
TargetJITInfo::emitFunctionStubAtAddr(), which lets ARM and PPC
support the eager JIT, fixing http://llvm.org/PR4816.
* Rename the JITEmitter's stub creation functions to describe the kind
of stub they create. So far, all of them create lazy-compilation
stubs, but they sometimes get used when far-call stubs are needed.
Fixing http://llvm.org/PR5201 will involve fixing this.
llvm-svn: 89715
|
|
|
|
|
|
|
|
| |
It's probably better in the long run to replace the
indirect-GlobalVariable system. That'll be done after a subsequent
patch.
llvm-svn: 89708
|
|
|
|
|
|
|
|
|
| |
This adds location info for all llvm_unreachable calls (which is a macro now) in
!NDEBUG builds.
In NDEBUG builds location info and the message is off (it only prints
"UREACHABLE executed").
llvm-svn: 75640
|
|
|
|
|
|
|
|
|
| |
Make llvm_unreachable take an optional string, thus moving the cerr<< out of
line.
LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
NDEBUG builds.
llvm-svn: 75379
|
|
|
|
|
|
| |
Finish converting lib/Target.
llvm-svn: 75043
|
|
|
|
|
|
|
|
|
|
|
| |
Make CalculateParameterAndLinkageAreaSize() Darwin-specific.
Remove SVR4 specific code from LowerCALL_Darwin() and LowerFORMAL_ARGUMENTS_Darwin().
Rename MachoABI to DarwinABI for consistency.
Rename ELF ABI to SVR4 ABI for consistency.
Factor out common call return lowering between the Darwin and SVR4 ABI.
Factor out common call lowering between the Darwin and SVR4 ABI.
llvm-svn: 74766
|
|
|
|
|
|
| |
JITCodeEmitter and ObjectCodeEmitter. No functional changes yet. Patch by Aaron Gray
llvm-svn: 72631
|
|
|
|
|
|
| |
ptr.
llvm-svn: 58897
|
|
|
|
| |
llvm-svn: 57649
|
|
|
|
|
|
|
| |
InvalidateInstructionCache method instead of calling through
a hook on the JIT. This is a host feature, not a target feature.
llvm-svn: 52734
|
|
|
|
| |
llvm-svn: 52420
|
|
|
|
| |
llvm-svn: 52419
|
|
|
|
|
|
| |
Patch by Gary Benson!
llvm-svn: 52418
|
|
|
|
|
|
| |
Patch by Gary Benson!
llvm-svn: 52332
|
|
|
|
| |
llvm-svn: 51538
|
|
|
|
|
|
|
|
| |
the memory manager which function
the stub will resolve.
llvm-svn: 49814
|
|
|
|
|
|
|
|
| |
was actually passing a completely incorrect size to sys_icache_invalidate.
Instead of having the JITEmitter do this (which doesn't have the correct
size), just make the target sync its own stubs.
llvm-svn: 46354
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
| |
llvm-svn: 37340
|
|
|
|
| |
llvm-svn: 34572
|
|
|
|
| |
llvm-svn: 32436
|
|
|
|
| |
llvm-svn: 32413
|
|
|
|
| |
llvm-svn: 32412
|
|
|
|
|
|
|
|
| |
which allows the code to be above the 2G marker. We still need to JIT emit
dyld stubs to support external, weak, common, etc globals, but that will
happen tomorrow.
llvm-svn: 32348
|
|
|
|
| |
llvm-svn: 32341
|
|
|
|
| |
llvm-svn: 32333
|
|
|
|
| |
llvm-svn: 30662
|
|
|
|
|
|
|
| |
the file now, however the relocated address is currently wrong. Fixing
that will require some deep pondering.
llvm-svn: 30207
|
|
|
|
|
|
| |
there are clearly some encoding bugs lurking in there somewhere.
llvm-svn: 29949
|
|
|
|
| |
llvm-svn: 29351
|
|
|
|
| |
llvm-svn: 29348
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 29125
|
|
|
|
| |
llvm-svn: 28633
|
|
|
|
|
|
| |
by Anton Korobeynikov! This is a step towards closing PR786.
llvm-svn: 28447
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
prologs and epilogs, keep all the asm in one place, and remove use of
compiler builtin functions.
llvm-svn: 28049
|
|
|
|
| |
llvm-svn: 27966
|
|
|
|
| |
llvm-svn: 27937
|
|
|
|
|
|
| |
redundant after the change.
llvm-svn: 23759
|
|
This completes the grand PPC file renaming
llvm-svn: 23745
|