search for: getpasstim

Displaying 5 results from an estimated 5 matches for "getpasstim".

Did you mean: getpasstimer
2016 Apr 09
0
Verifier in loop pass manager
...s happens because, when we fully > unroll a loop, we remove it from the LPM loop queue along with all > analyses related to it. Here is the code responsible for it: > > { > 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>&qu...
2011 Jun 01
2
[LLVMdev] How best to time passes using the API instead of opt? Also, memory leaks when trying to do timing in the API.
...ther than through an llvm tool. Unfortunately, I'm having trouble seeing how to use the existing facilities without using opt. Setting llvm::TimePassesIsEnabled before creating the PassManagers doesn't seem to output anything, though it is making Timers and TimerGroups. Even if I call llvm::getPassTimer for one of the passes (and I do get a timer that is initialized), I can't figure out to get to its TimerGroup (TG is private, but if I use a debugger, I can get it and call printAll successfully). Looking through the code, TimerGroup's removeTimer (also called in it's destructor) appe...
2011 Jun 01
2
[LLVMdev] How best to time passes using the API instead of opt? Also, memory leaks when trying to do timing in the API.
...rtunately, I'm having >> trouble seeing how to use the existing facilities without using opt. >> Setting llvm::TimePassesIsEnabled before creating the PassManagers >> doesn't seem to output anything, though it is making Timers and >> TimerGroups. Even if I call llvm::getPassTimer for one of the passes >> (and I do get a timer that is initialized), I can't figure out to get >> to its TimerGroup (TG is private, but if I use a debugger, I can get >> it and call printAll successfully). Looking through the code, >> TimerGroup's removeTimer (also...
2011 Jun 01
0
[LLVMdev] How best to time passes using the API instead of opt? Also, memory leaks when trying to do timing in the API.
...llvm tool. Unfortunately, I'm having > trouble seeing how to use the existing facilities without using opt. > Setting llvm::TimePassesIsEnabled before creating the PassManagers > doesn't seem to output anything, though it is making Timers and > TimerGroups. Even if I call llvm::getPassTimer for one of the passes > (and I do get a timer that is initialized), I can't figure out to get > to its TimerGroup (TG is private, but if I use a debugger, I can get > it and call printAll successfully). Looking through the code, > TimerGroup's removeTimer (also called in it...
2011 Jun 01
0
[LLVMdev] How best to time passes using the API instead of opt? Also, memory leaks when trying to do timing in the API.
...;m having >>> trouble seeing how to use the existing facilities without using opt. >>> Setting llvm::TimePassesIsEnabled before creating the PassManagers >>> doesn't seem to output anything, though it is making Timers and >>> TimerGroups. Even if I call llvm::getPassTimer for one of the passes >>> (and I do get a timer that is initialized), I can't figure out to get >>> to its TimerGroup (TG is private, but if I use a debugger, I can get >>> it and call printAll successfully). Looking through the code, >>> TimerGroup's r...