[LegalizeVectorOps] Use getBoolConstant instead of getAllOnesConstant in VectorLegali...
[llvm-project.git] / llvm / unittests / tools / llvm-mca / X86 / X86TestBase.h
blob4704904ae70b00ab29aa0cd17d94634f7a0621fa
1 //===---- X86TestBase.h -----------------------------------------*- C++ -*-===//
2 //
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
6 //
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"
17 namespace llvm {
18 namespace mca {
20 class X86TestBase : public MCATestBase {
21 protected:
22 X86TestBase();
24 void getSimpleInsts(SmallVectorImpl<MCInst> &Insts, unsigned Repeats = 1);
27 } // end namespace mca
28 } // end namespace llvm
30 #endif