V8 Project
|
#include <pipeline.h>
Public Member Functions | |
Pipeline (CompilationInfo *info) | |
Handle< Code > | GenerateCode () |
Handle< Code > | GenerateCodeForMachineGraph (Linkage *linkage, Graph *graph, Schedule *schedule=NULL) |
Static Public Member Functions | |
static bool | SupportedBackend () |
static bool | SupportedTarget () |
static void | SetUp () |
static void | TearDown () |
Private Member Functions | |
CompilationInfo * | info () const |
Isolate * | isolate () |
Zone * | zone () |
Schedule * | ComputeSchedule (Graph *graph) |
void | VerifyAndPrintGraph (Graph *graph, const char *phase) |
Handle< Code > | GenerateCode (Linkage *linkage, Graph *graph, Schedule *schedule, SourcePositionTable *source_positions) |
Private Attributes | |
CompilationInfo * | info_ |
Definition at line 25 of file pipeline.h.
|
inlineexplicit |
Definition at line 27 of file pipeline.h.
Definition at line 347 of file pipeline.cc.
References v8::internal::compiler::PhaseStats::CODEGEN, v8::internal::compiler::Scheduler::ComputeSchedule(), info(), v8::internal::compiler::ScheduleVerifier::Run(), v8::internal::compiler::TraceSchedule(), and v8::internal::compiler::VerifyGraphs().
Referenced by GenerateCode(), and GenerateCodeForMachineGraph().
Definition at line 166 of file pipeline.cc.
References v8::internal::compiler::PhaseStats::CODEGEN, ComputeSchedule(), v8::internal::compiler::PhaseStats::CREATE_GRAPH, v8::internal::compiler::AstGraphBuilderWithPositions::CreateGraph(), v8::internal::compiler::Typer::DecorateGraph(), v8::internal::endl(), v8::internal::CompilationInfo::function(), v8::internal::compiler::AstGraphBuilder::GetFunctionContext(), v8::internal::Isolate::GetTStatistics(), info(), info_, v8::internal::compiler::JSInliner::Inline(), isolate(), v8::internal::compiler::SimplifiedLowering::LowerAllNodes(), v8::internal::Handle< T >::null(), v8::internal::compiler::PhaseStats::OPTIMIZATION, v8::internal::CodeGenerator::PrintCode(), v8::internal::compiler::Typer::Run(), v8::internal::CompilationInfo::SetCode(), v8::internal::compiler::JSContextSpecializer::SpecializeToContext(), SupportedTarget(), VerifyAndPrintGraph(), and zone().
Referenced by v8::internal::OptimizedCompileJob::CreateGraph(), and GenerateCodeForMachineGraph().
|
private |
Definition at line 379 of file pipeline.cc.
References v8::internal::CompilationInfo::AbortOptimization(), CHECK, DCHECK_NOT_NULL, v8::internal::compiler::Linkage::info(), info_, v8::internal::compiler::BasicBlockInstrumentor::Instrument(), v8::internal::compiler::UnallocatedOperand::kMaxVirtualRegisters, v8::internal::compiler::GenericGraphBase::NodeCount(), NULL, v8::internal::Handle< T >::null(), v8::internal::BasicBlockProfiler::Data::SetCode(), and SupportedBackend().
Handle< Code > v8::internal::compiler::Pipeline::GenerateCodeForMachineGraph | ( | Linkage * | linkage, |
Graph * | graph, | ||
Schedule * | schedule = NULL |
||
) |
Definition at line 356 of file pipeline.cc.
References CHECK, ComputeSchedule(), GenerateCode(), v8::internal::Handle< T >::is_null(), isolate(), NULL, SupportedBackend(), v8::internal::compiler::TraceSchedule(), and VerifyAndPrintGraph().
|
inlineprivate |
Definition at line 46 of file pipeline.h.
References info_.
Referenced by ComputeSchedule(), and GenerateCode().
|
inlineprivate |
Definition at line 47 of file pipeline.h.
References info_, and v8::internal::CompilationInfo::isolate().
Referenced by GenerateCode(), and GenerateCodeForMachineGraph().
|
static |
Definition at line 440 of file pipeline.cc.
References v8::internal::compiler::InstructionOperand::SetUpCaches().
Referenced by v8::internal::V8::InitializeOncePerProcessImpl().
|
inlinestatic |
Definition at line 37 of file pipeline.h.
References V8_TURBOFAN_BACKEND.
Referenced by GenerateCode(), and GenerateCodeForMachineGraph().
|
inlinestatic |
Definition at line 38 of file pipeline.h.
References V8_TURBOFAN_TARGET.
Referenced by GenerateCode().
|
static |
Definition at line 445 of file pipeline.cc.
References v8::internal::compiler::InstructionOperand::TearDownCaches().
Referenced by v8::internal::V8::TearDown().
|
private |
Definition at line 91 of file pipeline.cc.
References v8::base::OS::FOpen(), v8::internal::SmartPointerBase< Deallocator, T >::get(), info_, v8::internal::Vector< T >::length(), v8::internal::compiler::Verifier::Run(), v8::internal::CompilationInfo::shared_info(), v8::internal::SNPrintF(), v8::internal::Vector< T >::start(), and v8::internal::compiler::VerifyGraphs().
Referenced by GenerateCode(), and GenerateCodeForMachineGraph().
|
inlineprivate |
Definition at line 48 of file pipeline.h.
References info_, and v8::internal::CompilationInfo::zone().
Referenced by GenerateCode().
|
private |
Definition at line 44 of file pipeline.h.
Referenced by GenerateCode(), info(), isolate(), VerifyAndPrintGraph(), and zone().