Searched refs:GVArgs (Results 1 - 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/bindings/ocaml/executionengine/
H A Dexecutionengine_ocaml.c238 LLVMGenericValueRef Result, *GVArgs; local
242 GVArgs = (LLVMGenericValueRef*) malloc(NumArgs * sizeof(LLVMGenericValueRef));
244 GVArgs[I] = Genericvalue_val(Field(Args, I));
246 Result = LLVMRunFunction(EE, F, NumArgs, GVArgs);
248 free(GVArgs);
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
H A DExecutionEngine.cpp358 std::vector<GenericValue> GVArgs; local
383 GVArgs.push_back(GVArgc); // Arg #0 = argc.
386 GVArgs.push_back(PTOGV(CArgv.reset(Fn->getContext(), this, argv)));
387 assert(!isTargetNullPtr(this, GVTOP(GVArgs[1])) &&
394 GVArgs.push_back(PTOGV(CEnv.reset(Fn->getContext(), this, EnvVars)));
399 return runFunction(Fn, GVArgs).IntVal.getZExtValue();
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp426 std::vector<GenericValue> GVArgs; local
451 GVArgs.push_back(GVArgc); // Arg #0 = argc.
454 GVArgs.push_back(PTOGV(CArgv.reset(Fn->getContext(), this, argv)));
455 assert(!isTargetNullPtr(this, GVTOP(GVArgs[1])) &&
462 GVArgs.push_back(PTOGV(CEnv.reset(Fn->getContext(), this, EnvVars)));
467 return runFunction(Fn, GVArgs).IntVal.getZExtValue();

Completed in 259 milliseconds