1 //===- ExecutionEngine.h - Abstract Execution Engine Interface --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the abstract interface that implements execution support
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_EXECUTIONENGINE_EXECUTIONENGINE_H
16 #define LLVM_EXECUTIONENGINE_EXECUTIONENGINE_H
18 #include "llvm-c/ExecutionEngine.h"
19 #include "llvm/ADT/SmallVector.h"
20 #include "llvm/ADT/StringRef.h"
21 #include "llvm/ADT/ValueMap.h"
22 #include "llvm/MC/MCCodeGenInfo.h"
23 #include "llvm/Support/ErrorHandling.h"
24 #include "llvm/Support/Mutex.h"
25 #include "llvm/Support/ValueHandle.h"
26 #include "llvm/Target/TargetMachine.h"
27 #include "llvm/Target/TargetOptions.h"
37 class ExecutionEngine;
41 class JITEventListener;
42 class JITMemoryManager;
43 class MachineCodeInfo;
47 class RTDyldMemoryManager;
56 /// \brief Helper class for helping synchronize access to the global address map
58 class ExecutionEngineState {
60 struct AddressMapConfig : public ValueMapConfig<const GlobalValue*> {
61 typedef ExecutionEngineState *ExtraData;
62 static sys::Mutex *getMutex(ExecutionEngineState *EES);
63 static void onDelete(ExecutionEngineState *EES, const GlobalValue *Old);
64 static void onRAUW(ExecutionEngineState *, const GlobalValue *,
68 typedef ValueMap<const GlobalValue *, void *, AddressMapConfig>
74 /// GlobalAddressMap - A mapping between LLVM global values and their
75 /// actualized version...
76 GlobalAddressMapTy GlobalAddressMap;
78 /// GlobalAddressReverseMap - This is the reverse mapping of GlobalAddressMap,
79 /// used to convert raw addresses into the LLVM global value that is emitted
80 /// at the address. This map is not computed unless getGlobalValueAtAddress
81 /// is called at some point.
82 std::map<void *, AssertingVH<const GlobalValue> > GlobalAddressReverseMap;
85 ExecutionEngineState(ExecutionEngine &EE);
87 GlobalAddressMapTy &getGlobalAddressMap(const MutexGuard &) {
88 return GlobalAddressMap;
91 std::map<void*, AssertingVH<const GlobalValue> > &
92 getGlobalAddressReverseMap(const MutexGuard &) {
93 return GlobalAddressReverseMap;
96 /// \brief Erase an entry from the mapping table.
98 /// \returns The address that \p ToUnmap was happed to.
99 void *RemoveMapping(const MutexGuard &, const GlobalValue *ToUnmap);
102 /// \brief Abstract interface for implementation execution of LLVM modules,
103 /// designed to support both interpreter and just-in-time (JIT) compiler
105 class ExecutionEngine {
106 /// The state object holding the global address mapping, which must be
107 /// accessed synchronously.
109 // FIXME: There is no particular need the entire map needs to be
110 // synchronized. Wouldn't a reader-writer design be better here?
111 ExecutionEngineState EEState;
113 /// The target data for the platform for which execution is being performed.
114 const DataLayout *TD;
116 /// Whether lazy JIT compilation is enabled.
117 bool CompilingLazily;
119 /// Whether JIT compilation of external global variables is allowed.
120 bool GVCompilationDisabled;
122 /// Whether the JIT should perform lookups of external symbols (e.g.,
124 bool SymbolSearchingDisabled;
126 friend class EngineBuilder; // To allow access to JITCtor and InterpCtor.
129 /// The list of Modules that we are JIT'ing from. We use a SmallVector to
130 /// optimize for the case where there is only one module.
131 SmallVector<Module*, 1> Modules;
133 void setDataLayout(const DataLayout *td) { TD = td; }
135 /// getMemoryforGV - Allocate memory for a global variable.
136 virtual char *getMemoryForGV(const GlobalVariable *GV);
138 // To avoid having libexecutionengine depend on the JIT and interpreter
139 // libraries, the execution engine implementations set these functions to ctor
140 // pointers at startup time if they are linked in.
141 static ExecutionEngine *(*JITCtor)(
143 std::string *ErrorStr,
144 JITMemoryManager *JMM,
147 static ExecutionEngine *(*MCJITCtor)(
149 std::string *ErrorStr,
150 RTDyldMemoryManager *MCJMM,
153 static ExecutionEngine *(*InterpCtor)(Module *M, std::string *ErrorStr);
155 /// LazyFunctionCreator - If an unknown function is needed, this function
156 /// pointer is invoked to create it. If this returns null, the JIT will
158 void *(*LazyFunctionCreator)(const std::string &);
161 /// lock - This lock protects the ExecutionEngine, MCJIT, JIT, JITResolver and
162 /// JITEmitter classes. It must be held while changing the internal state of
163 /// any of those classes.
166 //===--------------------------------------------------------------------===//
167 // ExecutionEngine Startup
168 //===--------------------------------------------------------------------===//
170 virtual ~ExecutionEngine();
172 /// create - This is the factory method for creating an execution engine which
173 /// is appropriate for the current machine. This takes ownership of the
176 /// \param GVsWithCode - Allocating globals with code breaks
177 /// freeMachineCodeForFunction and is probably unsafe and bad for performance.
178 /// However, we have clients who depend on this behavior, so we must support
179 /// it. Eventually, when we're willing to break some backwards compatibility,
180 /// this flag should be flipped to false, so that by default
181 /// freeMachineCodeForFunction works.
182 static ExecutionEngine *create(Module *M,
183 bool ForceInterpreter = false,
184 std::string *ErrorStr = 0,
185 CodeGenOpt::Level OptLevel =
187 bool GVsWithCode = true);
189 /// createJIT - This is the factory method for creating a JIT for the current
190 /// machine, it does not fall back to the interpreter. This takes ownership
191 /// of the Module and JITMemoryManager if successful.
193 /// Clients should make sure to initialize targets prior to calling this
195 static ExecutionEngine *createJIT(Module *M,
196 std::string *ErrorStr = 0,
197 JITMemoryManager *JMM = 0,
198 CodeGenOpt::Level OptLevel =
200 bool GVsWithCode = true,
201 Reloc::Model RM = Reloc::Default,
202 CodeModel::Model CMM =
203 CodeModel::JITDefault);
205 /// addModule - Add a Module to the list of modules that we can JIT from.
206 /// Note that this takes ownership of the Module: when the ExecutionEngine is
207 /// destroyed, it destroys the Module as well.
208 virtual void addModule(Module *M) {
209 Modules.push_back(M);
212 /// addObjectFile - Add an ObjectFile to the execution engine.
214 /// This method is only supported by MCJIT. MCJIT will immediately load the
215 /// object into memory and adds its symbols to the list used to resolve
216 /// external symbols while preparing other objects for execution.
218 /// Objects added using this function will not be made executable until
219 /// needed by another object.
221 /// MCJIT will take ownership of the ObjectFile.
222 virtual void addObjectFile(object::ObjectFile *O) {
224 "ExecutionEngine subclass doesn't implement addObjectFile.");
227 /// addArchive - Add an Archive to the execution engine.
229 /// This method is only supported by MCJIT. MCJIT will use the archive to
230 /// resolve external symbols in objects it is loading. If a symbol is found
231 /// in the Archive the contained object file will be extracted (in memory)
232 /// and loaded for possible execution.
234 /// MCJIT will take ownership of the Archive.
235 virtual void addArchive(object::Archive *A) {
236 llvm_unreachable("ExecutionEngine subclass doesn't implement addArchive.");
239 //===--------------------------------------------------------------------===//
241 const DataLayout *getDataLayout() const { return TD; }
243 /// removeModule - Remove a Module from the list of modules. Returns true if
245 virtual bool removeModule(Module *M);
247 /// FindFunctionNamed - Search all of the active modules to find the one that
248 /// defines FnName. This is very slow operation and shouldn't be used for
250 virtual Function *FindFunctionNamed(const char *FnName);
252 /// runFunction - Execute the specified function with the specified arguments,
253 /// and return the result.
254 virtual GenericValue runFunction(Function *F,
255 const std::vector<GenericValue> &ArgValues) = 0;
257 /// getPointerToNamedFunction - This method returns the address of the
258 /// specified function by using the dlsym function call. As such it is only
259 /// useful for resolving library symbols, not code generated symbols.
261 /// If AbortOnFailure is false and no function with the given name is
262 /// found, this function silently returns a null pointer. Otherwise,
263 /// it prints a message to stderr and aborts.
265 /// This function is deprecated for the MCJIT execution engine.
267 /// FIXME: the JIT and MCJIT interfaces should be disentangled or united
268 /// again, if possible.
270 virtual void *getPointerToNamedFunction(const std::string &Name,
271 bool AbortOnFailure = true) = 0;
273 /// mapSectionAddress - map a section to its target address space value.
274 /// Map the address of a JIT section as returned from the memory manager
275 /// to the address in the target process as the running code will see it.
276 /// This is the address which will be used for relocation resolution.
277 virtual void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress) {
278 llvm_unreachable("Re-mapping of section addresses not supported with this "
282 /// generateCodeForModule - Run code generationen for the specified module and
283 /// load it into memory.
285 /// When this function has completed, all code and data for the specified
286 /// module, and any module on which this module depends, will be generated
287 /// and loaded into memory, but relocations will not yet have been applied
288 /// and all memory will be readable and writable but not executable.
290 /// This function is primarily useful when generating code for an external
291 /// target, allowing the client an opportunity to remap section addresses
292 /// before relocations are applied. Clients that intend to execute code
293 /// locally can use the getFunctionAddress call, which will generate code
294 /// and apply final preparations all in one step.
296 /// This method has no effect for the legacy JIT engine or the interpeter.
297 virtual void generateCodeForModule(Module *M) {}
299 /// finalizeObject - ensure the module is fully processed and is usable.
301 /// It is the user-level function for completing the process of making the
302 /// object usable for execution. It should be called after sections within an
303 /// object have been relocated using mapSectionAddress. When this method is
304 /// called the MCJIT execution engine will reapply relocations for a loaded
305 /// object. This method has no effect for the legacy JIT engine or the
307 virtual void finalizeObject() {}
309 /// runStaticConstructorsDestructors - This method is used to execute all of
310 /// the static constructors or destructors for a program.
312 /// \param isDtors - Run the destructors instead of constructors.
313 virtual void runStaticConstructorsDestructors(bool isDtors);
315 /// runStaticConstructorsDestructors - This method is used to execute all of
316 /// the static constructors or destructors for a particular module.
318 /// \param isDtors - Run the destructors instead of constructors.
319 void runStaticConstructorsDestructors(Module *module, bool isDtors);
322 /// runFunctionAsMain - This is a helper function which wraps runFunction to
323 /// handle the common task of starting up main with the specified argc, argv,
324 /// and envp parameters.
325 int runFunctionAsMain(Function *Fn, const std::vector<std::string> &argv,
326 const char * const * envp);
329 /// addGlobalMapping - Tell the execution engine that the specified global is
330 /// at the specified location. This is used internally as functions are JIT'd
331 /// and as global variables are laid out in memory. It can and should also be
332 /// used by clients of the EE that want to have an LLVM global overlay
333 /// existing data in memory. Mappings are automatically removed when their
334 /// GlobalValue is destroyed.
335 void addGlobalMapping(const GlobalValue *GV, void *Addr);
337 /// clearAllGlobalMappings - Clear all global mappings and start over again,
338 /// for use in dynamic compilation scenarios to move globals.
339 void clearAllGlobalMappings();
341 /// clearGlobalMappingsFromModule - Clear all global mappings that came from a
342 /// particular module, because it has been removed from the JIT.
343 void clearGlobalMappingsFromModule(Module *M);
345 /// updateGlobalMapping - Replace an existing mapping for GV with a new
346 /// address. This updates both maps as required. If "Addr" is null, the
347 /// entry for the global is removed from the mappings. This returns the old
348 /// value of the pointer, or null if it was not in the map.
349 void *updateGlobalMapping(const GlobalValue *GV, void *Addr);
351 /// getPointerToGlobalIfAvailable - This returns the address of the specified
352 /// global value if it is has already been codegen'd, otherwise it returns
355 /// This function is deprecated for the MCJIT execution engine. It doesn't
356 /// seem to be needed in that case, but an equivalent can be added if it is.
357 void *getPointerToGlobalIfAvailable(const GlobalValue *GV);
359 /// getPointerToGlobal - This returns the address of the specified global
360 /// value. This may involve code generation if it's a function.
362 /// This function is deprecated for the MCJIT execution engine. Use
363 /// getGlobalValueAddress instead.
364 void *getPointerToGlobal(const GlobalValue *GV);
366 /// getPointerToFunction - The different EE's represent function bodies in
367 /// different ways. They should each implement this to say what a function
368 /// pointer should look like. When F is destroyed, the ExecutionEngine will
369 /// remove its global mapping and free any machine code. Be sure no threads
370 /// are running inside F when that happens.
372 /// This function is deprecated for the MCJIT execution engine. Use
373 /// getFunctionAddress instead.
374 virtual void *getPointerToFunction(Function *F) = 0;
376 /// getPointerToBasicBlock - The different EE's represent basic blocks in
377 /// different ways. Return the representation for a blockaddress of the
380 /// This function will not be implemented for the MCJIT execution engine.
381 virtual void *getPointerToBasicBlock(BasicBlock *BB) = 0;
383 /// getPointerToFunctionOrStub - If the specified function has been
384 /// code-gen'd, return a pointer to the function. If not, compile it, or use
385 /// a stub to implement lazy compilation if available. See
386 /// getPointerToFunction for the requirements on destroying F.
388 /// This function is deprecated for the MCJIT execution engine. Use
389 /// getFunctionAddress instead.
390 virtual void *getPointerToFunctionOrStub(Function *F) {
391 // Default implementation, just codegen the function.
392 return getPointerToFunction(F);
395 /// getGlobalValueAddress - Return the address of the specified global
396 /// value. This may involve code generation.
398 /// This function should not be called with the JIT or interpreter engines.
399 virtual uint64_t getGlobalValueAddress(const std::string &Name) {
400 // Default implementation for JIT and interpreter. MCJIT will override this.
401 // JIT and interpreter clients should use getPointerToGlobal instead.
405 /// getFunctionAddress - Return the address of the specified function.
406 /// This may involve code generation.
407 virtual uint64_t getFunctionAddress(const std::string &Name) {
408 // Default implementation for JIT and interpreter. MCJIT will override this.
409 // JIT and interpreter clients should use getPointerToFunction instead.
413 // The JIT overrides a version that actually does this.
414 virtual void runJITOnFunction(Function *, MachineCodeInfo * = 0) { }
416 /// getGlobalValueAtAddress - Return the LLVM global value object that starts
417 /// at the specified address.
419 const GlobalValue *getGlobalValueAtAddress(void *Addr);
421 /// StoreValueToMemory - Stores the data in Val of type Ty at address Ptr.
422 /// Ptr is the address of the memory at which to store Val, cast to
423 /// GenericValue *. It is not a pointer to a GenericValue containing the
424 /// address at which to store Val.
425 void StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr,
428 void InitializeMemory(const Constant *Init, void *Addr);
430 /// recompileAndRelinkFunction - This method is used to force a function which
431 /// has already been compiled to be compiled again, possibly after it has been
432 /// modified. Then the entry to the old copy is overwritten with a branch to
433 /// the new copy. If there was no old copy, this acts just like
434 /// VM::getPointerToFunction().
435 virtual void *recompileAndRelinkFunction(Function *F) = 0;
437 /// freeMachineCodeForFunction - Release memory in the ExecutionEngine
438 /// corresponding to the machine code emitted to execute this function, useful
439 /// for garbage-collecting generated code.
440 virtual void freeMachineCodeForFunction(Function *F) = 0;
442 /// getOrEmitGlobalVariable - Return the address of the specified global
443 /// variable, possibly emitting it to memory if needed. This is used by the
446 /// This function is deprecated for the MCJIT execution engine. Use
447 /// getGlobalValueAddress instead.
448 virtual void *getOrEmitGlobalVariable(const GlobalVariable *GV) {
449 return getPointerToGlobal((const GlobalValue *)GV);
452 /// Registers a listener to be called back on various events within
453 /// the JIT. See JITEventListener.h for more details. Does not
454 /// take ownership of the argument. The argument may be NULL, in
455 /// which case these functions do nothing.
456 virtual void RegisterJITEventListener(JITEventListener *) {}
457 virtual void UnregisterJITEventListener(JITEventListener *) {}
459 /// Sets the pre-compiled object cache. The ownership of the ObjectCache is
460 /// not changed. Supported by MCJIT but not JIT.
461 virtual void setObjectCache(ObjectCache *) {
462 llvm_unreachable("No support for an object cache");
465 /// Return the target machine (if available).
466 virtual TargetMachine *getTargetMachine() { return NULL; }
468 /// DisableLazyCompilation - When lazy compilation is off (the default), the
469 /// JIT will eagerly compile every function reachable from the argument to
470 /// getPointerToFunction. If lazy compilation is turned on, the JIT will only
471 /// compile the one function and emit stubs to compile the rest when they're
472 /// first called. If lazy compilation is turned off again while some lazy
473 /// stubs are still around, and one of those stubs is called, the program will
476 /// In order to safely compile lazily in a threaded program, the user must
477 /// ensure that 1) only one thread at a time can call any particular lazy
478 /// stub, and 2) any thread modifying LLVM IR must hold the JIT's lock
479 /// (ExecutionEngine::lock) or otherwise ensure that no other thread calls a
480 /// lazy stub. See http://llvm.org/PR5184 for details.
481 void DisableLazyCompilation(bool Disabled = true) {
482 CompilingLazily = !Disabled;
484 bool isCompilingLazily() const {
485 return CompilingLazily;
487 // Deprecated in favor of isCompilingLazily (to reduce double-negatives).
488 // Remove this in LLVM 2.8.
489 bool isLazyCompilationDisabled() const {
490 return !CompilingLazily;
493 /// DisableGVCompilation - If called, the JIT will abort if it's asked to
494 /// allocate space and populate a GlobalVariable that is not internal to
496 void DisableGVCompilation(bool Disabled = true) {
497 GVCompilationDisabled = Disabled;
499 bool isGVCompilationDisabled() const {
500 return GVCompilationDisabled;
503 /// DisableSymbolSearching - If called, the JIT will not try to lookup unknown
504 /// symbols with dlsym. A client can still use InstallLazyFunctionCreator to
505 /// resolve symbols in a custom way.
506 void DisableSymbolSearching(bool Disabled = true) {
507 SymbolSearchingDisabled = Disabled;
509 bool isSymbolSearchingDisabled() const {
510 return SymbolSearchingDisabled;
513 /// InstallLazyFunctionCreator - If an unknown function is needed, the
514 /// specified function pointer is invoked to create it. If it returns null,
515 /// the JIT will abort.
516 void InstallLazyFunctionCreator(void* (*P)(const std::string &)) {
517 LazyFunctionCreator = P;
521 explicit ExecutionEngine(Module *M);
525 void EmitGlobalVariable(const GlobalVariable *GV);
527 GenericValue getConstantValue(const Constant *C);
528 void LoadValueFromMemory(GenericValue &Result, GenericValue *Ptr,
532 namespace EngineKind {
533 // These are actually bitmasks that get or-ed together.
538 const static Kind Either = (Kind)(JIT | Interpreter);
541 /// EngineBuilder - Builder class for ExecutionEngines. Use this by
542 /// stack-allocating a builder, chaining the various set* methods, and
543 /// terminating it with a .create() call.
544 class EngineBuilder {
547 EngineKind::Kind WhichEngine;
548 std::string *ErrorStr;
549 CodeGenOpt::Level OptLevel;
550 RTDyldMemoryManager *MCJMM;
551 JITMemoryManager *JMM;
552 bool AllocateGVsWithCode;
553 TargetOptions Options;
554 Reloc::Model RelocModel;
555 CodeModel::Model CMModel;
558 SmallVector<std::string, 4> MAttrs;
561 /// InitEngine - Does the common initialization of default options.
563 WhichEngine = EngineKind::Either;
565 OptLevel = CodeGenOpt::Default;
568 Options = TargetOptions();
569 AllocateGVsWithCode = false;
570 RelocModel = Reloc::Default;
571 CMModel = CodeModel::JITDefault;
576 /// EngineBuilder - Constructor for EngineBuilder. If create() is called and
577 /// is successful, the created engine takes ownership of the module.
578 EngineBuilder(Module *m) : M(m) {
582 /// setEngineKind - Controls whether the user wants the interpreter, the JIT,
583 /// or whichever engine works. This option defaults to EngineKind::Either.
584 EngineBuilder &setEngineKind(EngineKind::Kind w) {
589 /// setMCJITMemoryManager - Sets the MCJIT memory manager to use. This allows
590 /// clients to customize their memory allocation policies for the MCJIT. This
591 /// is only appropriate for the MCJIT; setting this and configuring the builder
592 /// to create anything other than MCJIT will cause a runtime error. If create()
593 /// is called and is successful, the created engine takes ownership of the
594 /// memory manager. This option defaults to NULL. Using this option nullifies
595 /// the setJITMemoryManager() option.
596 EngineBuilder &setMCJITMemoryManager(RTDyldMemoryManager *mcjmm) {
602 /// setJITMemoryManager - Sets the JIT memory manager to use. This allows
603 /// clients to customize their memory allocation policies. This is only
604 /// appropriate for either JIT or MCJIT; setting this and configuring the
605 /// builder to create an interpreter will cause a runtime error. If create()
606 /// is called and is successful, the created engine takes ownership of the
607 /// memory manager. This option defaults to NULL. This option overrides
608 /// setMCJITMemoryManager() as well.
609 EngineBuilder &setJITMemoryManager(JITMemoryManager *jmm) {
615 /// setErrorStr - Set the error string to write to on error. This option
616 /// defaults to NULL.
617 EngineBuilder &setErrorStr(std::string *e) {
622 /// setOptLevel - Set the optimization level for the JIT. This option
623 /// defaults to CodeGenOpt::Default.
624 EngineBuilder &setOptLevel(CodeGenOpt::Level l) {
629 /// setTargetOptions - Set the target options that the ExecutionEngine
630 /// target is using. Defaults to TargetOptions().
631 EngineBuilder &setTargetOptions(const TargetOptions &Opts) {
636 /// setRelocationModel - Set the relocation model that the ExecutionEngine
637 /// target is using. Defaults to target specific default "Reloc::Default".
638 EngineBuilder &setRelocationModel(Reloc::Model RM) {
643 /// setCodeModel - Set the CodeModel that the ExecutionEngine target
644 /// data is using. Defaults to target specific default
645 /// "CodeModel::JITDefault".
646 EngineBuilder &setCodeModel(CodeModel::Model M) {
651 /// setAllocateGVsWithCode - Sets whether global values should be allocated
652 /// into the same buffer as code. For most applications this should be set
653 /// to false. Allocating globals with code breaks freeMachineCodeForFunction
654 /// and is probably unsafe and bad for performance. However, we have clients
655 /// who depend on this behavior, so we must support it. This option defaults
656 /// to false so that users of the new API can safely use the new memory
657 /// manager and free machine code.
658 EngineBuilder &setAllocateGVsWithCode(bool a) {
659 AllocateGVsWithCode = a;
663 /// setMArch - Override the architecture set by the Module's triple.
664 EngineBuilder &setMArch(StringRef march) {
665 MArch.assign(march.begin(), march.end());
669 /// setMCPU - Target a specific cpu type.
670 EngineBuilder &setMCPU(StringRef mcpu) {
671 MCPU.assign(mcpu.begin(), mcpu.end());
675 /// setUseMCJIT - Set whether the MC-JIT implementation should be used
677 EngineBuilder &setUseMCJIT(bool Value) {
682 /// setMAttrs - Set cpu-specific attributes.
683 template<typename StringSequence>
684 EngineBuilder &setMAttrs(const StringSequence &mattrs) {
686 MAttrs.append(mattrs.begin(), mattrs.end());
690 TargetMachine *selectTarget();
692 /// selectTarget - Pick a target either via -march or by guessing the native
693 /// arch. Add any CPU features specified via -mcpu or -mattr.
694 TargetMachine *selectTarget(const Triple &TargetTriple,
697 const SmallVectorImpl<std::string>& MAttrs);
699 ExecutionEngine *create() {
700 return create(selectTarget());
703 ExecutionEngine *create(TargetMachine *TM);
706 // Create wrappers for C Binding types (see CBindingWrapping.h).
707 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ExecutionEngine, LLVMExecutionEngineRef)
709 } // End llvm namespace