Displaying 4 results from an estimated 4 matches for "dumppassinfo".
2009 Jul 26
0
[LLVMdev] Pass Scheduling Information without using opt
On Sun, Jul 26, 2009 at 1:48 PM, Ralf Karrenberg<Chareos at gmx.de> wrote:
> Hey Daniel,
>
> thanks for the response.
>
>> I believe all you need to do is call llvm::llvm_shutdown().
>>
> I am not sure that this is what I need. When and how should I call
> llvm_shutdown()?
At the end of the program, this just arranges for LLVM's "managed
statics"
2016 Apr 09
0
Verifier in loop pass manager
...PassManagerPrettyStackEntry X(P, *CurrentLoop->getHeader());
> TimeRegion PassTimer(getPassTimer(P));
>
> Changed |= P->runOnLoop(CurrentLoop, *this);
> }
> LoopWasDeleted = CurrentLoop->isInvalid();
>
> if (Changed)
> dumpPassInfo(P, MODIFICATION_MSG, ON_LOOP_MSG,
> LoopWasDeleted ? "<deleted>"
> : CurrentLoop->getHeader()->getName());
> dumpPreservedSet(P);
>
> if (LoopWasDeleted) {
> // Notify passes that th...
2009 Jul 27
2
[LLVMdev] Pass Scheduling Information without using opt
...lity to implement tracking and printing of my own statistics.
What I want should be located somewhere in the PassManagers, but I do
not find anything helpful. DbgInfoPass only prints out the cfg, same for
CFGPrinterPass (which I can do better by using viewCFG() anyways).
I also found PMDataManager::dumpPassInfo(), but could not get any
information out of it - however, I am also not sure how to use it
correctly and I guess it will probably also not provide statistics about
the PassManager run as a whole.
Here is some example code that describes what I am doing:
MyPass : ModulePass {
bool runOnModule(mod...
2009 Jul 26
2
[LLVMdev] Pass Scheduling Information without using opt
Hey Daniel,
thanks for the response.
> I believe all you need to do is call llvm::llvm_shutdown().
>
I am not sure that this is what I need. When and how should I call
llvm_shutdown()?
After the FunctionPassManager is done, the calling ModulePass still
performs quite a few actions on the transformed code and also calls the
FunctionPassManager on different functions. However, I need