- Refactor the code that resolve basic block references to a TargetJITInfo
authorEvan Cheng <evan.cheng@apple.com>
Tue, 25 Jul 2006 20:40:54 +0000 (20:40 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 25 Jul 2006 20:40:54 +0000 (20:40 +0000)
commit55fc28076fa48723bd170e51638b3b5974ca0fa1
tree954eb5ec8c5be4c9a3b5cb6c6cbe7f6398564370
parent55371739dec0ade6fcc77de228fb3e4d098845f7
- Refactor the code that resolve basic block references to a TargetJITInfo
  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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29276 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/llvm/Target/TargetJITInfo.h
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/Target/Alpha/Alpha.h
lib/Target/Alpha/AlphaCodeEmitter.cpp
lib/Target/Alpha/AlphaJITInfo.cpp
lib/Target/Alpha/AlphaJITInfo.h
lib/Target/Alpha/AlphaTargetMachine.cpp
lib/Target/PowerPC/PPCCodeEmitter.cpp
lib/Target/PowerPC/PPCJITInfo.cpp
lib/Target/PowerPC/PPCJITInfo.h
lib/Target/X86/X86.h
lib/Target/X86/X86CodeEmitter.cpp
lib/Target/X86/X86ELFWriter.cpp
lib/Target/X86/X86JITInfo.cpp
lib/Target/X86/X86JITInfo.h
lib/Target/X86/X86TargetMachine.cpp