llvm-mirror/tools/llvm-mca/Views
Fangrui Song 00f5c66666 [MC] Add parameter Address to MCInstPrinter::printInst
printInst prints a branch/call instruction as `b offset` (there are many
variants on various targets) instead of `b address`.

It is a convention to use address instead of offset in most external
symbolizers/disassemblers. This difference makes `llvm-objdump -d`
output unsatisfactory.

Add `uint64_t Address` to printInst(), so that it can pass the argument to
printInstruction(). `raw_ostream &OS` is moved to the last to be
consistent with other print* methods.

The next step is to pass `Address` to printInstruction() (generated by
tablegen from the instruction set description). We can gradually migrate
targets to print addresses instead of offsets.

In any case, downstream projects which don't know `Address` can pass 0 as
the argument.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D72172
2020-01-06 20:42:22 -08:00
..
BottleneckAnalysis.cpp [MC] Add parameter Address to MCInstPrinter::printInst 2020-01-06 20:42:22 -08:00
BottleneckAnalysis.h [MCA] Improved cost computation for loop carried dependencies in the bottleneck analysis. 2019-09-19 16:05:11 +00:00
DispatchStatistics.cpp [Tools] Fixes -Wrange-loop-analysis warnings 2019-12-22 19:11:17 +01:00
DispatchStatistics.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
InstructionInfoView.cpp [MC] Add parameter Address to MCInstPrinter::printInst 2020-01-06 20:42:22 -08:00
InstructionInfoView.h [MCA] Add flag -show-encoding to llvm-mca. 2019-08-09 11:26:27 +00:00
RegisterFileStatistics.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RegisterFileStatistics.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ResourcePressureView.cpp [MC] Add parameter Address to MCInstPrinter::printInst 2020-01-06 20:42:22 -08:00
ResourcePressureView.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RetireControlUnitStatistics.cpp [Tools] Fixes -Wrange-loop-analysis warnings 2019-12-22 19:11:17 +01:00
RetireControlUnitStatistics.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SchedulerStatistics.cpp [Tools] Fixes -Wrange-loop-analysis warnings 2019-12-22 19:11:17 +01:00
SchedulerStatistics.h [llvm-mca][scheduler-stats] Print issued micro opcodes per cycle. NFCI 2019-04-08 16:05:54 +00:00
SummaryView.cpp [Tools] Fixes -Wrange-loop-analysis warnings 2019-12-22 19:11:17 +01:00
SummaryView.h [MCA] Moved the bottleneck analysis to its own file. NFCI 2019-04-17 06:02:05 +00:00
TimelineView.cpp [MC] Add parameter Address to MCInstPrinter::printInst 2020-01-06 20:42:22 -08:00
TimelineView.h [MCA] Show aggregate over Average Wait times for the whole snippet (PR43219) 2019-10-10 14:46:21 +00:00
View.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
View.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00