chromium/v8/test/unittests/compiler/decompression-optimizer-unittest.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 "test/unittests/compiler/graph-unittest.h"

namespace v8 {
namespace internal {
namespace compiler {

class DecompressionOptimizerTest : public GraphTest {};

// -----------------------------------------------------------------------------
// Direct Load into Store.

TEST_F(DecompressionOptimizerTest, DirectLoadStore) {}

// -----------------------------------------------------------------------------
// Word32 Operations.

TEST_F(DecompressionOptimizerTest, Word32EqualTwoDecompresses) {}

TEST_F(DecompressionOptimizerTest, Word32EqualDecompressAndConstant) {}

TEST_F(DecompressionOptimizerTest, Word32AndSmiCheck) {}

TEST_F(DecompressionOptimizerTest, Word32ShlSmiTag) {}

TEST_F(DecompressionOptimizerTest, Word32SarSmiUntag) {}

// -----------------------------------------------------------------------------
// FrameState and TypedStateValues interaction.

TEST_F(DecompressionOptimizerTest, TypedStateValues) {}

// -----------------------------------------------------------------------------
// Phi

TEST_F(DecompressionOptimizerTest, PhiDecompressOrNot) {}

TEST_F(DecompressionOptimizerTest, CascadingPhi) {}

TEST_F(DecompressionOptimizerTest, PhiWithOneCompressedAndOneTagged) {}

// -----------------------------------------------------------------------------
// Int cases.

TEST_F(DecompressionOptimizerTest, Int32LessThanOrEqualFromSpeculative) {}

// -----------------------------------------------------------------------------
// Bitcast cases.

TEST_F(DecompressionOptimizerTest, BitcastTaggedToWord) {}

TEST_F(DecompressionOptimizerTest, BitcastTaggedToWordForTagAndSmiBits) {}

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