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

#include <common-operator.h>

Inheritance diagram for v8::internal::compiler::CommonOperatorBuilder:
Collaboration diagram for v8::internal::compiler::CommonOperatorBuilder:

Public Member Functions

 CommonOperatorBuilder (Zone *zone)
 
 CommonOperatorBuilder (const CommonOperatorBuilder &)=delete
 
CommonOperatorBuilderoperator= (const CommonOperatorBuilder &)=delete
 
const OperatorPlug ()
 
const OperatorChained (const Operator *op)
 
const OperatorDead ()
 
const OperatorDeadValue (MachineRepresentation rep)
 
const OperatorUnreachable ()
 
const OperatorStaticAssert (const char *source)
 
const OperatorSLVerifierHint (const Operator *semantics, const std::optional< Type > &override_output_type)
 
const OperatorEnd (size_t control_input_count)
 
const OperatorBranch (BranchHint=BranchHint::kNone, BranchSemantics semantics=BranchSemantics::kUnspecified)
 
const OperatorIfTrue ()
 
const OperatorIfFalse ()
 
const OperatorIfSuccess ()
 
const OperatorIfException ()
 
const OperatorSwitch (size_t control_output_count)
 
const OperatorIfValue (int32_t value, int32_t order=0, BranchHint hint=BranchHint::kNone)
 
const OperatorIfDefault (BranchHint hint=BranchHint::kNone)
 
const OperatorThrow ()
 
const OperatorDeoptimize (DeoptimizeReason reason, FeedbackSource const &feedback)
 
const OperatorDeoptimizeIf (DeoptimizeReason reason, FeedbackSource const &feedback)
 
const OperatorDeoptimizeUnless (DeoptimizeReason reason, FeedbackSource const &feedback)
 
const OperatorAssert (BranchSemantics semantics, const char *condition_string, const char *file, int line)
 
const OperatorReturn (int value_input_count=1)
 
const OperatorTerminate ()
 
const OperatorStart (int value_output_count)
 
const OperatorLoop (int control_input_count)
 
const OperatorMerge (int control_input_count)
 
const OperatorParameter (int index, const char *debug_name=nullptr)
 
const OperatorOsrValue (int index)
 
const OperatorInt32Constant (int32_t)
 
const OperatorInt64Constant (int64_t)
 
const OperatorTaggedIndexConstant (int32_t value)
 
const OperatorFloat32Constant (float)
 
const OperatorFloat64Constant (double)
 
const OperatorExternalConstant (const ExternalReference &)
 
const OperatorNumberConstant (double)
 
const OperatorPointerConstant (intptr_t)
 
const OperatorHeapConstant (const Handle< HeapObject > &)
 
const OperatorCompressedHeapConstant (const Handle< HeapObject > &)
 
const OperatorTrustedHeapConstant (const Handle< HeapObject > &)
 
const OperatorObjectId (uint32_t)
 
const OperatorRelocatableInt32Constant (int32_t value, RelocInfo::Mode rmode)
 
const OperatorRelocatableInt64Constant (int64_t value, RelocInfo::Mode rmode)
 
const OperatorSelect (MachineRepresentation, BranchHint=BranchHint::kNone, BranchSemantics semantics=BranchSemantics::kUnspecified)
 
const OperatorPhi (MachineRepresentation representation, int value_input_count)
 
const OperatorEffectPhi (int effect_input_count)
 
const OperatorInductionVariablePhi (int value_input_count)
 
const OperatorLoopExit ()
 
const OperatorLoopExitValue (MachineRepresentation rep)
 
const OperatorLoopExitEffect ()
 
const OperatorCheckpoint ()
 
const OperatorBeginRegion (RegionObservability)
 
const OperatorFinishRegion ()
 
const OperatorStateValues (int arguments, SparseInputMask bitmask)
 
const OperatorTypedStateValues (const ZoneVector< MachineType > *types, SparseInputMask bitmask)
 
const OperatorArgumentsElementsState (ArgumentsStateType type)
 
const OperatorArgumentsLengthState ()
 
const OperatorObjectState (uint32_t object_id, int pointer_slots)
 
const OperatorTypedObjectState (uint32_t object_id, const ZoneVector< MachineType > *types)
 
const OperatorFrameState (BytecodeOffset bailout_id, OutputFrameStateCombine state_combine, const FrameStateFunctionInfo *function_info)
 
const OperatorCall (const CallDescriptor *call_descriptor)
 
const OperatorTailCall (const CallDescriptor *call_descriptor)
 
const OperatorProjection (size_t index)
 
const OperatorRetain ()
 
const OperatorTypeGuard (Type type)
 
const OperatorEnterMachineGraph (UseInfo use_info)
 
