#include "src/compiler/csa-load-elimination.h"
#include "src/compiler/graph-reducer.h"
#include "src/compiler/js-graph.h"
#include "src/compiler/machine-operator-reducer.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/node.h"
#include "src/compiler/simplified-operator.h"
#include "test/unittests/compiler/graph-unittest.h"
_;
StrictMock;
namespace v8 {
namespace internal {
namespace compiler {
class CsaLoadEliminationTest : public GraphTest { … };
#define SETUP_SIMPLE_TEST …
TEST_F(CsaLoadEliminationTest, Int32) { … }
TEST_F(CsaLoadEliminationTest, Int64) { … }
TEST_F(CsaLoadEliminationTest, Int64_to_Int32) { … }
TEST_F(CsaLoadEliminationTest, Int16_to_Int16) { … }
TEST_F(CsaLoadEliminationTest, Int16_to_Uint8) { … }
TEST_F(CsaLoadEliminationTest, Int8_to_Uint16) { … }
TEST_F(CsaLoadEliminationTest, Int8_to_Uint64) { … }
TEST_F(CsaLoadEliminationTest, Int32_to_Int64) { … }
TEST_F(CsaLoadEliminationTest, Int16_constant) { … }
TEST_F(CsaLoadEliminationTest, Uint8_constant) { … }
#undef SETUP_SIMPLE_TEST
}
}
}