1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/llvm-mca
Andrea Di Biagio 66df8adc20 [MCA] Add support for printing immedate values as hex. Also enable lexing of masm binary and hex literals.
This patch adds a new llvm-mca flag named -print-imm-hex.

By default, the instruction printer prints immediate operands as decimals. Flag
-print-imm-hex enables the instruction printer to print those operands in hex.

This patch also adds support for MASM binary and hex literal numbers (example
0FFh, 101b).
Added tests to verify the behavior of the new flag. Tests also verify that masm
numeric literal operands are now recognized.

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

llvm-svn: 367671
2019-08-02 10:38:25 +00:00
..
Views Revert r367649: Improve raw_ostream so that you can "write" colors using operator<< 2019-08-02 07:22:34 +00:00
CMakeLists.txt [MCA] Moved the bottleneck analysis to its own file. NFCI 2019-04-17 06:02:05 +00:00
CodeRegion.cpp [MCA] Add support for nested and overlapping region markers 2019-05-09 15:18:09 +00:00
CodeRegion.h [MCA] Add support for nested and overlapping region markers 2019-05-09 15:18:09 +00:00
CodeRegionGenerator.cpp [MCA] Add support for printing immedate values as hex. Also enable lexing of masm binary and hex literals. 2019-08-02 10:38:25 +00:00
CodeRegionGenerator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
llvm-mca.cpp [MCA] Add support for printing immedate values as hex. Also enable lexing of masm binary and hex literals. 2019-08-02 10:38:25 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PipelinePrinter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PipelinePrinter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00