#include "src/compiler/branch-condition-duplicator.h"
#include "src/compiler/graph.h"
#include "src/compiler/node-properties.h"
#include "src/compiler/opcodes.h"
namespace v8 {
namespace internal {
namespace compiler {
namespace {
bool IsBranch(Node* node) { … }
bool CanDuplicate(Node* node) { … }
}
Node* BranchConditionDuplicator::DuplicateNode(Node* node) { … }
void BranchConditionDuplicator::DuplicateConditionIfNeeded(Node* node) { … }
void BranchConditionDuplicator::Enqueue(Node* node) { … }
void BranchConditionDuplicator::VisitNode(Node* node) { … }
void BranchConditionDuplicator::ProcessGraph() { … }
BranchConditionDuplicator::BranchConditionDuplicator(Zone* zone, Graph* graph)
: … { … }
void BranchConditionDuplicator::Reduce() { … }
}
}
}