chromium/v8/src/compiler/decompression-optimizer.cc

// Copyright 2019 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.

#include "src/compiler/decompression-optimizer.h"

#include "src/compiler/graph.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/node-properties.h"

namespace v8 {
namespace internal {
namespace compiler {

namespace {

bool IsMachineLoad(Node* const node) {}

bool IsTaggedMachineLoad(Node* const node) {}

bool IsHeapConstant(Node* const node) {}

bool IsIntConstant(Node* const node) {}

bool IsTaggedPhi(Node* const node) {}

bool IsWord64BitwiseOp(Node* const node) {}

bool CanBeCompressed(Node* const node) {}

void Replace(Node* const node, Node* const replacement) {}

}  // anonymous namespace

DecompressionOptimizer::DecompressionOptimizer(Zone* zone, Graph* graph,
                                               CommonOperatorBuilder* common,
                                               MachineOperatorBuilder* machine)
    :{}

void DecompressionOptimizer::MarkNodes() {}

void DecompressionOptimizer::MarkNodeInputs(Node* node) {}

// We mark the addressing base pointer as kOnly32BitsObserved so it can be
// optimized to compressed form. This allows us to move the decompression to
// use-site on X64.
void DecompressionOptimizer::MarkAddressingBase(Node* base) {}

void DecompressionOptimizer::MaybeMarkAndQueueForRevisit(Node* const node,
                                                         State state) {}

void DecompressionOptimizer::ChangeHeapConstant(Node* const node) {}

void DecompressionOptimizer::ChangePhi(Node* const node) {}

void DecompressionOptimizer::ChangeLoad(Node* const node) {}

void DecompressionOptimizer::ChangeWord64BitwiseOp(Node* const node,
                                                   const Operator* new_op) {}

void DecompressionOptimizer::ChangeNodes() {}

void DecompressionOptimizer::Reduce() {}

}  // namespace compiler
}  // namespace internal
}  // namespace v8