[llvm-exegesis] Add Target Memory Utility Functions
authorAiden Grossman <agrossman154@yahoo.com>
Sat, 20 May 2023 09:46:50 +0000 (09:46 +0000)
committerAiden Grossman <agrossman154@yahoo.com>
Mon, 26 Jun 2023 19:25:11 +0000 (19:25 +0000)
commit4fa3e93e68df41465b7accf6be9c57f06b877dac
tree6dae16d08a1eb721dc44d3f81069b81cce4d31de
parentd85c233e4b05497a6d8c6e3f2a5fd63d9eeb200d
[llvm-exegesis] Add Target Memory Utility Functions

This patch adds in several functions to ExegesisTarget that will assist
in setting up memory for the planned memory annotations.

Reviewed By: courbet

Differential Revision: https://reviews.llvm.org/D151023
llvm/tools/llvm-exegesis/lib/Target.h
llvm/tools/llvm-exegesis/lib/X86/Target.cpp
llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp