Home
last modified time | relevance | path

Searched defs:PassTiming (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/mlir/lib/Pass/
DPassTiming.cpp162 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;
[all …]