1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/tools
Matt Davis 89fe6b1c0c [llvm-mca] Move the AssembleInput logic into its own class.
Summary:
This patch introduces a CodeRegionGenerator class which is responsible for parsing some type of input and creating a 'CodeRegions' instance for use by llvm-mca.  In the future, we will also have a CodeRegionGenerator subclass for converting an input object file into CodeRegions.  For now, we only have the subclass for converting input assembly into CodeRegions.

This is mostly a NFC patch, as the logic remains close to the original, but now encapsulated in its own class and moved outside of llvm-mca.cpp.

Reviewers: andreadb, courbet, RKSimon

Reviewed By: andreadb

Subscribers: mgorny, tschuett, gbedwell, llvm-commits

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

llvm-svn: 346344
2018-11-07 19:20:04 +00:00
..
bugpoint [TI removal] Make getTerminator() return a generic Instruction. 2018-10-15 10:42:50 +00:00
bugpoint-passes
dsymutil [DWARF] Revert r345546: Refactor range list extraction and dumping 2018-10-31 01:12:58 +00:00
gold [gold-plugin] Fix a bunch of build warnings 2018-11-01 23:34:12 +00:00
llc
lli [ORC] Re-apply r345077 with fixes to remove ambiguity in lookup calls. 2018-10-23 23:01:39 +00:00
llvm-ar [llvm-ar] Strip trailing \r and format 2018-10-26 17:38:27 +00:00
llvm-as
llvm-as-fuzzer
llvm-bcanalyzer
llvm-c-test [LLVM-C] Improve Intrinsics Bindings 2018-11-06 01:38:14 +00:00
llvm-cat
llvm-cfi-verify
llvm-config llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
llvm-cov [Support] Listing a directory containing dangling symlinks is not an error. 2018-10-01 12:17:05 +00:00
llvm-cvtres [opt] Change the parameter of OptTable::PrintHelp from Name to Usage and don't append "[options] <inputs>" 2018-10-10 00:15:31 +00:00
llvm-cxxdump
llvm-cxxfilt
llvm-cxxmap
llvm-demangle-fuzzer
llvm-diff [TI removal] Make getTerminator() return a generic Instruction. 2018-10-15 10:42:50 +00:00
llvm-dis
llvm-dwarfdump Make llvm-dwarfdump -name work on type units. 2018-10-24 21:51:55 +00:00
llvm-dwp
llvm-exegesis [llvm-exegesis] Remove superfluous move. 2018-11-07 16:52:50 +00:00
llvm-extract
llvm-go
llvm-isel-fuzzer
llvm-jitlistener
llvm-link
llvm-lto [ThinLTO]Expose cache entry expiration time option in llvm-lto and fix a test 2018-10-03 13:00:20 +00:00
llvm-lto2 [LTO] Call InitLLVM from llvm-lto2 2018-10-16 17:37:45 +00:00
llvm-mc [MC] Separate masm integer literal lexer support from inline asm 2018-10-24 20:23:57 +00:00
llvm-mc-assemble-fuzzer
llvm-mc-disassemble-fuzzer
llvm-mca [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
llvm-modextract
llvm-mt [llvm-mt] Accept and ignore notify_update flag 2018-11-07 18:36:50 +00:00
llvm-nm [llvm-nm] Simplify. NFC 2018-10-26 06:56:51 +00:00
llvm-objcopy [llvm-strip] Check "strip" with StringRef::contains instead of ends_with 2018-11-07 03:02:11 +00:00
llvm-objdump [llvm-objdump] Mark syms/t flags as NotHidden. NFC. 2018-10-31 09:35:25 +00:00
llvm-opt-fuzzer [NewPM] teach -passes= to emit meaningful error messages 2018-10-17 10:36:23 +00:00
llvm-opt-report Reland: [OptRemarks] Add library for parsing optimization remarks 2018-10-10 18:43:42 +00:00
llvm-pdbutil Fix a few small issues in llvm-pdbutil 2018-11-02 18:00:37 +00:00
llvm-profdata
llvm-rc [opt] Change the parameter of OptTable::PrintHelp from Name to Usage and don't append "[options] <inputs>" 2018-10-10 00:15:31 +00:00
llvm-readobj AMDGPU: Add sram-ecc feature 2018-11-05 22:44:19 +00:00
llvm-rtdyld [RuntimeDyld][COFF] Skip non-loaded sections when calculating ImageBase. 2018-10-23 01:36:33 +00:00
llvm-shlib Support of hurd in llvm-shlib 2018-10-18 20:07:44 +00:00
llvm-size [llvm-size] Reject unknown radix values 2018-10-30 11:52:47 +00:00
llvm-special-case-list-fuzzer
llvm-split
llvm-stress
llvm-strings Fix llvm-strings crash for negative char values 2018-10-24 13:16:16 +00:00
llvm-symbolizer
llvm-undname
llvm-xray [XRay] Update XRayRecord to support Custom/Typed Events 2018-11-06 08:51:37 +00:00
llvm-yaml-numeric-parser-fuzzer
lto [libLTO] Expose LLVMCreateDisasmCPUFeatures from libLTO 2018-09-26 16:47:35 +00:00
msbuild
obj2yaml [WebAssembly] Refactor WasmSignature and use it for MCSymbolWasm 2018-10-03 22:22:48 +00:00
opt [NewPM] teach -passes= to emit meaningful error messages 2018-10-17 10:36:23 +00:00
opt-remarks [CMake] Expose opt-remark tooling through libOptRemarks.dylib 2018-11-05 11:57:44 +00:00
opt-viewer
sancov [sancov] Generalize the code to get the previous instruction to multiple architectures 2018-10-10 00:57:24 +00:00
sanstats
verify-uselistorder
xcode-toolchain [CMake] Use LLVM_ENABLE_IDE instead of CMAKE_CONFIGURATION_TYPES 2018-10-15 21:20:02 +00:00
yaml2obj llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
CMakeLists.txt
LLVMBuild.txt