Lines Matching refs:Operator
57 TrapId TrapIdOf(const Operator* const op) { in TrapIdOf()
67 const BranchOperatorInfo& BranchOperatorInfoOf(const Operator* const op) { in BranchOperatorInfoOf()
72 BranchHint BranchHintOf(const Operator* const op) { in BranchHintOf()
76 int ValueInputCountOfReturn(Operator const* const op) { in ValueInputCountOfReturn()
106 DeoptimizeParameters const& DeoptimizeParametersOf(Operator const* const op) { in DeoptimizeParametersOf()
113 IsSafetyCheck IsSafetyCheckOf(const Operator* op) { in IsSafetyCheckOf()
120 const Operator* CommonOperatorBuilder::MarkAsSafetyCheck( in MarkAsSafetyCheck()
121 const Operator* op, IsSafetyCheck safety_check) { in MarkAsSafetyCheck()
160 SelectParameters const& SelectParametersOf(const Operator* const op) { in SelectParametersOf()
165 CallDescriptor const* CallDescriptorOf(const Operator* const op) { in CallDescriptorOf()
172 size_t ProjectionIndexOf(const Operator* const op) { in ProjectionIndexOf()
178 MachineRepresentation PhiRepresentationOf(const Operator* const op) { in PhiRepresentationOf()
184 int ParameterIndexOf(const Operator* const op) { in ParameterIndexOf()
190 const ParameterInfo& ParameterInfoOf(const Operator* const op) { in ParameterInfoOf()
365 RegionObservability RegionObservabilityOf(Operator const* op) { in RegionObservabilityOf()
370 Type TypeGuardTypeOf(Operator const* op) { in TypeGuardTypeOf()
389 int OsrValueIndexOf(Operator const* op) { in OsrValueIndexOf()
394 SparseInputMask SparseInputMaskOf(Operator const* op) { in SparseInputMaskOf()
404 ZoneVector<MachineType> const* MachineTypesOf(Operator const* op) { in MachineTypesOf()
429 IfValueParameters const& IfValueParametersOf(const Operator* op) { in IfValueParametersOf()
435 V(Dead, Operator::kFoldable, 0, 0, 0, 1, 1, 1) \
436 V(Unreachable, Operator::kFoldable, 0, 1, 1, 1, 1, 0) \
437 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
438 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
439 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
440 V(IfException, Operator::kKontrol, 0, 1, 1, 1, 1, 1) \
441 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
442 V(Throw, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \
443 V(Terminate, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \
444 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \
445 V(OsrLoopEntry, Operator::kFoldable | Operator::kNoThrow, 0, 1, 1, 0, 1, 1) \
446 V(LoopExit, Operator::kKontrol, 0, 0, 2, 0, 0, 1) \
447 V(LoopExitValue, Operator::kPure, 1, 0, 1, 1, 0, 0) \
448 V(LoopExitEffect, Operator::kNoThrow, 0, 1, 1, 0, 1, 0) \
449 V(Checkpoint, Operator::kKontrol, 0, 1, 1, 0, 1, 0) \
450 V(FinishRegion, Operator::kKontrol, 1, 1, 0, 1, 1, 0) \
451 V(Retain, Operator::kKontrol, 1, 1, 0, 0, 1, 0)
602 struct Name##Operator final : public Operator { \
603 Name##Operator() \
604 : Operator(IrOpcode::k##Name, properties, #Name, value_input_count, \
609 Name##Operator k##Name##Operator;
614 struct EndOperator final : public Operator {
616 : Operator( // -- in EndOperator()
617 IrOpcode::kEnd, Operator::kKontrol, // opcode in EndOperator()
622 EndOperator<input_count> kEnd##input_count##Operator;
627 struct ReturnOperator final : public Operator {
629 : Operator( // -- in ReturnOperator()
630 IrOpcode::kReturn, Operator::kNoThrow, // opcode in ReturnOperator()
635 ReturnOperator<value_input_count> kReturn##value_input_count##Operator;
643 IrOpcode::kBranch, Operator::kKontrol, // opcode in BranchOperator()
650 kBranch##Hint##IsCheck##Operator;
655 struct EffectPhiOperator final : public Operator {
657 : Operator( // -- in EffectPhiOperator()
658 IrOpcode::kEffectPhi, Operator::kKontrol, // opcode in EffectPhiOperator()
663 EffectPhiOperator<input_count> kEffectPhi##input_count##Operator;
671 IrOpcode::kBeginRegion, Operator::kKontrol, // opcode in BeginRegionOperator()
682 struct LoopOperator final : public Operator {
684 : Operator( // -- in LoopOperator()
685 IrOpcode::kLoop, Operator::kKontrol, // opcode in LoopOperator()
690 LoopOperator<input_count> kLoop##input_count##Operator;
695 struct MergeOperator final : public Operator {
697 : Operator( // -- in MergeOperator()
698 IrOpcode::kMerge, Operator::kKontrol, // opcode in MergeOperator()
703 MergeOperator<input_count> kMerge##input_count##Operator;
712 Operator::kFoldable | Operator::kNoThrow, // properties in DeoptimizeOperator()
720 kDeoptimize##Kind##Reason##Operator;
730 Operator::kFoldable | Operator::kNoThrow, // properties in DeoptimizeIfOperator()
739 kDeoptimizeIf##Kind##Reason##IsCheck##Operator;
750 Operator::kFoldable | Operator::kNoThrow, // properties in DeoptimizeUnlessOperator()
760 kDeoptimizeUnless##Kind##Reason##IsCheck##Operator;
769 Operator::kFoldable | Operator::kNoThrow, // properties in TrapIfOperator()
775 TrapIfOperator<TrapId::k##Trap> kTrapIf##Trap##Operator;
784 Operator::kFoldable | Operator::kNoThrow, // properties in TrapUnlessOperator()
790 TrapUnlessOperator<TrapId::k##Trap> kTrapUnless##Trap##Operator;
798 IrOpcode::kPhi, Operator::kPure, // opcode in PhiOperator()
805 kPhi##rep##input_count##Operator;
810 struct InductionVariablePhiOperator final : public Operator {
812 : Operator( //-- in InductionVariablePhiOperator()
813 IrOpcode::kInductionVariablePhi, Operator::kPure, // opcode in InductionVariablePhiOperator()
819 kInductionVariablePhi##input_count##Operator;
827 IrOpcode::kParameter, Operator::kPure, // opcode in ParameterOperator()
833 ParameterOperator<index> kParameter##index##Operator;
842 Operator::kPure, // flags in ProjectionOperator()
848 ProjectionOperator<index> kProjection##index##Operator;
857 Operator::kPure, // flags in StateValuesOperator()
863 StateValuesOperator<input_count> kStateValues##input_count##Operator;
877 const Operator* CommonOperatorBuilder::Name() { \
878 return &cache_.k##Name##Operator; \
884 const Operator* CommonOperatorBuilder::End(size_t control_input_count) { in COMMON_CACHED_OP_LIST()
888 return &cache_.kEnd##input_count##Operator; in COMMON_CACHED_OP_LIST()
895 return new (zone()) Operator( //-- in COMMON_CACHED_OP_LIST()
896 IrOpcode::kEnd, Operator::kKontrol, // opcode in COMMON_CACHED_OP_LIST()
901 const Operator* CommonOperatorBuilder::Return(int value_input_count) { in Return()
905 return &cache_.kReturn##input_count##Operator; in Return()
912 return new (zone()) Operator( //-- in Return()
913 IrOpcode::kReturn, Operator::kNoThrow, // opcode in Return()
918 const Operator* CommonOperatorBuilder::Branch(BranchHint hint, in Branch()
923 return &cache_.kBranch##Hint##IsCheck##Operator; \ in Branch()
930 const Operator* CommonOperatorBuilder::Deoptimize( in Deoptimize()
936 return &cache_.kDeoptimize##Kind##Reason##Operator; \ in Deoptimize()
945 Operator::kFoldable | Operator::kNoThrow, // properties in Deoptimize()
951 const Operator* CommonOperatorBuilder::DeoptimizeIf( in DeoptimizeIf()
958 return &cache_.kDeoptimizeIf##Kind##Reason##IsCheck##Operator; \ in DeoptimizeIf()
966 Operator::kFoldable | Operator::kNoThrow, // properties in DeoptimizeIf()
972 const Operator* CommonOperatorBuilder::DeoptimizeUnless( in DeoptimizeUnless()
979 return &cache_.kDeoptimizeUnless##Kind##Reason##IsCheck##Operator; \ in DeoptimizeUnless()
987 Operator::kFoldable | Operator::kNoThrow, // properties in DeoptimizeUnless()
993 const Operator* CommonOperatorBuilder::TrapIf(TrapId trap_id) { in TrapIf()
997 return &cache_.kTrapIf##Trap##Operator; in TrapIf()
1006 Operator::kFoldable | Operator::kNoThrow, // properties in TrapIf()
1012 const Operator* CommonOperatorBuilder::TrapUnless(TrapId trap_id) { in TrapUnless()
1016 return &cache_.kTrapUnless##Trap##Operator; in TrapUnless()
1025 Operator::kFoldable | Operator::kNoThrow, // properties in TrapUnless()
1031 const Operator* CommonOperatorBuilder::Switch(size_t control_output_count) { in Switch()
1032 return new (zone()) Operator( // -- in Switch()
1033 IrOpcode::kSwitch, Operator::kKontrol, // opcode in Switch()
1038 const Operator* CommonOperatorBuilder::IfValue(int32_t index, in IfValue()
1041 IrOpcode::kIfValue, Operator::kKontrol, // opcode in IfValue()
1048 const Operator* CommonOperatorBuilder::Start(int value_output_count) { in Start()
1049 return new (zone()) Operator( // -- in Start()
1050 IrOpcode::kStart, Operator::kFoldable | Operator::kNoThrow, // opcode in Start()
1056 const Operator* CommonOperatorBuilder::Loop(int control_input_count) { in Loop()
1060 return &cache_.kLoop##input_count##Operator; in Loop()
1067 return new (zone()) Operator( // -- in Loop()
1068 IrOpcode::kLoop, Operator::kKontrol, // opcode in Loop()
1074 const Operator* CommonOperatorBuilder::Merge(int control_input_count) { in Merge()
1078 return &cache_.kMerge##input_count##Operator; in Merge()
1085 return new (zone()) Operator( // -- in Merge()
1086 IrOpcode::kMerge, Operator::kKontrol, // opcode in Merge()
1092 const Operator* CommonOperatorBuilder::Parameter(int index, in Parameter()
1098 return &cache_.kParameter##index##Operator; in Parameter()
1107 IrOpcode::kParameter, Operator::kPure, // opcode in Parameter()
1113 const Operator* CommonOperatorBuilder::OsrValue(int index) { in OsrValue()
1115 IrOpcode::kOsrValue, Operator::kNoProperties, // opcode in OsrValue()
1121 const Operator* CommonOperatorBuilder::Int32Constant(int32_t value) { in Int32Constant()
1123 IrOpcode::kInt32Constant, Operator::kPure, // opcode in Int32Constant()
1130 const Operator* CommonOperatorBuilder::Int64Constant(int64_t value) { in Int64Constant()
1132 IrOpcode::kInt64Constant, Operator::kPure, // opcode in Int64Constant()
1139 const Operator* CommonOperatorBuilder::Float32Constant(volatile float value) { in Float32Constant()
1141 IrOpcode::kFloat32Constant, Operator::kPure, // opcode in Float32Constant()
1148 const Operator* CommonOperatorBuilder::Float64Constant(volatile double value) { in Float64Constant()
1150 IrOpcode::kFloat64Constant, Operator::kPure, // opcode in Float64Constant()
1157 const Operator* CommonOperatorBuilder::ExternalConstant( in ExternalConstant()
1160 IrOpcode::kExternalConstant, Operator::kPure, // opcode in ExternalConstant()
1167 const Operator* CommonOperatorBuilder::NumberConstant(volatile double value) { in NumberConstant()
1169 IrOpcode::kNumberConstant, Operator::kPure, // opcode in NumberConstant()
1175 const Operator* CommonOperatorBuilder::PointerConstant(intptr_t value) { in PointerConstant()
1177 IrOpcode::kPointerConstant, Operator::kPure, // opcode in PointerConstant()
1183 const Operator* CommonOperatorBuilder::HeapConstant( in HeapConstant()
1186 IrOpcode::kHeapConstant, Operator::kPure, // opcode in HeapConstant()
1192 Handle<HeapObject> HeapConstantOf(const Operator* op) { in HeapConstantOf()
1197 const Operator* CommonOperatorBuilder::RelocatableInt32Constant( in RelocatableInt32Constant()
1200 IrOpcode::kRelocatableInt32Constant, Operator::kPure, // opcode in RelocatableInt32Constant()
1206 const Operator* CommonOperatorBuilder::RelocatableInt64Constant( in RelocatableInt64Constant()
1209 IrOpcode::kRelocatableInt64Constant, Operator::kPure, // opcode in RelocatableInt64Constant()
1215 const Operator* CommonOperatorBuilder::ObjectId(uint32_t object_id) { in ObjectId()
1217 IrOpcode::kObjectId, Operator::kPure, // opcode in ObjectId()
1223 const Operator* CommonOperatorBuilder::Select(MachineRepresentation rep, in Select()
1226 IrOpcode::kSelect, Operator::kPure, // opcode in Select()
1233 const Operator* CommonOperatorBuilder::Phi(MachineRepresentation rep, in Phi()
1239 return &cache_.kPhi##kRep##kValueInputCount##Operator; \ in Phi()
1245 IrOpcode::kPhi, Operator::kPure, // opcode in Phi()
1251 const Operator* CommonOperatorBuilder::TypeGuard(Type type) { in TypeGuard()
1253 IrOpcode::kTypeGuard, Operator::kPure, // opcode in TypeGuard()
1259 const Operator* CommonOperatorBuilder::EffectPhi(int effect_input_count) { in EffectPhi()
1264 return &cache_.kEffectPhi##input_count##Operator; in EffectPhi()
1271 return new (zone()) Operator( // -- in EffectPhi()
1272 IrOpcode::kEffectPhi, Operator::kKontrol, // opcode in EffectPhi()
1277 const Operator* CommonOperatorBuilder::InductionVariablePhi(int input_count) { in InductionVariablePhi()
1283 return &cache_.kInductionVariablePhi##input_count##Operator; in InductionVariablePhi()
1290 return new (zone()) Operator( // -- in InductionVariablePhi()
1291 IrOpcode::kInductionVariablePhi, Operator::kPure, // opcode in InductionVariablePhi()
1296 const Operator* CommonOperatorBuilder::BeginRegion( in BeginRegion()
1307 const Operator* CommonOperatorBuilder::StateValues(int arguments, in StateValues()
1313 return &cache_.kStateValues##arguments##Operator; in StateValues()
1327 IrOpcode::kStateValues, Operator::kPure, // opcode in StateValues()
1333 const Operator* CommonOperatorBuilder::TypedStateValues( in TypedStateValues()
1341 IrOpcode::kTypedStateValues, Operator::kPure, // opcode in TypedStateValues()
1347 const Operator* CommonOperatorBuilder::ArgumentsElementsState( in ArgumentsElementsState()
1350 IrOpcode::kArgumentsElementsState, Operator::kPure, // opcode in ArgumentsElementsState()
1356 const Operator* CommonOperatorBuilder::ArgumentsLengthState( in ArgumentsLengthState()
1359 IrOpcode::kArgumentsLengthState, Operator::kPure, // opcode in ArgumentsLengthState()
1365 ArgumentsStateType ArgumentsStateTypeOf(Operator const* op) { in ArgumentsStateTypeOf()
1371 const Operator* CommonOperatorBuilder::ObjectState(uint32_t object_id, in ObjectState()
1374 IrOpcode::kObjectState, Operator::kPure, // opcode in ObjectState()
1380 const Operator* CommonOperatorBuilder::TypedObjectState( in TypedObjectState()
1383 IrOpcode::kTypedObjectState, Operator::kPure, // opcode in TypedObjectState()
1389 uint32_t ObjectIdOf(Operator const* op) { in ObjectIdOf()
1402 MachineRepresentation DeadValueRepresentationOf(Operator const* op) { in DeadValueRepresentationOf()
1407 const Operator* CommonOperatorBuilder::FrameState( in FrameState()
1412 IrOpcode::kFrameState, Operator::kPure, // opcode in FrameState()
1418 const Operator* CommonOperatorBuilder::Call( in Call()
1427 Operator::ZeroIfPure(call_descriptor->properties()), in Call()
1428 Operator::ZeroIfEliminatable(call_descriptor->properties()), in Call()
1430 Operator::ZeroIfPure(call_descriptor->properties()), in Call()
1431 Operator::ZeroIfNoThrow(call_descriptor->properties()), in Call()
1441 const Operator* CommonOperatorBuilder::CallWithCallerSavedRegisters( in CallWithCallerSavedRegisters()
1451 Operator::ZeroIfPure(call_descriptor->properties()), in CallWithCallerSavedRegisters()
1452 Operator::ZeroIfEliminatable(call_descriptor->properties()), in CallWithCallerSavedRegisters()
1454 Operator::ZeroIfPure(call_descriptor->properties()), in CallWithCallerSavedRegisters()
1455 Operator::ZeroIfNoThrow(call_descriptor->properties()), in CallWithCallerSavedRegisters()
1465 const Operator* CommonOperatorBuilder::TailCall( in TailCall()
1472 call_descriptor->properties() | Operator::kNoThrow, "TailCall", in TailCall()
1484 const Operator* CommonOperatorBuilder::Projection(size_t index) { in Projection()
1488 return &cache_.kProjection##index##Operator; in Projection()
1497 Operator::kPure, // flags in Projection()
1504 const Operator* CommonOperatorBuilder::ResizeMergeOrPhi(const Operator* op, in ResizeMergeOrPhi()
1527 const Operator* CommonOperatorBuilder::DeadValue(MachineRepresentation rep) { in DeadValue()
1529 IrOpcode::kDeadValue, Operator::kPure, // opcode in DeadValue()
1535 const FrameStateInfo& FrameStateInfoOf(const Operator* op) { in FrameStateInfoOf()