llvm-project/llvm/tools/llvm-exegesis/lib/X86.h

33 lines
873 B
C++

//===-- X86.h ---------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// X86 target-specific setup.
///
//===----------------------------------------------------------------------===//
#ifndef LLVM_TOOLS_LLVM_EXEGESIS_X86_H
#define LLVM_TOOLS_LLVM_EXEGESIS_X86_H
#include "BenchmarkRunner.h"
#include "LlvmState.h"
namespace exegesis {
class X86Filter : public BenchmarkRunner::InstructionFilter {
public:
~X86Filter() override;
llvm::Error shouldRun(const LLVMState &State, unsigned Opcode) const override;
};
} // namespace exegesis
#endif // LLVM_TOOLS_LLVM_EXEGESIS_X86_H