#include "src/compiler/wasm-gc-operator-reducer.h"
#include "src/compiler/compiler-source-position-table.h"
#include "src/compiler/node-properties.h"
#include "src/compiler/simplified-operator.h"
#include "src/compiler/wasm-compiler-definitions.h"
#include "src/wasm/wasm-subtyping.h"
namespace v8 {
namespace internal {
namespace compiler {
WasmGCOperatorReducer::WasmGCOperatorReducer(
Editor* editor, Zone* temp_zone_, MachineGraph* mcgraph,
const wasm::WasmModule* module, SourcePositionTable* source_position_table)
: … { … }
Reduction WasmGCOperatorReducer::Reduce(Node* node) { … }
namespace {
bool InDeadBranch(Node* node) { … }
Node* GetAlias(Node* node) { … }
}
Node* WasmGCOperatorReducer::SetType(Node* node, wasm::ValueType type) { … }
Reduction WasmGCOperatorReducer::UpdateNodeAndAliasesTypes(
Node* state_owner, ControlPathTypes parent_state, Node* node,
wasm::TypeInModule type, bool in_new_block) { … }
Reduction WasmGCOperatorReducer::ReduceStart(Node* node) { … }
wasm::TypeInModule WasmGCOperatorReducer::ObjectTypeFromContext(
Node* object, Node* control, bool allow_non_wasm) { … }
Reduction WasmGCOperatorReducer::ReduceWasmStructOperation(Node* node) { … }
Reduction WasmGCOperatorReducer::ReduceWasmArrayLength(Node* node) { … }
Reduction WasmGCOperatorReducer::ReduceIf(Node* node, bool condition) { … }
Reduction WasmGCOperatorReducer::ReduceMerge(Node* node) { … }
Reduction WasmGCOperatorReducer::ReduceAssertNotNull(Node* node) { … }
Reduction WasmGCOperatorReducer::ReduceCheckNull(Node* node) { … }
Reduction WasmGCOperatorReducer::ReduceWasmAnyConvertExtern(Node* node) { … }
Reduction WasmGCOperatorReducer::ReduceTypeGuard(Node* node) { … }
Reduction WasmGCOperatorReducer::ReduceWasmTypeCast(Node* node) { … }
Reduction WasmGCOperatorReducer::ReduceWasmTypeCastAbstract(Node* node) { … }
Reduction WasmGCOperatorReducer::ReduceWasmTypeCheck(Node* node) { … }
Reduction WasmGCOperatorReducer::ReduceWasmTypeCheckAbstract(Node* node) { … }
void WasmGCOperatorReducer::UpdateSourcePosition(Node* new_node,
Node* old_node) { … }
}
}
}