const OperatorExitMachineGraph (MachineRepresentation output_representation, Type output_type)
 
const OperatorResizeMergeOrPhi (const Operator *op, int size)
 
const FrameStateFunctionInfoCreateFrameStateFunctionInfo (FrameStateType type, uint16_t parameter_count, uint16_t max_arguments, int local_count, IndirectHandle< SharedFunctionInfo > shared_info, IndirectHandle< BytecodeArray > bytecode_array)
 

Private Member Functions

Zonezone () const
 

Private Attributes

const CommonOperatorGlobalCachecache_
 
Zone *const zone_
 

Detailed Description

Definition at line 542 of file common-operator.h.

Constructor & Destructor Documentation

◆ CommonOperatorBuilder() [1/2]

v8::internal::compiler::CommonOperatorBuilder::CommonOperatorBuilder ( Zone * zone)
explicit

Definition at line 970 of file common-operator.cc.

◆ CommonOperatorBuilder() [2/2]

v8::internal::compiler::CommonOperatorBuilder::CommonOperatorBuilder ( const CommonOperatorBuilder & )
delete

Member Function Documentation

◆ ArgumentsElementsState()

const Operator * v8::internal::compiler::CommonOperatorBuilder::ArgumentsElementsState ( ArgumentsStateType type)

Definition at line 1545 of file common-operator.cc.

Here is the call graph for this function:

◆ ArgumentsLengthState()

const Operator * v8::internal::compiler::CommonOperatorBuilder::ArgumentsLengthState ( )

Definition at line 1554 of file common-operator.cc.

Here is the call graph for this function:

◆ Assert()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Assert ( BranchSemantics semantics,
const char * condition_string,
const char * file,
int line )

Definition at line 1097 of file common-operator.cc.

Here is the call graph for this function:

◆ BeginRegion()

const Operator * v8::internal::compiler::CommonOperatorBuilder::BeginRegion ( RegionObservability region_observability)

Definition at line 1494 of file common-operator.cc.

Here is the call graph for this function:

◆ Branch()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Branch ( BranchHint hint = BranchHint::kNone,
BranchSemantics semantics = BranchSemantics::kUnspecified )

Definition at line 1031 of file common-operator.cc.

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

◆ Call()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Call ( const CallDescriptor * call_descriptor)

Definition at line 1613 of file common-operator.cc.

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

◆ Chained()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Chained ( const Operator * op)

Definition at line 1715 of file common-operator.cc.

Here is the call graph for this function:

◆ Checkpoint()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Checkpoint ( )

◆ CompressedHeapConstant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::CompressedHeapConstant ( const Handle< HeapObject > & value)

Definition at line 1352 of file common-operator.cc.

Here is the call graph for this function:

◆ CreateFrameStateFunctionInfo()

const FrameStateFunctionInfo * v8::internal::compiler::CommonOperatorBuilder::CreateFrameStateFunctionInfo ( FrameStateType type,
uint16_t parameter_count,
uint16_t max_arguments,
int local_count,
IndirectHandle< SharedFunctionInfo > shared_info,
IndirectHandle< BytecodeArray > bytecode_array )

Definition at line 1693 of file common-operator.cc.

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

◆ Dead()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Dead ( )
Here is the caller graph for this function:

◆ DeadValue()

const Operator * v8::internal::compiler::CommonOperatorBuilder::DeadValue ( MachineRepresentation rep)

Definition at line 1738 of file common-operator.cc.

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

◆ Deoptimize()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Deoptimize ( DeoptimizeReason reason,
FeedbackSource const & feedback )

Definition at line 1043 of file common-operator.cc.

Here is the call graph for this function:

◆ DeoptimizeIf()

const Operator * v8::internal::compiler::CommonOperatorBuilder::DeoptimizeIf ( DeoptimizeReason reason,
FeedbackSource const & feedback )

Definition at line 1061 of file common-operator.cc.

Here is the call graph for this function:

◆ DeoptimizeUnless()

const Operator * v8::internal::compiler::CommonOperatorBuilder::DeoptimizeUnless ( DeoptimizeReason reason,
FeedbackSource const & feedback )

Definition at line 1079 of file common-operator.cc.

Here is the call graph for this function:

◆ EffectPhi()

const Operator * v8::internal::compiler::CommonOperatorBuilder::EffectPhi ( int effect_input_count)

Definition at line 1457 of file common-operator.cc.

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

◆ End()

const Operator * v8::internal::compiler::CommonOperatorBuilder::End ( size_t control_input_count)

Definition at line 983 of file common-operator.cc.

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

◆ EnterMachineGraph()

const Operator * v8::internal::compiler::CommonOperatorBuilder::EnterMachineGraph ( UseInfo use_info)

