[PATCH] D91388: [TableGen] Add frontend/backend phase timing capability
Paul C. Anagnostopoulos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 12 13:35:46 PST 2020
Paul-C-Anagnostopoulos created this revision.
Paul-C-Anagnostopoulos added reviewers: lattner, nhaehnle, madhur13490.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
Paul-C-Anagnostopoulos requested review of this revision.
This patch adds a timing capability that shows the clock times and percentages for phases of the TableGen frontend and appropriately instrumented backends. It is requested with the --time-phases option.
I instrumented about five backends and will continue to instrument more of them over time.
I removed an old timing feature that was only used by one backend.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D91388
Files:
llvm/docs/TableGen/BackGuide.rst
llvm/include/llvm/TableGen/Record.h
llvm/lib/TableGen/Main.cpp
llvm/lib/TableGen/Record.cpp
llvm/utils/TableGen/CallingConvEmitter.cpp
llvm/utils/TableGen/CodeGenTarget.cpp
llvm/utils/TableGen/DAGISelEmitter.cpp
llvm/utils/TableGen/GICombinerEmitter.cpp
llvm/utils/TableGen/PseudoLoweringEmitter.cpp
llvm/utils/TableGen/RegisterBankEmitter.cpp
llvm/utils/TableGen/RegisterInfoEmitter.cpp
llvm/utils/TableGen/TableGen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91388.304958.patch
Type: text/x-patch
Size: 18498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201112/d81dcd09/attachment.bin>
More information about the llvm-commits
mailing list