Displaying 2 results from an estimated 2 matches for "cf_unrol".
Did you mean:
cf_unroll
2012 Mar 23
0
[LLVMdev] Execution Engine: CodeGenOpt level
...tialized 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) {
PMBuilder.Inliner = createFunctionInliningPass(Opt == CodeGenOpt::Aggressive ? 250 : 200);
}
pFPasses = new FunctionPassManager(pMod);
pFPasses->add(new TargetData(*TD));...
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.