Displaying 2 results from an estimated 2 matches for "llvm_create_verifier_pass".
2005 May 13
0
[LLVMdev] Scheme + LLVM JIT
...optimizations on this thing.
> // make a pass manager
> void * PM = llvm_make_pass_manager();
>
> // add 'target data' to module
> llvm_addPass(PM, make_target_data("jit-lib",M));
>
> llvm_addPass (PM, llvm_createVerifierPass());
I'd suggest using C style llvm_create_verifier_pass consistently, but your
call :)
> // add optimization passes here
> // addPass (PM, ... )
>
> llvm_run_passes(PM,M);
>
> // merge modules - not relevant here
>
> // make an execution engine from the module
> void * JE = llvm_make_jit_engine (M);
>
> // get a functi...
2005 May 12
2
[LLVMdev] Scheme + LLVM JIT
> llvm_function_new/llvm_value_set_name/llvm_executionengine_run_function,
> etc.
>
> If kept simple, standardized, and generic, I think it would be very useful
> to people (even if incomplete). This would allow others to build on it,
> and we could 'ship' it as a standard llvm library.
It looks like my interface will look vaguely like this. Functions like