#include "src/compiler/turboshaft/wasm-gc-typed-optimization-reducer.h"
#include "src/compiler/turboshaft/analyzer-iterator.h"
#include "src/compiler/turboshaft/loop-finder.h"
namespace v8::internal::compiler::turboshaft {
void WasmGCTypeAnalyzer::Run() { … }
void WasmGCTypeAnalyzer::ProcessBlock(const Block& block) { … }
void WasmGCTypeAnalyzer::StartNewSnapshotFor(const Block& block) { … }
void WasmGCTypeAnalyzer::ProcessOperations(const Block& block) { … }
void WasmGCTypeAnalyzer::ProcessTypeCast(const WasmTypeCastOp& type_cast) { … }
void WasmGCTypeAnalyzer::ProcessTypeCheck(const WasmTypeCheckOp& type_check) { … }
void WasmGCTypeAnalyzer::ProcessAssertNotNull(
const AssertNotNullOp& assert_not_null) { … }
void WasmGCTypeAnalyzer::ProcessIsNull(const IsNullOp& is_null) { … }
void WasmGCTypeAnalyzer::ProcessParameter(const ParameterOp& parameter) { … }
void WasmGCTypeAnalyzer::ProcessStructGet(const StructGetOp& struct_get) { … }
void WasmGCTypeAnalyzer::ProcessStructSet(const StructSetOp& struct_set) { … }
void WasmGCTypeAnalyzer::ProcessArrayGet(const ArrayGetOp& array_get) { … }
void WasmGCTypeAnalyzer::ProcessArrayLength(const ArrayLengthOp& array_length) { … }
void WasmGCTypeAnalyzer::ProcessGlobalGet(const GlobalGetOp& global_get) { … }
void WasmGCTypeAnalyzer::ProcessRefFunc(const WasmRefFuncOp& ref_func) { … }
void WasmGCTypeAnalyzer::ProcessAllocateArray(
const WasmAllocateArrayOp& allocate_array) { … }
void WasmGCTypeAnalyzer::ProcessAllocateStruct(
const WasmAllocateStructOp& allocate_struct) { … }
void WasmGCTypeAnalyzer::ProcessPhi(const PhiOp& phi) { … }
void WasmGCTypeAnalyzer::ProcessTypeAnnotation(
const WasmTypeAnnotationOp& type_annotation) { … }
void WasmGCTypeAnalyzer::ProcessBranchOnTarget(const BranchOp& branch,
const Block& target) { … }
void WasmGCTypeAnalyzer::ProcessNull(const NullOp& null) { … }
void WasmGCTypeAnalyzer::CreateMergeSnapshot(const Block& block) { … }
bool WasmGCTypeAnalyzer::CreateMergeSnapshot(
base::Vector<const Snapshot> predecessors,
base::Vector<const bool> reachable) { … }
wasm::ValueType WasmGCTypeAnalyzer::RefineTypeKnowledge(
OpIndex object, wasm::ValueType new_type) { … }
wasm::ValueType WasmGCTypeAnalyzer::RefineTypeKnowledgeNotNull(OpIndex object) { … }
OpIndex WasmGCTypeAnalyzer::ResolveAliases(OpIndex object) const { … }
bool WasmGCTypeAnalyzer::IsReachable(const Block& block) const { … }
wasm::ValueType WasmGCTypeAnalyzer::GetResolvedType(OpIndex object) const { … }
}