#include "src/compiler/common-operator-reducer.h"
#include <algorithm>
#include <optional>
#include "src/compiler/common-operator.h"
#include "src/compiler/graph.h"
#include "src/compiler/js-heap-broker.h"
#include "src/compiler/machine-operator.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/node-properties.h"
#include "src/compiler/node.h"
#include "src/compiler/opcodes.h"
namespace v8 {
namespace internal {
namespace compiler {
CommonOperatorReducer::CommonOperatorReducer(
Editor* editor, Graph* graph, JSHeapBroker* broker,
CommonOperatorBuilder* common, MachineOperatorBuilder* machine,
Zone* temp_zone, BranchSemantics default_branch_semantics)
: … { … }
Reduction CommonOperatorReducer::Reduce(Node* node) { … }
Decision CommonOperatorReducer::DecideCondition(
Node* const cond, BranchSemantics branch_semantics) { … }
Reduction CommonOperatorReducer::ReduceBranch(Node* node) { … }
Reduction CommonOperatorReducer::ReduceDeoptimizeConditional(Node* node) { … }
Reduction CommonOperatorReducer::ReduceMerge(Node* node) { … }
Reduction CommonOperatorReducer::ReduceEffectPhi(Node* node) { … }
Reduction CommonOperatorReducer::ReducePhi(Node* node) { … }
Reduction CommonOperatorReducer::ReduceReturn(Node* node) { … }
Reduction CommonOperatorReducer::ReduceSelect(Node* node) { … }
Reduction CommonOperatorReducer::ReduceSwitch(Node* node) { … }
Reduction CommonOperatorReducer::ReduceStaticAssert(Node* node) { … }
Reduction CommonOperatorReducer::ReduceTrapConditional(Node* trap) { … }
Reduction CommonOperatorReducer::Change(Node* node, Operator const* op,
Node* a) { … }
Reduction CommonOperatorReducer::Change(Node* node, Operator const* op, Node* a,
Node* b) { … }
}
}
}