14#ifndef LLVM_TABLEGEN_TGTIMER_H
15#define LLVM_TABLEGEN_TGTIMER_H
26 std::unique_ptr<TimerGroup> TimingGroup;
27 std::unique_ptr<Timer> LastTimer;
28 bool BackendTimer =
false;
37 std::make_unique<TimerGroup>(
"TableGen",
"TableGen Phase Timing");
StringRef - Represent a constant reference to a string, i.e.
void startPhaseTiming()
Start phase timing; called if the –time-phases option is specified.
void stopTimer()
Stop timing a phase.
void startTimer(StringRef Name)
Start timing a phase. Automatically stops any previous phase timer.
void stopPhaseTiming()
Stop phase timing and print the report.
void stopBackendTimer()
Stop timing the overall backend.
void startBackendTimer(StringRef Name)
Start timing the overall backend.
This is an optimization pass for GlobalISel generic memory operations.