Displaying 2 results from an estimated 2 matches for "value_of".
2012 Mar 23
0
[LLVMdev] Execution Engine: CodeGenOpt level
...on level (e.g.,
> None) of a JIT in other to recompile a function with a new optimization
> level (e.g., Default)?
We set the optimization level with a PassManagerBuilder, which is initialized for each function compilation:
PassManagerBuilder PMBuilder;
...
PMBuilder.OptLevel = conf.value_of(CF_OPTLEVEL);
PMBuilder.SizeLevel = conf.is_set(CF_OPTSIZE) ? 1 : 0;
PMBuilder.DisableUnitAtATime = !conf.is_set(CF_OPTUNIT);
PMBuilder.DisableUnrollLoops = !conf.is_set(CF_UNROLL);
PMBuilder.DisableSimplifyLibCalls = !conf.is_set(CF_SIMPLIB);
if (Opt != CodeGenOpt::None) {...
2012 Mar 22
4
[LLVMdev] Execution Engine: CodeGenOpt level
Hi,
How can I dynamically change the code generation optimization level (e.g.,
None) of a JIT in other to recompile a function with a new optimization
level (e.g., Default)?
Thank you.
Best regards,
Nurudeen.