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

#include <machine-operator.h>

Collaboration diagram for v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements:

Public Types

enum  UnalignedAccessSupport { kNoSupport , kSomeSupport , kFullSupport }
 

Public Member Functions

bool IsUnalignedLoadSupported (MachineRepresentation rep) const
 
bool IsUnalignedStoreSupported (MachineRepresentation rep) const
 

Static Public Member Functions

static AlignmentRequirements FullUnalignedAccessSupport ()
 
static AlignmentRequirements NoUnalignedAccessSupport ()
 
static AlignmentRequirements SomeUnalignedAccessUnsupported (base::EnumSet< MachineRepresentation > unalignedLoadUnsupportedTypes, base::EnumSet< MachineRepresentation > unalignedStoreUnsupportedTypes)
 

Private Member Functions

 AlignmentRequirements (AlignmentRequirements::UnalignedAccessSupport unalignedAccessSupport, base::EnumSet< MachineRepresentation > unalignedLoadUnsupportedTypes=base::EnumSet< MachineRepresentation >(), base::EnumSet< MachineRepresentation > unalignedStoreUnsupportedTypes=base::EnumSet< MachineRepresentation >())
 
bool IsUnalignedSupported (base::EnumSet< MachineRepresentation > unsupported, MachineRepresentation rep) const
 

Private Attributes

const AlignmentRequirements::UnalignedAccessSupport unalignedSupport_
 
const base::EnumSet< MachineRepresentationunalignedLoadUnsupportedTypes_
 
const base::EnumSet< MachineRepresentationunalignedStoreUnsupportedTypes_
 

Detailed Description

Definition at line 428 of file machine-operator.h.

Member Enumeration Documentation

◆ UnalignedAccessSupport

Enumerator
kNoSupport 
kSomeSupport 
kFullSupport 

Definition at line 430 of file machine-operator.h.

Constructor & Destructor Documentation

◆ AlignmentRequirements()

v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements::AlignmentRequirements ( AlignmentRequirements::UnalignedAccessSupport unalignedAccessSupport,
base::EnumSet< MachineRepresentation > unalignedLoadUnsupportedTypes = base::EnumSet<MachineRepresentation>(),
base::EnumSet< MachineRepresentation > unalignedStoreUnsupportedTypes = base::EnumSet<MachineRepresentation>() )
inlineexplicitprivate

Definition at line 454 of file machine-operator.h.

Member Function Documentation

◆ FullUnalignedAccessSupport()

static AlignmentRequirements v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements::FullUnalignedAccessSupport ( )
inlinestatic

Definition at line 440 of file machine-operator.h.

◆ IsUnalignedLoadSupported()

bool v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements::IsUnalignedLoadSupported ( MachineRepresentation rep) const
inline

Definition at line 432 of file machine-operator.h.

Here is the caller graph for this function:

◆ IsUnalignedStoreSupported()

bool v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements::IsUnalignedStoreSupported ( MachineRepresentation rep) const
inline

Definition at line 436 of file machine-operator.h.

Here is the caller graph for this function:

◆ IsUnalignedSupported()

bool v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements::IsUnalignedSupported ( base::EnumSet< MachineRepresentation > unsupported,
MachineRepresentation rep ) const
inlineprivate

Definition at line 464 of file machine-operator.h.

Here is the call graph for this function:

◆ NoUnalignedAccessSupport()

static AlignmentRequirements v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements::NoUnalignedAccessSupport ( )
inlinestatic

Definition at line 443 of file machine-operator.h.

◆ SomeUnalignedAccessUnsupported()

static AlignmentRequirements v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements::SomeUnalignedAccessUnsupported ( base::EnumSet< MachineRepresentation > unalignedLoadUnsupportedTypes,
base::EnumSet< MachineRepresentation > unalignedStoreUnsupportedTypes )
inlinestatic

Definition at line 446 of file machine-operator.h.

Here is the caller graph for this function:

Member Data Documentation

◆ unalignedLoadUnsupportedTypes_

const base::EnumSet<MachineRepresentation> v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements::unalignedLoadUnsupportedTypes_
private

Definition at line 480 of file machine-operator.h.

◆ unalignedStoreUnsupportedTypes_

const base::EnumSet<MachineRepresentation> v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements::unalignedStoreUnsupportedTypes_
private

Definition at line 481 of file machine-operator.h.

◆ unalignedSupport_

const AlignmentRequirements::UnalignedAccessSupport v8::internal::compiler::MachineOperatorBuilder::AlignmentRequirements::unalignedSupport_
private

Definition at line 479 of file machine-operator.h.


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