#include "src/compiler/turboshaft/instruction-selection-phase.h"
#include <optional>
#include "src/builtins/profile-data-reader.h"
#include "src/codegen/optimized-compilation-info.h"
#include "src/compiler/backend/instruction-selector-impl.h"
#include "src/compiler/backend/instruction-selector.h"
#include "src/compiler/graph-visualizer.h"
#include "src/compiler/js-heap-broker.h"
#include "src/compiler/pipeline.h"
#include "src/compiler/turboshaft/operations.h"
#include "src/compiler/turboshaft/phase.h"
#include "src/compiler/turboshaft/sidetable.h"
#include "src/diagnostics/code-tracer.h"
namespace v8::internal::compiler::turboshaft {
namespace {
void TraceSequence(OptimizedCompilationInfo* info,
InstructionSequence* sequence, JSHeapBroker* broker,
CodeTracer* code_tracer, const char* phase_name) { … }
}
ZoneVector<uint32_t> TurboshaftSpecialRPONumberer::ComputeSpecialRPO() { … }
void TurboshaftSpecialRPONumberer::ComputeLoopInfo(
size_t num_loops, ZoneVector<Backedge>& backedges) { … }
ZoneVector<uint32_t> TurboshaftSpecialRPONumberer::ComputeBlockPermutation(
const Block* entry) { … }
void PropagateDeferred(Graph& graph) { … }
void ProfileApplicationPhase::Run(PipelineData* data, Zone* temp_zone,
const ProfileDataFromFile* profile) { … }
void SpecialRPOSchedulingPhase::Run(PipelineData* data, Zone* temp_zone) { … }
std::optional<BailoutReason> InstructionSelectionPhase::Run(
PipelineData* data, Zone* temp_zone, const CallDescriptor* call_descriptor,
Linkage* linkage, CodeTracer* code_tracer) { … }
}