search for: passbulider

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

Did you mean: passbuilder
2018 Aug 20
2
Function optimization pass
This question has been submitted to stackoverflow (https://stackoverflow.com/questions/51934964/function-optimization-pass) but someone 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";...
2018 Aug 21
2
Function optimization pass
...on has been submitted to stackoverflow ( >> https://stackoverflow.com/questions/51934964/function-optimization-pass) >> but someone 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) { >> l...