#include "src/compiler/simplified-operator-reducer.h"
#include <optional>
#include "src/compiler/common-operator.h"
#include "src/compiler/js-graph.h"
#include "src/compiler/js-heap-broker.h"
#include "src/compiler/machine-operator.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/opcodes.h"
#include "src/compiler/operator-properties.h"
#include "src/compiler/simplified-operator.h"
#include "src/numbers/conversions-inl.h"
namespace v8 {
namespace internal {
namespace compiler {
namespace {
Decision DecideObjectIsSmi(Node* const input) { … }
}
SimplifiedOperatorReducer::SimplifiedOperatorReducer(
Editor* editor, JSGraph* jsgraph, JSHeapBroker* broker,
BranchSemantics branch_semantics)
: … { … }
SimplifiedOperatorReducer::~SimplifiedOperatorReducer() = default;
Reduction SimplifiedOperatorReducer::Reduce(Node* node) { … }
Reduction SimplifiedOperatorReducer::Change(Node* node, const Operator* op,
Node* a) { … }
Reduction SimplifiedOperatorReducer::ReplaceBoolean(bool value) { … }
Reduction SimplifiedOperatorReducer::ReplaceFloat64(double value) { … }
Reduction SimplifiedOperatorReducer::ReplaceInt32(int32_t value) { … }
Reduction SimplifiedOperatorReducer::ReplaceNumber(double value) { … }
Reduction SimplifiedOperatorReducer::ReplaceNumber(int32_t value) { … }
Factory* SimplifiedOperatorReducer::factory() const { … }
Graph* SimplifiedOperatorReducer::graph() const { … }
MachineOperatorBuilder* SimplifiedOperatorReducer::machine() const { … }
SimplifiedOperatorBuilder* SimplifiedOperatorReducer::simplified() const { … }
}
}
}