Lines Matching refs:Operator
35 BranchHint BranchHintOf(const Operator* const op) { in BranchHintOf()
40 int ValueInputCountOfReturn(Operator const* const op) { in ValueInputCountOfReturn()
63 DeoptimizeParameters const& DeoptimizeParametersOf(Operator const* const op) { in DeoptimizeParametersOf()
92 SelectParameters const& SelectParametersOf(const Operator* const op) { in SelectParametersOf()
97 CallDescriptor const* CallDescriptorOf(const Operator* const op) { in CallDescriptorOf()
103 size_t ProjectionIndexOf(const Operator* const op) { in ProjectionIndexOf()
109 MachineRepresentation PhiRepresentationOf(const Operator* const op) { in PhiRepresentationOf()
115 int ParameterIndexOf(const Operator* const op) { in ParameterIndexOf()
121 const ParameterInfo& ParameterInfoOf(const Operator* const op) { in ParameterInfoOf()
281 RegionObservability RegionObservabilityOf(Operator const* op) { in RegionObservabilityOf()
286 Type* TypeGuardTypeOf(Operator const* op) { in TypeGuardTypeOf()
305 int OsrValueIndexOf(Operator const* op) { in OsrValueIndexOf()
325 OsrGuardType OsrGuardTypeOf(Operator const* op) { in OsrGuardTypeOf()
330 SparseInputMask SparseInputMaskOf(Operator const* op) { in SparseInputMaskOf()
340 ZoneVector<MachineType> const* MachineTypesOf(Operator const* op) { in MachineTypesOf()
351 V(Dead, Operator::kFoldable, 0, 0, 0, 1, 1, 1) \
352 V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
353 V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
354 V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
355 V(IfException, Operator::kKontrol, 0, 1, 1, 1, 1, 1) \
356 V(IfDefault, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \
357 V(Throw, Operator::kKontrol, 1, 1, 1, 0, 0, 1) \
358 V(Terminate, Operator::kKontrol, 0, 1, 1, 0, 0, 1) \
359 V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \
360 V(OsrLoopEntry, Operator::kFoldable | Operator::kNoThrow, 0, 1, 1, 0, 1, 1) \
361 V(LoopExit, Operator::kKontrol, 0, 0, 2, 0, 0, 1) \
362 V(LoopExitValue, Operator::kPure, 1, 0, 1, 1, 0, 0) \
363 V(LoopExitEffect, Operator::kNoThrow, 0, 1, 1, 0, 1, 0) \
364 V(Checkpoint, Operator::kKontrol, 0, 1, 1, 0, 1, 0) \
365 V(FinishRegion, Operator::kKontrol, 1, 1, 0, 1, 1, 0) \
366 V(Retain, Operator::kKontrol, 1, 1, 0, 0, 1, 0)
502 struct Name##Operator final : public Operator { \
503 Name##Operator() \
504 : Operator(IrOpcode::k##Name, properties, #Name, value_input_count, \
509 Name##Operator k##Name##Operator;
514 struct EndOperator final : public Operator {
516 : Operator( // -- in EndOperator()
517 IrOpcode::kEnd, Operator::kKontrol, // opcode in EndOperator()
522 EndOperator<input_count> kEnd##input_count##Operator;
527 struct ReturnOperator final : public Operator {
529 : Operator( // -- in ReturnOperator()
530 IrOpcode::kReturn, Operator::kNoThrow, // opcode in ReturnOperator()
535 ReturnOperator<value_input_count> kReturn##value_input_count##Operator;
543 IrOpcode::kBranch, Operator::kKontrol, // opcode in BranchOperator()
553 struct EffectPhiOperator final : public Operator {
555 : Operator( // -- in EffectPhiOperator()
556 IrOpcode::kEffectPhi, Operator::kKontrol, // opcode in EffectPhiOperator()
561 EffectPhiOperator<input_count> kEffectPhi##input_count##Operator;
569 IrOpcode::kBeginRegion, Operator::kKontrol, // opcode in BeginRegionOperator()
580 struct LoopOperator final : public Operator {
582 : Operator( // -- in LoopOperator()
583 IrOpcode::kLoop, Operator::kKontrol, // opcode in LoopOperator()
588 LoopOperator<input_count> kLoop##input_count##Operator;
593 struct MergeOperator final : public Operator {
595 : Operator( // -- in MergeOperator()
596 IrOpcode::kMerge, Operator::kKontrol, // opcode in MergeOperator()
601 MergeOperator<input_count> kMerge##input_count##Operator;
610 Operator::kFoldable | Operator::kNoThrow, // properties in DeoptimizeOperator()
617 kDeoptimize##Kind##Reason##Operator;
626 Operator::kFoldable | Operator::kNoThrow, // properties in DeoptimizeIfOperator()
633 kDeoptimizeIf##Kind##Reason##Operator;
643 Operator::kFoldable | Operator::kNoThrow, // properties in DeoptimizeUnlessOperator()
651 kDeoptimizeUnless##Kind##Reason##Operator;
660 Operator::kFoldable | Operator::kNoThrow, // properties in TrapIfOperator()
667 kTrapIf##Trap##Operator;
676 Operator::kFoldable | Operator::kNoThrow, // properties in TrapUnlessOperator()
683 kTrapUnless##Trap##Operator;
691 IrOpcode::kPhi, Operator::kPure, // opcode in PhiOperator()
698 kPhi##rep##input_count##Operator;
703 struct InductionVariablePhiOperator final : public Operator {
705 : Operator( //-- in InductionVariablePhiOperator()
706 IrOpcode::kInductionVariablePhi, Operator::kPure, // opcode in InductionVariablePhiOperator()
712 kInductionVariablePhi##input_count##Operator;
720 IrOpcode::kParameter, Operator::kPure, // opcode in ParameterOperator()
726 ParameterOperator<index> kParameter##index##Operator;
735 Operator::kPure, // flags in ProjectionOperator()
741 ProjectionOperator<index> kProjection##index##Operator;
750 Operator::kPure, // flags in StateValuesOperator()
756 StateValuesOperator<input_count> kStateValues##input_count##Operator;
773 const Operator* CommonOperatorBuilder::Name() { \
774 return &cache_.k##Name##Operator; \
780 const Operator* CommonOperatorBuilder::End(size_t control_input_count) { in CACHED_OP_LIST()
784 return &cache_.kEnd##input_count##Operator; in CACHED_OP_LIST()
791 return new (zone()) Operator( //-- in CACHED_OP_LIST()
792 IrOpcode::kEnd, Operator::kKontrol, // opcode in CACHED_OP_LIST()
797 const Operator* CommonOperatorBuilder::Return(int value_input_count) { in Return()
801 return &cache_.kReturn##input_count##Operator; in Return()
808 return new (zone()) Operator( //-- in Return()
809 IrOpcode::kReturn, Operator::kNoThrow, // opcode in Return()
815 const Operator* CommonOperatorBuilder::Branch(BranchHint hint) { in Branch()
828 const Operator* CommonOperatorBuilder::Deoptimize(DeoptimizeKind kind, in Deoptimize()
833 return &cache_.kDeoptimize##Kind##Reason##Operator; \ in Deoptimize()
841 Operator::kFoldable | Operator::kNoThrow, // properties in Deoptimize()
847 const Operator* CommonOperatorBuilder::DeoptimizeIf(DeoptimizeKind kind, in DeoptimizeIf()
852 return &cache_.kDeoptimizeIf##Kind##Reason##Operator; \ in DeoptimizeIf()
860 Operator::kFoldable | Operator::kNoThrow, // properties in DeoptimizeIf()
866 const Operator* CommonOperatorBuilder::DeoptimizeUnless( in DeoptimizeUnless()
871 return &cache_.kDeoptimizeUnless##Kind##Reason##Operator; \ in DeoptimizeUnless()
879 Operator::kFoldable | Operator::kNoThrow, // properties in DeoptimizeUnless()
885 const Operator* CommonOperatorBuilder::TrapIf(int32_t trap_id) { in TrapIf()
889 return &cache_.kTrapIf##Trap##Operator; in TrapIf()
898 Operator::kFoldable | Operator::kNoThrow, // properties in TrapIf()
904 const Operator* CommonOperatorBuilder::TrapUnless(int32_t trap_id) { in TrapUnless()
908 return &cache_.kTrapUnless##Trap##Operator; in TrapUnless()
917 Operator::kFoldable | Operator::kNoThrow, // properties in TrapUnless()
923 const Operator* CommonOperatorBuilder::Switch(size_t control_output_count) { in Switch()
924 return new (zone()) Operator( // -- in Switch()
925 IrOpcode::kSwitch, Operator::kKontrol, // opcode in Switch()
931 const Operator* CommonOperatorBuilder::IfValue(int32_t index) { in IfValue()
933 IrOpcode::kIfValue, Operator::kKontrol, // opcode in IfValue()
940 const Operator* CommonOperatorBuilder::Start(int value_output_count) { in Start()
941 return new (zone()) Operator( // -- in Start()
942 IrOpcode::kStart, Operator::kFoldable | Operator::kNoThrow, // opcode in Start()
948 const Operator* CommonOperatorBuilder::Loop(int control_input_count) { in Loop()
952 return &cache_.kLoop##input_count##Operator; in Loop()
959 return new (zone()) Operator( // -- in Loop()
960 IrOpcode::kLoop, Operator::kKontrol, // opcode in Loop()
966 const Operator* CommonOperatorBuilder::Merge(int control_input_count) { in Merge()
970 return &cache_.kMerge##input_count##Operator; in Merge()
977 return new (zone()) Operator( // -- in Merge()
978 IrOpcode::kMerge, Operator::kKontrol, // opcode in Merge()
984 const Operator* CommonOperatorBuilder::Parameter(int index, in Parameter()
990 return &cache_.kParameter##index##Operator; in Parameter()
999 IrOpcode::kParameter, Operator::kPure, // opcode in Parameter()
1005 const Operator* CommonOperatorBuilder::OsrValue(int index) { in OsrValue()
1007 IrOpcode::kOsrValue, Operator::kNoProperties, // opcode in OsrValue()
1013 const Operator* CommonOperatorBuilder::OsrGuard(OsrGuardType type) { in OsrGuard()
1015 IrOpcode::kOsrGuard, Operator::kNoThrow, // opcode in OsrGuard()
1021 const Operator* CommonOperatorBuilder::Int32Constant(int32_t value) { in Int32Constant()
1023 IrOpcode::kInt32Constant, Operator::kPure, // opcode in Int32Constant()
1030 const Operator* CommonOperatorBuilder::Int64Constant(int64_t value) { in Int64Constant()
1032 IrOpcode::kInt64Constant, Operator::kPure, // opcode in Int64Constant()
1039 const Operator* CommonOperatorBuilder::Float32Constant(volatile float value) { in Float32Constant()
1041 IrOpcode::kFloat32Constant, Operator::kPure, // opcode in Float32Constant()
1048 const Operator* CommonOperatorBuilder::Float64Constant(volatile double value) { in Float64Constant()
1050 IrOpcode::kFloat64Constant, Operator::kPure, // opcode in Float64Constant()
1057 const Operator* CommonOperatorBuilder::ExternalConstant( in ExternalConstant()
1060 IrOpcode::kExternalConstant, Operator::kPure, // opcode in ExternalConstant()
1067 const Operator* CommonOperatorBuilder::NumberConstant(volatile double value) { in NumberConstant()
1069 IrOpcode::kNumberConstant, Operator::kPure, // opcode in NumberConstant()
1075 const Operator* CommonOperatorBuilder::PointerConstant(intptr_t value) { in PointerConstant()
1077 IrOpcode::kPointerConstant, Operator::kPure, // opcode in PointerConstant()
1083 const Operator* CommonOperatorBuilder::HeapConstant( in HeapConstant()
1086 IrOpcode::kHeapConstant, Operator::kPure, // opcode in HeapConstant()
1092 const Operator* CommonOperatorBuilder::RelocatableInt32Constant( in RelocatableInt32Constant()
1095 IrOpcode::kRelocatableInt32Constant, Operator::kPure, // opcode in RelocatableInt32Constant()
1101 const Operator* CommonOperatorBuilder::RelocatableInt64Constant( in RelocatableInt64Constant()
1104 IrOpcode::kRelocatableInt64Constant, Operator::kPure, // opcode in RelocatableInt64Constant()
1110 const Operator* CommonOperatorBuilder::Select(MachineRepresentation rep, in Select()
1113 IrOpcode::kSelect, Operator::kPure, // opcode in Select()
1120 const Operator* CommonOperatorBuilder::Phi(MachineRepresentation rep, in Phi()
1126 return &cache_.kPhi##kRep##kValueInputCount##Operator; \ in Phi()
1132 IrOpcode::kPhi, Operator::kPure, // opcode in Phi()
1138 const Operator* CommonOperatorBuilder::TypeGuard(Type* type) { in TypeGuard()
1140 IrOpcode::kTypeGuard, Operator::kPure, // opcode in TypeGuard()
1146 const Operator* CommonOperatorBuilder::EffectPhi(int effect_input_count) { in EffectPhi()
1151 return &cache_.kEffectPhi##input_count##Operator; in EffectPhi()
1158 return new (zone()) Operator( // -- in EffectPhi()
1159 IrOpcode::kEffectPhi, Operator::kKontrol, // opcode in EffectPhi()
1164 const Operator* CommonOperatorBuilder::InductionVariablePhi(int input_count) { in InductionVariablePhi()
1170 return &cache_.kInductionVariablePhi##input_count##Operator; in InductionVariablePhi()
1177 return new (zone()) Operator( // -- in InductionVariablePhi()
1178 IrOpcode::kInductionVariablePhi, Operator::kPure, // opcode in InductionVariablePhi()
1183 const Operator* CommonOperatorBuilder::BeginRegion( in BeginRegion()
1195 const Operator* CommonOperatorBuilder::StateValues(int arguments, in StateValues()
1201 return &cache_.kStateValues##arguments##Operator; in StateValues()
1215 IrOpcode::kStateValues, Operator::kPure, // opcode in StateValues()
1221 const Operator* CommonOperatorBuilder::TypedStateValues( in TypedStateValues()
1229 IrOpcode::kTypedStateValues, Operator::kPure, // opcode in TypedStateValues()
1235 const Operator* CommonOperatorBuilder::ArgumentsObjectState() { in ArgumentsObjectState()
1236 return new (zone()) Operator( // -- in ArgumentsObjectState()
1237 IrOpcode::kArgumentsObjectState, Operator::kPure, // opcode in ArgumentsObjectState()
1242 const Operator* CommonOperatorBuilder::ObjectState(int pointer_slots) { in ObjectState()
1244 IrOpcode::kObjectState, Operator::kPure, // opcode in ObjectState()
1250 const Operator* CommonOperatorBuilder::TypedObjectState( in TypedObjectState()
1253 IrOpcode::kTypedObjectState, Operator::kPure, // opcode in TypedObjectState()
1259 const Operator* CommonOperatorBuilder::FrameState( in FrameState()
1264 IrOpcode::kFrameState, Operator::kPure, // opcode in FrameState()
1271 const Operator* CommonOperatorBuilder::Call(const CallDescriptor* descriptor) { in Call()
1278 Operator::ZeroIfPure(descriptor->properties()), in Call()
1279 Operator::ZeroIfEliminatable(descriptor->properties()), in Call()
1281 Operator::ZeroIfPure(descriptor->properties()), in Call()
1282 Operator::ZeroIfNoThrow(descriptor->properties()), descriptor) {} in Call()
1292 const Operator* CommonOperatorBuilder::TailCall( in TailCall()
1299 descriptor->properties() | Operator::kNoThrow, "TailCall", in TailCall()
1311 const Operator* CommonOperatorBuilder::Projection(size_t index) { in Projection()
1315 return &cache_.kProjection##index##Operator; in Projection()
1324 Operator::kPure, // flags in Projection()
1331 const Operator* CommonOperatorBuilder::ResizeMergeOrPhi(const Operator* op, in ResizeMergeOrPhi()