// Copyright 2023 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_COMPILER_TURBOSHAFT_USE_MAP_H_ #define V8_COMPILER_TURBOSHAFT_USE_MAP_H_ #include "src/compiler/turboshaft/sidetable.h" namespace v8::internal::compiler::turboshaft { FunctionType; // UseMap computes uses of all operations of the given turboshaft graph. It // provides a mapping from `OpIndex` to its `uses`. class UseMap { … }; // SimdUseMap computes uses of SIMD operations of the given turboshaft graph and // skip other operations. class SimdUseMap : public UseMap, public NON_EXPORTED_BASE(ZoneObject) { … }; } // namespace v8::internal::compiler::turboshaft #endif // V8_COMPILER_TURBOSHAFT_USE_MAP_H_