search for: passf

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

Did you mean: pass
2010 Apr 10
3
[LLVMdev] The "scope" of passes
hi all, i have some thing not so sure about "scope" of llvm passes: suppose i have a function pass PassF and a BasicBlock analysis pass PassB. if i want to use the analysis result of PassB for a BasicBlock in PassF, i think i can create PassB in runOnFunction of PassF, and call runOnBasicBlock manually to get the result: PassB pb; //create a PassB //we also need consider the analysis usage of PassB p...
2010 Apr 13
2
[LLVMdev] The "scope" of passes
...On Mon, Apr 12, 2010 at 10:03 PM, John Criswell <criswell at uiuc.edu> wrote: > >> ether zhhb wrote: >> >>> hi all, >>> >>> i have some thing not so sure about "scope" of llvm passes: >>> >>> suppose i have a function pass PassF and a BasicBlock analysis pass >>> PassB. if i want to use the analysis result of PassB for a BasicBlock in >>> PassF, i think i can create PassB in runOnFunction of PassF, and call >>> runOnBasicBlock manually to get the result: >>> >>> PassB pb; //crea...