Home
last modified time | relevance | path

Searched refs:OpParameter (Results 1 – 25 of 44) sorted by relevance

12

/external/v8/src/compiler/
Drepresentation-change.cc177 int32_t value = OpParameter<int32_t>(node); in GetTaggedRepresentationFor()
180 uint32_t value = static_cast<uint32_t>(OpParameter<int32_t>(node)); in GetTaggedRepresentationFor()
183 return OpParameter<int32_t>(node) == 0 ? jsgraph()->FalseConstant() in GetTaggedRepresentationFor()
190 return jsgraph()->Constant(OpParameter<double>(node)); in GetTaggedRepresentationFor()
192 return jsgraph()->Constant(OpParameter<float>(node)); in GetTaggedRepresentationFor()
248 DoubleToFloat32(OpParameter<double>(node))); in GetFloat32RepresentationFor()
251 uint32_t value = static_cast<uint32_t>(OpParameter<int32_t>(node)); in GetFloat32RepresentationFor()
254 int32_t value = OpParameter<int32_t>(node); in GetFloat32RepresentationFor()
309 return jsgraph()->Float64Constant(OpParameter<double>(node)); in GetFloat64RepresentationFor()
312 int32_t value = OpParameter<int32_t>(node); in GetFloat64RepresentationFor()
[all …]
Djs-operator.cc45 return OpParameter<ConvertReceiverMode>(op); in ConvertReceiverModeOf()
51 return OpParameter<ToBooleanHints>(op); in ToBooleanHintsOf()
79 return OpParameter<CallConstructParameters>(op); in CallConstructParametersOf()
91 return OpParameter<CallFunctionParameters>(op); in CallFunctionParametersOf()
119 return OpParameter<CallRuntimeParameters>(op); in CallRuntimeParametersOf()
157 return OpParameter<ContextAccess>(op); in ContextAccessOf()
187 return OpParameter<NamedAccess>(op); in NamedAccessOf()
210 return OpParameter<PropertyAccess>(op); in PropertyAccessOf()
245 return OpParameter<LoadGlobalParameters>(op); in LoadGlobalParametersOf()
276 return OpParameter<StoreGlobalParameters>(op); in StoreGlobalParametersOf()
[all …]
Dinstruction-selector-impl.h210 return Constant(OpParameter<int32_t>(node)); in ToConstant()
212 return Constant(OpParameter<int64_t>(node)); in ToConstant()
214 return Constant(OpParameter<float>(node)); in ToConstant()
217 return Constant(OpParameter<RelocatablePtrConstantInfo>(node)); in ToConstant()
220 return Constant(OpParameter<double>(node)); in ToConstant()
223 return Constant(OpParameter<ExternalReference>(node)); in ToConstant()
225 return Constant(OpParameter<Handle<HeapObject>>(node)); in ToConstant()
Dnode-matchers.h54 value_ = OpParameter<T>(node); in ValueMatcher()
77 value_ = static_cast<uint32_t>(OpParameter<int32_t>(node)); in ValueMatcher()
86 value_ = OpParameter<int32_t>(node); in ValueMatcher()
89 value_ = OpParameter<int64_t>(node); in ValueMatcher()
100 value_ = static_cast<uint32_t>(OpParameter<int32_t>(node)); in ValueMatcher()
103 value_ = static_cast<uint64_t>(OpParameter<int64_t>(node)); in ValueMatcher()
526 value = OpParameter<int32_t>(displacement); in Initialize()
530 value = OpParameter<int64_t>(displacement); in Initialize()
Dsimplified-operator.cc86 return OpParameter<BufferAccess>(op); in BufferAccessOf()
164 return OpParameter<FieldAccess>(op); in FieldAccessOf()
172 return OpParameter<ElementAccess>(op); in ElementAccessOf()
192 return OpParameter<CheckFloat64HoleMode>(op); in CheckFloat64HoleModeOf()
212 return OpParameter<CheckTaggedHoleMode>(op); in CheckTaggedHoleModeOf()
217 return OpParameter<Type*>(op); in TypeOf()
226 return OpParameter<BinaryOperationHints::Hint>(op); in BinaryOperationHintOf()
233 return OpParameter<CompareOperationHints::Hint>(op); in CompareOperationHintOf()
Dcommon-operator.cc35 return OpParameter<BranchHint>(op); in BranchHintOf()
56 return OpParameter<DeoptimizeKind>(op); in DeoptimizeKindOf()
98 return OpParameter<SelectParameters>(op); in SelectParametersOf()
104 return OpParameter<CallDescriptor const*>(op); in CallDescriptorOf()
109 return OpParameter<size_t>(op); in ProjectionIndexOf()
115 return OpParameter<MachineRepresentation>(op); in PhiRepresentationOf()
121 return OpParameter<ParameterInfo>(op).index(); in ParameterIndexOf()
127 return OpParameter<ParameterInfo>(op); in ParameterInfoOf()
187 return OpParameter<RegionObservability>(op); in RegionObservabilityOf()
Djs-create-lowering.cc106 FrameStateInfo outer_state_info = OpParameter<FrameStateInfo>(outer_state); in GetArgumentsFrameState()
285 FrameStateInfo state_info = OpParameter<FrameStateInfo>(frame_state); in ReduceJSCreateArguments()
351 FrameStateInfo args_state_info = OpParameter<FrameStateInfo>(args_state); in ReduceJSCreateArguments()
389 FrameStateInfo args_state_info = OpParameter<FrameStateInfo>(args_state); in ReduceJSCreateArguments()
426 FrameStateInfo args_state_info = OpParameter<FrameStateInfo>(args_state); in ReduceJSCreateArguments()
651 int slot_count = OpParameter<int>(node->op()); in ReduceJSCreateFunctionContext()
709 Handle<String> name = OpParameter<Handle<String>>(node); in ReduceJSCreateCatchContext()
736 Handle<ScopeInfo> scope_info = OpParameter<Handle<ScopeInfo>>(node); in ReduceJSCreateBlockContext()
773 FrameStateInfo state_info = OpParameter<FrameStateInfo>(frame_state); in AllocateArguments()
796 FrameStateInfo state_info = OpParameter<FrameStateInfo>(frame_state); in AllocateRestArguments()
[all …]
Dnode-properties.cc321 return Handle<Context>::cast(OpParameter<Handle<HeapObject>>(node)); in GetSpecializationContext()
370 Handle<Context>::cast(OpParameter<Handle<HeapObject>>(node)); in GetSpecializationNativeContext()
374 int const index = OpParameter<int>(node); in GetSpecializationNativeContext()
Djs-frame-specialization.cc31 int const index = OpParameter<int>(node); in ReduceOsrValue()
Dgraph-replay.cc58 PrintF("%g", OpParameter<double>(op)); in PrintReplayOpCreator()
Dmachine-operator.cc40 return OpParameter<LoadRepresentation>(op); in LoadRepresentationOf()
46 return OpParameter<StoreRepresentation>(op); in StoreRepresentationOf()
52 return OpParameter<CheckedLoadRepresentation>(op); in CheckedLoadRepresentationOf()
58 return OpParameter<CheckedStoreRepresentation>(op); in CheckedStoreRepresentationOf()
63 return OpParameter<MachineRepresentation>(op); in StackSlotRepresentationOf()
68 return OpParameter<MachineRepresentation>(op); in AtomicStoreRepresentationOf()
Djs-inlining.cc207 FrameStateInfo const& frame_info = OpParameter<FrameStateInfo>(frame_state); in CreateTailCallerFrameState()
217 FrameStateInfo const& frame_info = OpParameter<FrameStateInfo>(frame_state); in CreateTailCallerFrameState()
336 FrameStateInfo const& frame_info = OpParameter<FrameStateInfo>(frame_state); in ReduceJSCall()
Djs-generic-lowering.cc318 LanguageMode language_mode = OpParameter<LanguageMode>(node); in LowerJSDeleteProperty()
481 int const slot_count = OpParameter<int>(node->op()); in LowerJSCreateFunctionContext()
553 Handle<String> name = OpParameter<Handle<String>>(node); in LowerJSCreateCatchContext()
560 Handle<ScopeInfo> scope_info = OpParameter<Handle<ScopeInfo>>(node); in LowerJSCreateBlockContext()
567 Handle<ScopeInfo> scope_info = OpParameter<Handle<ScopeInfo>>(node); in LowerJSCreateScriptContext()
Dstore-store-elimination.cc206 FieldAccess access = OpParameter<FieldAccess>(current_node->op()); in ReduceEligibleNode()
Dnode.h342 static inline const T& OpParameter(const Node* node) { in OpParameter() function
343 return OpParameter<T>(node->op()); in OpParameter()
Doperator.h194 inline T const& OpParameter(const Operator* op) { in OpParameter() function
Djs-call-reducer.cc134 FrameStateInfo outer_info = OpParameter<FrameStateInfo>(outer_state); in ReduceFunctionPrototypeApply()
139 FrameStateInfo state_info = OpParameter<FrameStateInfo>(frame_state); in ReduceFunctionPrototypeApply()
Dmemory-optimizer.cc108 PretenureFlag pretenure = OpParameter<PretenureFlag>(node->op()); in VisitAllocate()
134 if (OpParameter<int32_t>(group->size()) < state_size) { in VisitAllocate()
/external/v8/test/cctest/compiler/
Dvalue-helper.h32 CHECK_EQ(expected, OpParameter<double>(node)); in CheckFloat64Constant()
37 CHECK_EQ(expected, OpParameter<double>(node)); in CheckNumberConstant()
42 CHECK_EQ(expected, OpParameter<int32_t>(node)); in CheckInt32Constant()
47 CHECK_EQ(expected, OpParameter<int32_t>(node)); in CheckUint32Constant()
52 CHECK_EQ(expected, *OpParameter<Handle<HeapObject>>(node)); in CheckHeapConstant()
Dtest-operator.cc245 CHECK_EQ(values[i], OpParameter<double>(&op)); in TEST()
258 CHECK_EQ(values[i], OpParameter<float>(&op)); in TEST()
268 CHECK_EQ(values[i], OpParameter<int>(&op)); in TEST()
Dtest-js-context-specialization.cc99 ContextAccess access = OpParameter<ContextAccess>(r.replacement()); in TEST()
181 ContextAccess access = OpParameter<ContextAccess>(r.replacement()); in TEST()
Dtest-js-constant-cache.cc52 return OpParameter<Handle<HeapObject>>(node); in handle()
103 double zero_value = OpParameter<double>(zero); in TEST()
104 double minus_zero_value = OpParameter<double>(minus_zero); in TEST()
/external/v8/test/unittests/compiler/
Dcommon-operator-unittest.cc262 EXPECT_EQ(value, OpParameter<int32_t>(op)); in TEST_F()
304 EXPECT_PRED2(base::bit_equal_to<float>(), value, OpParameter<float>(op)); in TEST_F()
325 EXPECT_PRED2(base::bit_equal_to<double>(), value, OpParameter<double>(op)); in TEST_F()
346 EXPECT_PRED2(base::bit_equal_to<double>(), value, OpParameter<double>(op)); in TEST_F()
Dnode-test-utils.cc158 PrintMatchAndExplain(OpParameter<int32_t>(node->op()), "value", in MatchAndExplain()
425 PrintMatchAndExplain(OpParameter<T>(node), "value", value_matcher_, in MatchAndExplain()
634 PrintMatchAndExplain(OpParameter<size_t>(node), "index", in MatchAndExplain()
677 !PrintMatchAndExplain(OpParameter<const CallDescriptor*>(node), in MatchAndExplain()
743 !PrintMatchAndExplain(OpParameter<CallDescriptor const*>(node), in MatchAndExplain()
892 PrintMatchAndExplain(OpParameter<FieldAccess>(node), "access", in MatchAndExplain()
941 PrintMatchAndExplain(OpParameter<FieldAccess>(node), "access", in MatchAndExplain()
1118 PrintMatchAndExplain(OpParameter<ElementAccess>(node), "access", in MatchAndExplain()
1174 PrintMatchAndExplain(OpParameter<ElementAccess>(node), "access", in MatchAndExplain()
1237 PrintMatchAndExplain(OpParameter<LoadRepresentation>(node), "rep", in MatchAndExplain()
[all …]
Dmachine-operator-unittest.cc95 OpParameter<LoadRepresentation>(machine.Load(GetParam()))); in TEST_P()
156 OpParameter<StoreRepresentation>(machine.Store(GetParam()))); in TEST_P()

12