#ifndef V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_
#define V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_
#include <deque>
#include <set>
#include <type_traits>
#include "src/base/utils/random-number-generator.h"
#include "src/common/globals.h"
#include "src/compiler/backend/instruction-selector.h"
#include "src/compiler/globals.h"
#include "src/compiler/turboshaft/assembler.h"
#include "src/compiler/turboshaft/index.h"
#include "src/compiler/turboshaft/instruction-selection-normalization-reducer.h"
#include "src/compiler/turboshaft/load-store-simplification-reducer.h"
#include "src/compiler/turboshaft/operations.h"
#include "src/compiler/turboshaft/phase.h"
#include "src/compiler/turboshaft/representations.h"
#include "test/unittests/test-utils.h"
namespace v8::internal::compiler::turboshaft {
#if V8_ENABLE_WEBASSEMBLY
#define SIMD_BINOP_LIST(V) …
#else
#define SIMD_BINOP_LIST …
#endif
#define BINOP_LIST(V) …
#define UNOP_LIST(V) …
#define DECL …
enum class TSBinop { … };
enum class TSUnop { … };
#undef DECL
class TurboshaftInstructionSelectorTest : public TestWithNativeContextAndZone { … };
template <typename T>
class TurboshaftInstructionSelectorTestWithParam
: public TurboshaftInstructionSelectorTest,
public ::testing::WithParamInterface<T> { … };
}
#endif