Definition at line 1444 of file common-operator.cc.

Here is the call graph for this function:

◆ ExitMachineGraph()

const Operator * v8::internal::compiler::CommonOperatorBuilder::ExitMachineGraph ( MachineRepresentation output_representation,
Type output_type )

Definition at line 1450 of file common-operator.cc.

Here is the call graph for this function:

◆ ExternalConstant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::ExternalConstant ( const ExternalReference & value)

Definition at line 1317 of file common-operator.cc.

Here is the call graph for this function:

◆ FinishRegion()

const Operator * v8::internal::compiler::CommonOperatorBuilder::FinishRegion ( )

◆ Float32Constant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Float32Constant ( float value)

Definition at line 1299 of file common-operator.cc.

Here is the call graph for this function:

◆ Float64Constant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Float64Constant ( double value)

Definition at line 1308 of file common-operator.cc.

Here is the call graph for this function:

◆ FrameState()

const Operator * v8::internal::compiler::CommonOperatorBuilder::FrameState ( BytecodeOffset bailout_id,
OutputFrameStateCombine state_combine,
const FrameStateFunctionInfo * function_info )

Definition at line 1602 of file common-operator.cc.

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

◆ HeapConstant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::HeapConstant ( const Handle< HeapObject > & value)

Definition at line 1343 of file common-operator.cc.

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

◆ IfDefault()

const Operator * v8::internal::compiler::CommonOperatorBuilder::IfDefault ( BranchHint hint = BranchHint::kNone)

Definition at line 1175 of file common-operator.cc.

Here is the call graph for this function:

◆ IfException()

const Operator * v8::internal::compiler::CommonOperatorBuilder::IfException ( )
Here is the caller graph for this function:

◆ IfFalse()

const Operator * v8::internal::compiler::CommonOperatorBuilder::IfFalse ( )
Here is the caller graph for this function:

◆ IfSuccess()

const Operator * v8::internal::compiler::CommonOperatorBuilder::IfSuccess ( )

◆ IfTrue()

const Operator * v8::internal::compiler::CommonOperatorBuilder::IfTrue ( )
Here is the caller graph for this function:

◆ IfValue()

const Operator * v8::internal::compiler::CommonOperatorBuilder::IfValue ( int32_t value,
int32_t order = 0,
BranchHint hint = BranchHint::kNone )

Definition at line 1165 of file common-operator.cc.

Here is the call graph for this function:

◆ InductionVariablePhi()

const Operator * v8::internal::compiler::CommonOperatorBuilder::InductionVariablePhi ( int value_input_count)

Definition at line 1475 of file common-operator.cc.

Here is the call graph for this function:

◆ Int32Constant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Int32Constant ( int32_t value)

Definition at line 1274 of file common-operator.cc.

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

◆ Int64Constant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Int64Constant ( int64_t value)

Definition at line 1283 of file common-operator.cc.

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

◆ Loop()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Loop ( int control_input_count)

Definition at line 1191 of file common-operator.cc.

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

◆ LoopExit()

const Operator * v8::internal::compiler::CommonOperatorBuilder::LoopExit ( )

◆ LoopExitEffect()

const Operator * v8::internal::compiler::CommonOperatorBuilder::LoopExitEffect ( )

◆ LoopExitValue()

const Operator * v8::internal::compiler::CommonOperatorBuilder::LoopExitValue ( MachineRepresentation rep)

Definition at line 1226 of file common-operator.cc.

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

◆ Merge()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Merge ( int control_input_count)

Definition at line 1209 of file common-operator.cc.

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

◆ NumberConstant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::NumberConstant ( double value)

Definition at line 1327 of file common-operator.cc.

Here is the call graph for this function:

◆ ObjectId()

const Operator * v8::internal::compiler::CommonOperatorBuilder::ObjectId ( uint32_t object_id)

Definition at line 1400 of file common-operator.cc.

Here is the call graph for this function:

◆ ObjectState()

const Operator * v8::internal::compiler::CommonOperatorBuilder::ObjectState ( uint32_t object_id,
int pointer_slots )

Definition at line 1566 of file common-operator.cc.

Here is the call graph for this function:

◆ operator=()

CommonOperatorBuilder & v8::internal::compiler::CommonOperatorBuilder::operator= ( const CommonOperatorBuilder & )
delete

◆ OsrValue()

const Operator * v8::internal::compiler::CommonOperatorBuilder::OsrValue ( int index)

Definition at line 1266 of file common-operator.cc.

Here is the call graph for this function:

◆ Parameter()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Parameter ( int index,
const char * debug_name = nullptr )

Definition at line 1245 of file common-operator.cc.

