v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::CpuFeatures Class Reference

#include <cpu-features.h>

Inheritance diagram for v8::internal::CpuFeatures:
Collaboration diagram for v8::internal::CpuFeatures:

Public Member Functions

 CpuFeatures (const CpuFeatures &)=delete
 
CpuFeaturesoperator= (const CpuFeatures &)=delete
 

Static Public Member Functions

static void Probe (bool cross_compile)
 
static unsigned SupportedFeatures ()
 
static bool IsSupported (CpuFeature f)
 
static void SetSupported (CpuFeature f)
 
static void SetUnsupported (CpuFeature f)
 
static bool SupportsWasmSimd128 ()
 
static bool SupportsOptimizer ()
 
static unsigned icache_line_size ()
 
static unsigned dcache_line_size ()
 
static void PrintTarget ()
 
static void PrintFeatures ()
 

Static Private Member Functions

static void FlushICache (void *start, size_t size)
 
static void ProbeImpl (bool cross_compile)
 

Static Private Attributes

static unsigned supported_ = 0
 
static unsigned icache_line_size_ = 0
 
static unsigned dcache_line_size_ = 0
 
static bool initialized_ = false
 
static bool supports_wasm_simd_128_ = false
 
static bool supports_cetss_ = false
 

Friends

class ExternalReference
 
void V8_EXPORT_PRIVATE FlushInstructionCache (void *start, size_t size)
 

Detailed Description

Definition at line 108 of file cpu-features.h.

Constructor & Destructor Documentation

◆ CpuFeatures()

v8::internal::CpuFeatures::CpuFeatures ( const CpuFeatures & )
delete

Member Function Documentation

◆ dcache_line_size()

static unsigned v8::internal::CpuFeatures::dcache_line_size ( )
inlinestatic

Definition at line 141 of file cpu-features.h.

◆ FlushICache()

void v8::internal::CpuFeatures::FlushICache ( void * start,
size_t size )
staticprivate

Definition at line 15 of file cpu-riscv.cc.

◆ icache_line_size()

static unsigned v8::internal::CpuFeatures::icache_line_size ( )
inlinestatic

Definition at line 136 of file cpu-features.h.

◆ IsSupported()

static bool v8::internal::CpuFeatures::IsSupported ( CpuFeature f)
inlinestatic

Definition at line 125 of file cpu-features.h.

◆ operator=()

CpuFeatures & v8::internal::CpuFeatures::operator= ( const CpuFeatures & )
delete

◆ PrintFeatures()

void v8::internal::CpuFeatures::PrintFeatures ( )
static

Definition at line 131 of file assembler-riscv.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintTarget()

void v8::internal::CpuFeatures::PrintTarget ( )
static

Definition at line 130 of file assembler-riscv.cc.

Here is the caller graph for this function:

◆ Probe()

static void v8::internal::CpuFeatures::Probe ( bool cross_compile)
inlinestatic

Definition at line 113 of file cpu-features.h.

Here is the caller graph for this function:

◆ ProbeImpl()

void v8::internal::CpuFeatures::ProbeImpl ( bool cross_compile)
staticprivate

Definition at line 96 of file assembler-riscv.cc.

Here is the call graph for this function:

◆ SetSupported()

static void v8::internal::CpuFeatures::SetSupported ( CpuFeature f)
inlinestatic

Definition at line 129 of file cpu-features.h.

◆ SetUnsupported()

static void v8::internal::CpuFeatures::SetUnsupported ( CpuFeature f)
inlinestatic

Definition at line 130 of file cpu-features.h.

◆ SupportedFeatures()

static unsigned v8::internal::CpuFeatures::SupportedFeatures ( )
inlinestatic

Definition at line 120 of file cpu-features.h.

Here is the caller graph for this function:

◆ SupportsOptimizer()

bool v8::internal::CpuFeatures::SupportsOptimizer ( )
inlinestatic

Definition at line 52 of file assembler-arm-inl.h.

Here is the caller graph for this function:

◆ SupportsWasmSimd128()

bool v8::internal::CpuFeatures::SupportsWasmSimd128 ( )
static

Definition at line 94 of file assembler-riscv.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ ExternalReference

friend class ExternalReference
friend

Definition at line 151 of file cpu-features.h.

◆ FlushInstructionCache

void V8_EXPORT_PRIVATE FlushInstructionCache ( void * start,
size_t size )
friend

Definition at line 14 of file flush-instruction-cache.cc.

Member Data Documentation

◆ dcache_line_size_

unsigned v8::internal::CpuFeatures::dcache_line_size_ = 0
staticprivate

Definition at line 160 of file cpu-features.h.

◆ icache_line_size_

unsigned v8::internal::CpuFeatures::icache_line_size_ = 0
staticprivate

Definition at line 159 of file cpu-features.h.

◆ initialized_

bool v8::internal::CpuFeatures::initialized_ = false
staticprivate

Definition at line 161 of file cpu-features.h.

◆ supported_

unsigned v8::internal::CpuFeatures::supported_ = 0
staticprivate

Definition at line 158 of file cpu-features.h.

◆ supports_cetss_

bool v8::internal::CpuFeatures::supports_cetss_ = false
staticprivate

Definition at line 166 of file cpu-features.h.

◆ supports_wasm_simd_128_

bool v8::internal::CpuFeatures::supports_wasm_simd_128_ = false
staticprivate

Definition at line 165 of file cpu-features.h.


The documentation for this class was generated from the following files: