#include "MCATestBase.h" #include "Views/SummaryView.h" #include "llvm/MCA/CustomBehaviour.h" #include "llvm/MCA/InstrBuilder.h" #include "llvm/MCA/Pipeline.h" #include "llvm/MCA/SourceMgr.h" #include "llvm/MCA/View.h" #include "llvm/Support/JSON.h" #include "llvm/Support/WithColor.h" #include <string> usingnamespacellvm; usingnamespacemca; const Target *MCATestBase::getLLVMTarget() const { … } mca::PipelineOptions MCATestBase::getDefaultPipelineOptions() { … } void MCATestBase::SetUp() { … } Error MCATestBase::runBaselineMCA(json::Object &Result, ArrayRef<MCInst> Insts, ArrayRef<mca::View *> Views, const mca::PipelineOptions *PO) { … }