[llvm-exegesis] Add memory annotation parsing
commitf0655b0d06129330f710b3cb9955cec7e778bfd0
authorAiden Grossman <agrossman154@yahoo.com>
Fri, 26 May 2023 09:06:13 +0000 (26 09:06 +0000)
committerAiden Grossman <agrossman154@yahoo.com>
Tue, 27 Jun 2023 05:30:54 +0000 (27 05:30 +0000)
treed3fc20e88c4807f046133980c5328656b8c7896a
parent32c7efddfde9e59d88fcd9254b0433f6646d5b6d
[llvm-exegesis] Add memory annotation parsing

This patch adds memory annotation parsing to llvm-exegesis. The memory
annotations cannot be used currently, but this allows for using parsed
memory annotations within a FunctionExecutorImpl to set up a specified
execution environment.
llvm/test/tools/llvm-exegesis/X86/latency/memory-annotations-unsupported.s [new file with mode: 0644]
llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
llvm/tools/llvm-exegesis/lib/SnippetFile.cpp
llvm/tools/llvm-exegesis/lib/SnippetFile.h
llvm/tools/llvm-exegesis/llvm-exegesis.cpp
llvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp