#ifndef V8_COMPILER_LOOP_UNROLLING_H_
#define V8_COMPILER_LOOP_UNROLLING_H_
#include "src/compiler/common-operator.h"
#include "src/compiler/loop-analysis.h"
namespace v8 {
namespace internal {
namespace compiler {
static constexpr uint32_t kMaximumUnnestedSize = …;
static constexpr uint32_t kMaximumUnrollingCount = …;
V8_INLINE uint32_t unrolling_count_heuristic(uint32_t size, uint32_t depth) { … }
V8_INLINE uint32_t maximum_unrollable_size(uint32_t depth) { … }
void UnrollLoop(Node* loop_node, ZoneUnorderedSet<Node*>* loop, uint32_t depth,
Graph* graph, CommonOperatorBuilder* common, Zone* tmp_zone,
SourcePositionTable* source_positions,
NodeOriginTable* node_origins);
}
}
}
#endif