Here is the call graph for this function:

◆ Phi()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Phi ( MachineRepresentation representation,
int value_input_count )

Definition at line 1418 of file common-operator.cc.

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

◆ Plug()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Plug ( )

◆ PointerConstant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::PointerConstant ( intptr_t value)

Definition at line 1335 of file common-operator.cc.

Here is the call graph for this function:

◆ Projection()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Projection ( size_t index)

Definition at line 1657 of file common-operator.cc.

Here is the call graph for this function:

◆ RelocatableInt32Constant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::RelocatableInt32Constant ( int32_t value,
RelocInfo::Mode rmode )

Definition at line 1382 of file common-operator.cc.

Here is the call graph for this function:

◆ RelocatableInt64Constant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::RelocatableInt64Constant ( int64_t value,
RelocInfo::Mode rmode )

Definition at line 1391 of file common-operator.cc.

Here is the call graph for this function:

◆ ResizeMergeOrPhi()

const Operator * v8::internal::compiler::CommonOperatorBuilder::ResizeMergeOrPhi ( const Operator * op,
int size )

Definition at line 1677 of file common-operator.cc.

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

◆ Retain()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Retain ( )

◆ Return()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Return ( int value_input_count = 1)

Definition at line 1000 of file common-operator.cc.

Here is the call graph for this function:

◆ Select()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Select ( MachineRepresentation rep,
BranchHint hint = BranchHint::kNone,
BranchSemantics semantics = BranchSemantics::kUnspecified )

Definition at line 1408 of file common-operator.cc.

Here is the call graph for this function:

◆ SLVerifierHint()

const Operator * v8::internal::compiler::CommonOperatorBuilder::SLVerifierHint ( const Operator * semantics,
const std::optional< Type > & override_output_type )

Definition at line 1023 of file common-operator.cc.

Here is the call graph for this function:

◆ Start()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Start ( int value_output_count)

Definition at line 1183 of file common-operator.cc.

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

◆ StateValues()

const Operator * v8::internal::compiler::CommonOperatorBuilder::StateValues ( int arguments,
SparseInputMask bitmask )

Definition at line 1505 of file common-operator.cc.

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

◆ StaticAssert()

const Operator * v8::internal::compiler::CommonOperatorBuilder::StaticAssert ( const char * source)

Definition at line 1017 of file common-operator.cc.

Here is the call graph for this function:

◆ Switch()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Switch ( size_t control_output_count)

Definition at line 1158 of file common-operator.cc.

Here is the call graph for this function:

◆ TaggedIndexConstant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::TaggedIndexConstant ( int32_t value)

Definition at line 1291 of file common-operator.cc.

Here is the call graph for this function:

◆ TailCall()

const Operator * v8::internal::compiler::CommonOperatorBuilder::TailCall ( const CallDescriptor * call_descriptor)

Definition at line 1637 of file common-operator.cc.

Here is the call graph for this function:

◆ Terminate()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Terminate ( )
Here is the call graph for this function:

◆ Throw()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Throw ( )
Here is the caller graph for this function:

◆ TrustedHeapConstant()

const Operator * v8::internal::compiler::CommonOperatorBuilder::TrustedHeapConstant ( const Handle< HeapObject > & value)

Definition at line 1361 of file common-operator.cc.

Here is the call graph for this function:

◆ TypedObjectState()

const Operator * v8::internal::compiler::CommonOperatorBuilder::TypedObjectState ( uint32_t object_id,
const ZoneVector< MachineType > * types )

Definition at line 1575 of file common-operator.cc.

Here is the call graph for this function:

◆ TypedStateValues()

const Operator * v8::internal::compiler::CommonOperatorBuilder::TypedStateValues ( const ZoneVector< MachineType > * types,
SparseInputMask bitmask )

Definition at line 1531 of file common-operator.cc.

Here is the call graph for this function:

◆ TypeGuard()

const Operator * v8::internal::compiler::CommonOperatorBuilder::TypeGuard ( Type type)

Definition at line 1436 of file common-operator.cc.

Here is the call graph for this function:

◆ Unreachable()

const Operator * v8::internal::compiler::CommonOperatorBuilder::Unreachable ( )

◆ zone()

Zone * v8::internal::compiler::CommonOperatorBuilder::zone ( ) const
inlineprivate

Definition at line 678 of file common-operator.h.

Member Data Documentation

◆ cache_

const CommonOperatorGlobalCache& v8::internal::compiler::CommonOperatorBuilder::cache_
private

Definition at line 680 of file common-operator.h.

◆ zone_

Zone* const v8::internal::compiler::CommonOperatorBuilder::zone_
private

Definition at line 681 of file common-operator.h.


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