search for: mypassoption

Displaying 1 result from an estimated 1 matches for "mypassoption".

2008 Feb 27
2
[LLVMdev] Passing parameters to LLVM optimisation passes
...and am writing an optimisation pass to be run by 'opt'. However, i'd like this pass to be parameterisable; as such i'd like to be able to pass an option to it (preferably via the command line to 'opt'). e.g. so i can do something like this "opt -load mypass.so -MyPass=MyPassOption < inputfile.bc ..." (for example one thing I would like to do is pass a list of function names to optimise, the pass would then optimise these (and their children) and ignore everything else) I've had a trawl through the documentation but can't seem to see a way of doing this with...