LLVM 23.0.0git
PassTimingInfo.h File Reference

This header defines classes/functions to handle pass execution timing information with interfaces for both pass managers. More...

#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Timer.h"
#include <memory>
#include <utility>

Go to the source code of this file.

Classes

class  llvm::TimePassesHandler
 This class implements -time-passes functionality for new pass manager. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

LLVM_ABI void llvm::reportAndResetTimings (raw_ostream *OutStream=nullptr)
 If -time-passes has been specified, report the timings immediately and then reset the timers to zero.
LLVM_ABI Timerllvm::getPassTimer (Pass *)
 Request the timer for this legacy-pass-manager's pass instance.

Variables

LLVM_ABI bool llvm::TimePassesIsEnabled = false
 If the user specifies the -time-passes argument on an LLVM tool command line then the value of this boolean will be true, otherwise false.
LLVM_ABI bool llvm::TimePassesPerRun = false
 If TimePassesPerRun is true, there would be one line of report for each pass invocation.

Detailed Description

This header defines classes/functions to handle pass execution timing information with interfaces for both pass managers.

Definition in file PassTimingInfo.h.