search for: instruction_paramet

Displaying 1 result from an estimated 1 matches for "instruction_paramet".

2013 Apr 24
1
[LLVMdev] JIT pass runtime struct on to subroutines
...the machine-struct as a first parameter to every instruction-function call. // This should be the same pointer that is passed at runtime to the predicate-function (llvm_function) llvm_arg++ = ??; // pseudo: for any additional parameters of the machine instruction foreach (param in instruction_parameters) { // add any additional parameters of the machine instruction to the function call llvm_arg++ = param; } // add the call to the function we're creating llvm_builder.CreateCall(machine_instr, llvm_arg); } // finish the function by adding return llvm_builder.Crea...