LLVM API Documentation
Inheritance diagram for Chooser:

Public Member Functions | |
| virtual void | ProcessChoicePoint (BasicBlock *)=0 |
| virtual void | PrepFunction (Function *)=0 |
| virtual | ~Chooser () |
Definition at line 94 of file RSProfiling.cpp.
|
|
Definition at line 102 of file RSProfiling.cpp. |
|
|
PrepFunction - is called once per function before other work is done. This gives the opertunity to insert new allocas and such. Implemented in GlobalRandomCounter, GlobalRandomCounterOpt, and CycleCounter. Referenced by ProfilerRS::runOnFunction(). |
|
|
ProcessChoicePoint - is called for each basic block inserted to choose between normal and sample code Implemented in GlobalRandomCounter, GlobalRandomCounterOpt, and CycleCounter. Referenced by ProfilerRS::runOnFunction(). |