#include "src/compiler/backend/gap-resolver.h"
#include <algorithm>
#include <set>
#include "src/base/enum-set.h"
#include "src/codegen/register-configuration.h"
namespace v8 {
namespace internal {
namespace compiler {
namespace {
enum MoveOperandKind : uint8_t { … };
MoveOperandKind GetKind(const InstructionOperand& move) { … }
}
void GapResolver::Resolve(ParallelMove* moves) { … }
bool IsSwap(MoveOperands* move1, MoveOperands* move2) { … }
void GapResolver::PerformCycle(const std::vector<MoveOperands*>& cycle) { … }
void GapResolver::PerformMove(ParallelMove* moves, MoveOperands* move) { … }
MoveOperands* GapResolver::PerformMoveHelper(
ParallelMove* moves, MoveOperands* move,
std::vector<MoveOperands*>* cycle) { … }
}
}
}