mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
63cc4f56a9
This patch adds a new set of JIT APIs to LLVM. The aim of these new APIs is to cleanly support a wider range of JIT use cases in LLVM, and encourage the development and contribution of re-usable infrastructure for LLVM JIT use-cases. These APIs are intended to live alongside the MCJIT APIs, and should not affect existing clients. Included in this patch: 1) New headers in include/llvm/ExecutionEngine/Orc that provide a set of components for building JIT infrastructure. Implementation code for these headers lives in lib/ExecutionEngine/Orc. 2) A prototype re-implementation of MCJIT (OrcMCJITReplacement) built out of the new components. 3) Minor changes to RTDyldMemoryManager needed to support the new components. These changes should not impact existing clients. 4) A new flag for lli, -use-orcmcjit, which will cause lli to use the OrcMCJITReplacement class as its underlying execution engine, rather than MCJIT itself. Tests to follow shortly. Special thanks to Michael Ilseman, Pete Cooper, David Blaikie, Eric Christopher, Justin Bogner, and Jim Grosbach for extensive feedback and discussion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226940 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
643 B
Makefile
25 lines
643 B
Makefile
##===- lib/ExecutionEngine/Makefile ------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
LEVEL = ../..
|
|
LIBRARYNAME = LLVMExecutionEngine
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
PARALLEL_DIRS = Interpreter MCJIT Orc RuntimeDyld
|
|
|
|
ifeq ($(USE_INTEL_JITEVENTS), 1)
|
|
PARALLEL_DIRS += IntelJITEvents
|
|
endif
|
|
|
|
ifeq ($(USE_OPROFILE), 1)
|
|
PARALLEL_DIRS += OProfileJIT
|
|
endif
|
|
|
|
include $(LLVM_SRC_ROOT)/Makefile.rules
|