OSDN Git Service

[llvm-mca][TimelineView] Force the same number of executions for every entry in the...
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Tue, 28 Aug 2018 14:27:01 +0000 (14:27 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Tue, 28 Aug 2018 14:27:01 +0000 (14:27 +0000)
commit82d654fdf4faffb5f4ef638806f662c4bc05979a
tree82773a0575c4038ea683c03772d3ebc039a8088b
parent0977b8082a9cfcd0b27a3fdcd0e36fbdbcdaf2e8
[llvm-mca][TimelineView] Force the same number of executions for every entry in the 'wait-times' table.

This patch also uses colors to highlight problematic wait-time entries.
A problematic entry is an entry with an high wait time that tends to match (or
exceed) the size of the scheduler's buffer.

Color RED is used if an instruction had to wait an average number of cycles
which is bigger than (or equal to) the size of the underlying scheduler's
buffer.
Color YELLOW is used if the time (in cycles) spend waiting for the
operands or pipeline resources is bigger than half the size of the underlying
scheduler's buffer.
Color MAGENTA is used if an instruction does not consume buffer resources
according to the scheduling model.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340825 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-mca/X86/BtVer2/clear-super-register-2.s
test/tools/llvm-mca/X86/BtVer2/pipes-fpu.s
test/tools/llvm-mca/X86/BtVer2/pr37790.s
tools/llvm-mca/Views/TimelineView.cpp
tools/llvm-mca/Views/TimelineView.h