search for: lift_func

Displaying 2 results from an estimated 2 matches for "lift_func".

2018 Aug 20
2
Function optimization pass
...ne suggested me that it should be submitted to llvm-dev mailing list instead. I'm sorry for the duplication. I am trying to use PassBulider and FunctionPassManager || to optimize a function in a module, what I have done is: mod = ...load module from LLVM IR bitcode file go_back.bc... auto lift_func = mod->getFunction("go_back"); if (not lift_func) {     llvm::errs() << "Error: cannot get function\n";     return 0; } auto pass_builder = llvm::PassBuilder{}; auto fa_manager = llvm::FunctionAnalysisManager{}; pass_builder.registerFunctionAnalyses(fa_manager); aut...
2018 Aug 21
2
Function optimization pass
...list instead. I'm sorry for the duplication. >> >> I am trying to use PassBulider and FunctionPassManager to optimize a >> function in a module, what I have done is: >> >> >> mod = ...load module from LLVM IR bitcode file go_back.bc... >> >> auto lift_func = mod->getFunction("go_back"); >> if (not lift_func) { >> llvm::errs() << "Error: cannot get function\n"; >> return 0; >> } >> >> auto pass_builder = llvm::PassBuilder{}; >> auto fa_manager = llvm::FunctionAnalysisManage...