]> granicus.if.org Git - llvm/commit
Timer: Remove group-less NamedRegionTimer constructor.
authorMatthias Braun <matze@braunis.de>
Thu, 10 Nov 2016 23:36:44 +0000 (23:36 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 10 Nov 2016 23:36:44 +0000 (23:36 +0000)
commita46113773fdd10301ecbd76e7b250d586f94c92c
tree024f05ca8c136c1c7694aaf33fe084e2986c14f6
parent3f647d62d1ffc114ab52034d992f650aa2c9fec5
Timer: Remove group-less NamedRegionTimer constructor.

The NamedRegionTimer initializer without a group name puts the Timer
into the "Misc" group and is (nearly) unused. Remove it.

The only user of this constructor appears to be the HexagonGenInsert pass,
which creates a counter without group to count the complete execution
time of that pass, however since every pass gets a counter by the
PassManager anyway this should be unnecessary. Also removed the
pointless TimerGroup there.

Differential Revision: https://reviews.llvm.org/D25582

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286524 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Timer.h
lib/Support/Timer.cpp
lib/Target/Hexagon/HexagonGenInsert.cpp