1 //===---- X86TestBase.h -----------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
8 // Test fixture common to all X86 MCA tests.
9 //===----------------------------------------------------------------------===//
11 #ifndef LLVM_UNITTESTS_TOOLS_LLVMMCA_X86_X86TESTBASE_H
12 #define LLVM_UNITTESTS_TOOLS_LLVMMCA_X86_X86TESTBASE_H
14 #include "MCATestBase.h"
15 #include "llvm/ADT/SmallVector.h"
20 class X86TestBase
: public MCATestBase
{
24 void getSimpleInsts(SmallVectorImpl
<MCInst
> &Insts
, unsigned Repeats
= 1);
27 } // end namespace mca
28 } // end namespace llvm