search for: tmp_add

Displaying 2 results from an estimated 2 matches for "tmp_add".

2014 Sep 11
2
[LLVMdev] Fail to load a pointer to a function inside MCJIT-ed code when it is reload from ObjectCache
...r(%struct.ExprState* %expr, %struct.ExprContext* %econtext, i8* %isNull, i32* %isDone) { entry: %lhs = call i64 @IrExprGetValue1(%struct.ExprState* inttoptr (i64 140715076067816 to %struct.ExprState*), %struct.ExprContext* %econtext, i8* %isNull, i32* %isDone) %rhs = call i64 @JittedIntLit() %tmp_add = add i64 %lhs, %rhs ret i64 %tmp_add } and /samba/data/gDB2/src/ptcompiler/compiler/llvm_ir/GaussDB.ir contains extern "C" Datum IrExprGetValue(ExprState* expr, ExprContext *econtext, bool *isNull, ExprDoneCond *isDone) { return expr->evalfunc(expr, econtext, isNull, isDone); }...
2014 Sep 11
2
[LLVMdev] Fail to load a pointer to a function inside MCJIT-ed code when it is reload from ObjectCache
Hi, All I have a problem to reuse mcjit jitted code loaded from ObjectCache from a file. In the first run, I use MCJIT generate function JittedOpExpr object code as following and it runs OK. 0x7fe4801fa1f8 at instruction 0x00007fe4cc6c2014 points to 0x69382E which is the beginning of ExecEvalVar function. Then I save the object code into a file after implementing notifyObjectCompiled method.