Displaying 1 result from an estimated 1 matches for "llvm_execution_engin".
Did you mean:
llvm_execution_engine
2013 Apr 24
1
[LLVMdev] JIT pass runtime struct on to subroutines
...s sure I can iterate over the instruction's parameters
foreach (instruction in predicate) {
// Fetch the instruction from the already initialised execution engine. I can do this because I compiled all instruction-functions to an LLVM Module and loaded it.
llvm::Function *machine_instr = llvm_execution_engine->FindFunctionNamed(instruction_function_name);
// Prepare for setting the parameters of a call instruction
llvm::Argument *llvm_arg = machine_instr->arg_begin();
// Add a pointer to the machine-struct as a first parameter to every instruction-function call.
// This should be...