Home
last modified time | relevance | path

Searched refs:GVArgs (Results 1 – 2 of 2) sorted by relevance

/external/llvm/bindings/ocaml/executionengine/
Dexecutionengine_ocaml.c241 LLVMGenericValueRef Result, *GVArgs; in llvm_ee_run_function() local
245 GVArgs = (LLVMGenericValueRef*) malloc(NumArgs * sizeof(LLVMGenericValueRef)); in llvm_ee_run_function()
247 GVArgs[I] = Genericvalue_val(Field(Args, I)); in llvm_ee_run_function()
249 Result = LLVMRunFunction(EE, F, NumArgs, GVArgs); in llvm_ee_run_function()
251 free(GVArgs); in llvm_ee_run_function()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp357 std::vector<GenericValue> GVArgs; in runFunctionAsMain() local
382 GVArgs.push_back(GVArgc); // Arg #0 = argc. in runFunctionAsMain()
385 GVArgs.push_back(PTOGV(CArgv.reset(Fn->getContext(), this, argv))); in runFunctionAsMain()
386 assert(!isTargetNullPtr(this, GVTOP(GVArgs[1])) && in runFunctionAsMain()
393 GVArgs.push_back(PTOGV(CEnv.reset(Fn->getContext(), this, EnvVars))); in runFunctionAsMain()
398 return runFunction(Fn, GVArgs).IntVal.getZExtValue(); in runFunctionAsMain()