#include "src/compiler/backend/move-optimizer.h"
#include "src/utils/ostreams.h"
#include "test/unittests/compiler/backend/instruction-sequence-unittest.h"
namespace v8 {
namespace internal {
namespace compiler {
class MoveOptimizerTest : public InstructionSequenceTest { … };
TEST_F(MoveOptimizerTest, RemovesRedundant) { … }
TEST_F(MoveOptimizerTest, SplitsConstants) { … }
TEST_F(MoveOptimizerTest, SimpleMerge) { … }
TEST_F(MoveOptimizerTest, SimpleMergeCycle) { … }
TEST_F(MoveOptimizerTest, GapsCanMoveOverInstruction) { … }
TEST_F(MoveOptimizerTest, SubsetMovesMerge) { … }
TEST_F(MoveOptimizerTest, GapConflictSubsetMovesDoNotMerge) { … }
TEST_F(MoveOptimizerTest, ClobberedDestinationsAreEliminated) { … }
TEST_F(MoveOptimizerTest, ClobberedFPDestinationsAreEliminated) { … }
}
}
}