Temporarily Revert "Nuke the old JIT." as it's not quite ready to
authorEric Christopher <echristo@gmail.com>
Thu, 7 Aug 2014 22:02:54 +0000 (22:02 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 7 Aug 2014 22:02:54 +0000 (22:02 +0000)
commitb9fd9ed37ebf24d0935fe597cc8ea13f77288636
tree6d3bd604747981f5dcc37bcb3509f1c793287e59
parentb5220dc77963e8172cfe0ea7aeeacc76b3da8413
Temporarily Revert "Nuke the old JIT." as it's not quite ready to
be deleted. This will be reapplied as soon as possible and before
the 3.6 branch date at any rate.

Approved by Jim Grosbach, Lang Hames, Rafael Espindola.

This reverts commits r215111, 215115, 215116, 215117, 215136.

llvm-svn: 215154
258 files changed:
llvm/Makefile.rules
llvm/bindings/ocaml/executionengine/Makefile
llvm/bindings/ocaml/executionengine/executionengine_ocaml.c
llvm/docs/TableGen/BackEnds.rst
llvm/examples/BrainF/BrainFDriver.cpp
llvm/examples/BrainF/CMakeLists.txt
llvm/examples/ExceptionDemo/ExceptionDemo.cpp
llvm/examples/Fibonacci/CMakeLists.txt
llvm/examples/Fibonacci/fibonacci.cpp
llvm/examples/HowToUseJIT/CMakeLists.txt
llvm/examples/HowToUseJIT/HowToUseJIT.cpp
llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt
llvm/examples/Kaleidoscope/Chapter4/toy.cpp
llvm/examples/Kaleidoscope/Chapter5/CMakeLists.txt
llvm/examples/Kaleidoscope/Chapter5/toy.cpp
llvm/examples/Kaleidoscope/Chapter6/CMakeLists.txt
llvm/examples/Kaleidoscope/Chapter6/toy.cpp
llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
llvm/examples/Kaleidoscope/Chapter7/toy.cpp
llvm/examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp
llvm/examples/Kaleidoscope/MCJIT/cached/toy.cpp
llvm/examples/Kaleidoscope/MCJIT/complete/toy.cpp
llvm/examples/Kaleidoscope/MCJIT/initial/toy.cpp
llvm/examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp
llvm/examples/Kaleidoscope/MCJIT/lazy/toy.cpp
llvm/examples/ParallelJIT/CMakeLists.txt
llvm/examples/ParallelJIT/ParallelJIT.cpp
llvm/include/llvm-c/ExecutionEngine.h
llvm/include/llvm/CodeGen/JITCodeEmitter.h [new file with mode: 0644]
llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
llvm/include/llvm/ExecutionEngine/JIT.h [new file with mode: 0644]
llvm/include/llvm/Target/TargetJITInfo.h [new file with mode: 0644]
llvm/include/llvm/Target/TargetLowering.h
llvm/include/llvm/Target/TargetMachine.h
llvm/include/llvm/Target/TargetSubtargetInfo.h
llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/JITCodeEmitter.cpp [new file with mode: 0644]
llvm/lib/CodeGen/LLVMTargetMachine.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/TargetLoweringBase.cpp
llvm/lib/ExecutionEngine/CMakeLists.txt
llvm/lib/ExecutionEngine/ExecutionEngine.cpp
llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp
llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
llvm/lib/ExecutionEngine/JIT/CMakeLists.txt [new file with mode: 0644]
llvm/lib/ExecutionEngine/JIT/JIT.cpp [new file with mode: 0644]
llvm/lib/ExecutionEngine/JIT/JIT.h [new file with mode: 0644]
llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp [new file with mode: 0644]
llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp [moved from llvm/lib/ExecutionEngine/MCJIT/JITMemoryManager.cpp with 100% similarity]
llvm/lib/ExecutionEngine/JIT/LLVMBuild.txt [new file with mode: 0644]
llvm/lib/ExecutionEngine/JIT/Makefile [new file with mode: 0644]
llvm/lib/ExecutionEngine/LLVMBuild.txt
llvm/lib/ExecutionEngine/MCJIT/CMakeLists.txt
llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
llvm/lib/ExecutionEngine/MCJIT/MCJIT.h
llvm/lib/ExecutionEngine/Makefile
llvm/lib/ExecutionEngine/TargetSelect.cpp
llvm/lib/Target/AArch64/CMakeLists.txt
llvm/lib/Target/ARM/ARM.h
llvm/lib/Target/ARM/ARMCodeEmitter.cpp [new file with mode: 0644]
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMJITInfo.cpp [new file with mode: 0644]
llvm/lib/Target/ARM/ARMJITInfo.h [new file with mode: 0644]
llvm/lib/Target/ARM/ARMSubtarget.cpp
llvm/lib/Target/ARM/ARMSubtarget.h
llvm/lib/Target/ARM/ARMTargetMachine.cpp
llvm/lib/Target/ARM/ARMTargetMachine.h
llvm/lib/Target/ARM/CMakeLists.txt
llvm/lib/Target/ARM/Makefile
llvm/lib/Target/CMakeLists.txt
llvm/lib/Target/Mips/CMakeLists.txt
llvm/lib/Target/Mips/Makefile
llvm/lib/Target/Mips/Mips.h
llvm/lib/Target/Mips/Mips16ISelLowering.cpp
llvm/lib/Target/Mips/MipsCodeEmitter.cpp [new file with mode: 0644]
llvm/lib/Target/Mips/MipsConstantIslandPass.cpp
llvm/lib/Target/Mips/MipsISelLowering.cpp
llvm/lib/Target/Mips/MipsJITInfo.cpp [new file with mode: 0644]
llvm/lib/Target/Mips/MipsJITInfo.h [new file with mode: 0644]
llvm/lib/Target/Mips/MipsLongBranch.cpp
llvm/lib/Target/Mips/MipsSEISelLowering.cpp
llvm/lib/Target/Mips/MipsSubtarget.cpp
llvm/lib/Target/Mips/MipsSubtarget.h
llvm/lib/Target/Mips/MipsTargetMachine.cpp
llvm/lib/Target/Mips/MipsTargetMachine.h
llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
llvm/lib/Target/PowerPC/CMakeLists.txt
llvm/lib/Target/PowerPC/Makefile
llvm/lib/Target/PowerPC/PPC.h
llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp [new file with mode: 0644]
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCJITInfo.cpp [new file with mode: 0644]
llvm/lib/Target/PowerPC/PPCJITInfo.h [new file with mode: 0644]
llvm/lib/Target/PowerPC/PPCSubtarget.cpp
llvm/lib/Target/PowerPC/PPCSubtarget.h
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
llvm/lib/Target/PowerPC/PPCTargetMachine.h
llvm/lib/Target/R600/CMakeLists.txt
llvm/lib/Target/Sparc/CMakeLists.txt
llvm/lib/Target/Sparc/Makefile
llvm/lib/Target/Sparc/Sparc.h
llvm/lib/Target/Sparc/SparcCodeEmitter.cpp [new file with mode: 0644]
llvm/lib/Target/Sparc/SparcJITInfo.cpp [new file with mode: 0644]
llvm/lib/Target/Sparc/SparcJITInfo.h [new file with mode: 0644]
llvm/lib/Target/Sparc/SparcSubtarget.h
llvm/lib/Target/Sparc/SparcTargetMachine.cpp
llvm/lib/Target/Sparc/SparcTargetMachine.h
llvm/lib/Target/SystemZ/CMakeLists.txt
llvm/lib/Target/SystemZ/Makefile
llvm/lib/Target/TargetJITInfo.cpp [new file with mode: 0644]
llvm/lib/Target/X86/CMakeLists.txt
llvm/lib/Target/X86/X86.h
llvm/lib/Target/X86/X86CodeEmitter.cpp [new file with mode: 0644]
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86JITInfo.cpp [new file with mode: 0644]
llvm/lib/Target/X86/X86JITInfo.h [new file with mode: 0644]
llvm/lib/Target/X86/X86Subtarget.cpp
llvm/lib/Target/X86/X86Subtarget.h
llvm/lib/Target/X86/X86TargetMachine.cpp
llvm/lib/Target/X86/X86TargetMachine.h
llvm/test/ExecutionEngine/2002-12-16-ArgTest.ll
llvm/test/ExecutionEngine/2003-01-04-ArgumentBug.ll
llvm/test/ExecutionEngine/2003-01-04-LoopTest.ll
llvm/test/ExecutionEngine/2003-01-15-AlignmentTest.ll
llvm/test/ExecutionEngine/2003-05-06-LivenessClobber.ll
llvm/test/ExecutionEngine/2003-05-07-ArgumentTest.ll
llvm/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll
llvm/test/ExecutionEngine/2003-08-21-EnvironmentTest.ll
llvm/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll
llvm/test/ExecutionEngine/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll
llvm/test/ExecutionEngine/2005-12-02-TailCallBug.ll
llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-09-SARTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-10-FUCOM.ll
llvm/test/ExecutionEngine/MCJIT/2003-01-15-AlignmentTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-05-06-LivenessClobber.ll
llvm/test/ExecutionEngine/MCJIT/2003-05-07-ArgumentTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll
llvm/test/ExecutionEngine/MCJIT/2003-06-04-bzip2-bug.ll
llvm/test/ExecutionEngine/MCJIT/2003-06-05-PHIBug.ll
llvm/test/ExecutionEngine/MCJIT/2003-08-15-AllocaAssertion.ll
llvm/test/ExecutionEngine/MCJIT/2003-08-21-EnvironmentTest.ll
llvm/test/ExecutionEngine/MCJIT/2003-08-23-RegisterAllocatePhysReg.ll
llvm/test/ExecutionEngine/MCJIT/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll
llvm/test/ExecutionEngine/MCJIT/2005-12-02-TailCallBug.ll
llvm/test/ExecutionEngine/MCJIT/2007-12-10-APIntLoadStore.ll
llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll
llvm/test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll
llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll
llvm/test/ExecutionEngine/MCJIT/cross-module-a.ll
llvm/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
llvm/test/ExecutionEngine/MCJIT/eh-lg-pic.ll
llvm/test/ExecutionEngine/MCJIT/eh-sm-pic.ll
llvm/test/ExecutionEngine/MCJIT/eh.ll
llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll
llvm/test/ExecutionEngine/MCJIT/hello-sm-pic.ll
llvm/test/ExecutionEngine/MCJIT/hello.ll
llvm/test/ExecutionEngine/MCJIT/hello2.ll
llvm/test/ExecutionEngine/MCJIT/load-object-a.ll
llvm/test/ExecutionEngine/MCJIT/multi-module-a.ll
llvm/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll
llvm/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
llvm/test/ExecutionEngine/MCJIT/non-extern-addend-smallcodemodel.ll
llvm/test/ExecutionEngine/MCJIT/non-extern-addend.ll
llvm/test/ExecutionEngine/MCJIT/pr13727.ll
llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll
llvm/test/ExecutionEngine/MCJIT/remote/cross-module-sm-pic-a.ll
llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll
llvm/test/ExecutionEngine/MCJIT/remote/multi-module-sm-pic-a.ll
llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll
llvm/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll
llvm/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll
llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll
llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll
llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll
llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll
llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-sm-pic.ll
llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll
llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll
llvm/test/ExecutionEngine/MCJIT/simplesttest.ll
llvm/test/ExecutionEngine/MCJIT/simpletest.ll
llvm/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll
llvm/test/ExecutionEngine/MCJIT/stubs.ll
llvm/test/ExecutionEngine/MCJIT/test-arith.ll
llvm/test/ExecutionEngine/MCJIT/test-branch.ll
llvm/test/ExecutionEngine/MCJIT/test-call-no-external-funcs.ll
llvm/test/ExecutionEngine/MCJIT/test-call.ll
llvm/test/ExecutionEngine/MCJIT/test-cast.ll
llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll
llvm/test/ExecutionEngine/MCJIT/test-common-symbols.ll
llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll
llvm/test/ExecutionEngine/MCJIT/test-data-align.ll
llvm/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs.ll
llvm/test/ExecutionEngine/MCJIT/test-fp.ll
llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll
llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll
llvm/test/ExecutionEngine/MCJIT/test-global.ll
llvm/test/ExecutionEngine/MCJIT/test-loadstore.ll
llvm/test/ExecutionEngine/MCJIT/test-local.ll
llvm/test/ExecutionEngine/MCJIT/test-logical.ll
llvm/test/ExecutionEngine/MCJIT/test-loop.ll
llvm/test/ExecutionEngine/MCJIT/test-phi.ll
llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc.ll
llvm/test/ExecutionEngine/MCJIT/test-ret.ll
llvm/test/ExecutionEngine/MCJIT/test-return.ll
llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll
llvm/test/ExecutionEngine/MCJIT/test-setcond-int.ll
llvm/test/ExecutionEngine/MCJIT/test-shift.ll
llvm/test/ExecutionEngine/hello.ll
llvm/test/ExecutionEngine/hello2.ll
llvm/test/ExecutionEngine/mov64zext32.ll
llvm/test/ExecutionEngine/simpletest.ll
llvm/test/ExecutionEngine/stubs.ll
llvm/test/ExecutionEngine/test-call-no-external-funcs.ll
llvm/test/ExecutionEngine/test-call.ll
llvm/test/ExecutionEngine/test-common-symbols.ll
llvm/test/ExecutionEngine/test-fp-no-external-funcs.ll
llvm/test/ExecutionEngine/test-fp.ll
llvm/test/ExecutionEngine/test-global-init-nonzero.ll
llvm/test/ExecutionEngine/test-global.ll
llvm/test/ExecutionEngine/test-loadstore.ll
llvm/test/ExecutionEngine/test-local.ll
llvm/test/lit.cfg
llvm/tools/lli/CMakeLists.txt
llvm/tools/lli/LLVMBuild.txt
llvm/tools/lli/Makefile
llvm/tools/lli/lli.cpp
llvm/tools/llvm-jitlistener/LLVMBuild.txt
llvm/tools/llvm-jitlistener/llvm-jitlistener.cpp
llvm/tools/llvm-rtdyld/LLVMBuild.txt
llvm/tools/llvm-rtdyld/Makefile
llvm/unittests/ExecutionEngine/CMakeLists.txt
llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt [new file with mode: 0644]
llvm/unittests/ExecutionEngine/JIT/IntelJITEventListenerTest.cpp [new file with mode: 0644]
llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp [new file with mode: 0644]
llvm/unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h [new file with mode: 0644]
llvm/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp [new file with mode: 0644]
llvm/unittests/ExecutionEngine/JIT/JITTest.cpp [new file with mode: 0644]
llvm/unittests/ExecutionEngine/JIT/JITTests.def [new file with mode: 0644]
llvm/unittests/ExecutionEngine/JIT/Makefile [new file with mode: 0644]
llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp [new file with mode: 0644]
llvm/unittests/ExecutionEngine/JIT/OProfileJITEventListenerTest.cpp [new file with mode: 0644]
llvm/unittests/ExecutionEngine/MCJIT/CMakeLists.txt
llvm/unittests/ExecutionEngine/MCJIT/MCJITMemoryManagerTest.cpp
llvm/unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
llvm/unittests/ExecutionEngine/MCJIT/Makefile
llvm/unittests/ExecutionEngine/Makefile
llvm/utils/TableGen/CodeEmitterGen.cpp
llvm/utils/llvm-build/llvmbuild/main.py