Lines Matching defs:PassTiming
162 struct PassTiming : public PassInstrumentation { struct
163 PassTiming(std::unique_ptr<PassManager::PassTimingConfig> config) in PassTiming() function
165 ~PassTiming() override { print(); } in ~PassTiming()
172 void runBeforePass(Pass *pass, Operation *) override { startPassTimer(pass); } in runBeforePass()
174 void runAfterPassFailed(Pass *pass, Operation *op) override { in runAfterPassFailed()
177 void runBeforeAnalysis(StringRef name, TypeID id, Operation *) override { in runBeforeAnalysis()
192 Timer *popLastActiveTimer() { in popLastActiveTimer()
207 Timer *getTimer(const void *id, TimerKind kind, in getTimer()
230 DenseMap<uint64_t, std::unique_ptr<Timer>> rootTimers;
233 DenseMap<uint64_t, SmallVector<Timer *, 4>> activeThreadTimers;
236 std::unique_ptr<PassManager::PassTimingConfig> config;
241 pipelinesToMerge;