v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
phase.h File Reference
Include dependency graph for phase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  v8::internal::compiler::InstructionStartsAsJSON
 
struct  v8::internal::compiler::TurbolizerCodeOffsetsInfoAsJSON
 
struct  v8::internal::compiler::BlockStartsAsJSON
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::compiler
 

Macros

#define DECL_PIPELINE_PHASE_CONSTANTS_HELPER(Name, Kind, Mode)
 
#define DECL_PIPELINE_PHASE_CONSTANTS(Name)
 
#define DECL_MAIN_THREAD_PIPELINE_PHASE_CONSTANTS(Name)
 

Enumerations

enum class  v8::internal::compiler::PhaseKind { v8::internal::compiler::kTurbofan , v8::internal::compiler::kTurboshaft }
 

Functions

void v8::internal::compiler::PrintCode (Isolate *isolate, DirectHandle< Code > code, OptimizedCompilationInfo *info)
 
void v8::internal::compiler::TraceSchedule (OptimizedCompilationInfo *info, TFPipelineData *data, Schedule *schedule, const char *phase_name)
 
std::ostream & v8::internal::compiler::operator<< (std::ostream &out, InstructionStartsAsJSON s)
 
std::ostream & v8::internal::compiler::operator<< (std::ostream &out, TurbolizerCodeOffsetsInfoAsJSON s)
 
std::ostream & v8::internal::compiler::operator<< (std::ostream &out, BlockStartsAsJSON s)
 

Variables

constexpr char v8::internal::compiler::kCodegenZoneName [] = "codegen-zone"
 
constexpr char v8::internal::compiler::kGraphZoneName [] = "graph-zone"
 
constexpr char v8::internal::compiler::kInstructionZoneName [] = "instruction-zone"
 
constexpr char v8::internal::compiler::kRegisterAllocationZoneName []
 
constexpr char v8::internal::compiler::kRegisterAllocatorVerifierZoneName []
 

Macro Definition Documentation

◆ DECL_MAIN_THREAD_PIPELINE_PHASE_CONSTANTS

#define DECL_MAIN_THREAD_PIPELINE_PHASE_CONSTANTS ( Name)
Value:
DECL_PIPELINE_PHASE_CONSTANTS_HELPER(Name, PhaseKind::kTurbofan, \
RuntimeCallStats::kExact)
#define DECL_PIPELINE_PHASE_CONSTANTS_HELPER(Name, Kind, Mode)
Definition phase.h:19

Definition at line 28 of file phase.h.

◆ DECL_PIPELINE_PHASE_CONSTANTS

#define DECL_PIPELINE_PHASE_CONSTANTS ( Name)
Value:
DECL_PIPELINE_PHASE_CONSTANTS_HELPER(Name, PhaseKind::kTurbofan, \
RuntimeCallStats::kThreadSpecific)

Definition at line 24 of file phase.h.

◆ DECL_PIPELINE_PHASE_CONSTANTS_HELPER

#define DECL_PIPELINE_PHASE_CONSTANTS_HELPER ( Name,
Kind,
Mode )
Value:
static constexpr PhaseKind kKind = Kind; \
static const char* phase_name() { return "V8.TF" #Name; }

Definition at line 19 of file phase.h.