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)
commitd67fa9dc6a434c5c1ff2c08a0a006d30d174d295
tree1c6b2954b21c97a37011f6112d0907956b7ea9b9
parent21f9ce1a0d8776e4aeeae4d9b4762a58dd4d2421
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

llvm-svn: 286524
llvm/include/llvm/Support/Timer.h
llvm/lib/Support/Timer.cpp
llvm/lib/Target/Hexagon/HexagonGenInsert.cpp