Home
last modified time | relevance | path

Searched refs:SmiConstant (Results 1 - 25 of 48) sorted by relevance

12

/third_party/node/deps/v8/src/ic/
H A Dbinary-op-assembler.cc71 var_type_feedback = SmiConstant(BinaryOperationFeedback::kSignedSmall); in Generate_AddWithFeedback()
120 var_type_feedback = SmiConstant(BinaryOperationFeedback::kNumber); in Generate_AddWithFeedback()
172 var_type_feedback = SmiConstant(BinaryOperationFeedback::kString); in Generate_AddWithFeedback()
202 var_type_feedback = SmiConstant(BinaryOperationFeedback::kBigInt); in Generate_AddWithFeedback()
210 UpdateFeedback(SmiConstant(BinaryOperationFeedback::kAny), in Generate_AddWithFeedback()
218 var_type_feedback = SmiConstant(BinaryOperationFeedback::kNumberOrOddball); in Generate_AddWithFeedback()
224 var_type_feedback = SmiConstant(BinaryOperationFeedback::kAny); in Generate_AddWithFeedback()
334 var_type_feedback = SmiConstant(BinaryOperationFeedback::kNumber); in Generate_BinaryOperationWithFeedback()
362 SmiConstant(BinaryOperationFeedback::kNumberOrOddball); in Generate_BinaryOperationWithFeedback()
372 SmiConstant(BinaryOperationFeedbac in Generate_BinaryOperationWithFeedback()
[all...]
H A Dunary-op-assembler.cc47 UpdateFeedback(SmiConstant(BinaryOperationFeedback::kBigInt), in BitwiseNot()
51 SmiConstant(Operation::kBitwiseNot)); in BitwiseNot()
84 GotoIf(SmiEqual(smi_value, SmiConstant(0)), &if_zero); in Negate()
87 GotoIf(SmiEqual(smi_value, SmiConstant(Smi::kMinValue)), &if_min_smi); in Negate()
91 var_result = SmiSub(SmiConstant(0), smi_value); in Negate()
112 SmiConstant(Operation::kNegate))); in Negate()
138 TVARIABLE(Smi, var_feedback, SmiConstant(BinaryOperationFeedback::kNone)); in UnaryOpWithFeedback()
185 SmiConstant(BinaryOperationFeedback::kNone))); in UnaryOpWithFeedback()
199 SmiConstant(BinaryOperationFeedback::kNone))); in UnaryOpWithFeedback()
236 TrySmiAdd(smi_value, SmiConstant(kAddValu in IncrementOrDecrement()
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-async-generator-gen.cc31 return SmiEqual(state, SmiConstant(JSGeneratorObject::kGeneratorClosed)); in IsGeneratorStateClosed()
39 return SmiGreaterThanOrEqual(state, SmiConstant(0)); in IsGeneratorStateSuspended()
48 return SmiEqual(state, SmiConstant(0)); in IsGeneratorStateSuspendedAtStart()
53 SmiConstant(JSGeneratorObject::kGeneratorExecuting)); in IsGeneratorStateNotExecuting()
64 return TaggedEqual(is_generator_awaiting, SmiConstant(1)); in IsGeneratorAwaiting()
70 generator, JSAsyncGeneratorObject::kIsAwaitingOffset, SmiConstant(1)); in SetGeneratorAwaiting()
78 generator, JSAsyncGeneratorObject::kIsAwaitingOffset, SmiConstant(0)); in SetGeneratorNotAwaiting()
85 SmiConstant(JSGeneratorObject::kGeneratorClosed)); in CloseGenerator()
112 return SmiNotEqual(resume_type, SmiConstant(JSGeneratorObject::kNext)); in IsAbruptResumeType()
171 SmiConstant(JSAsyncGeneratorObjec in AsyncGeneratorEnqueue()
[all...]
H A Dbuiltins-async-function-gen.cc62 SmiConstant(JSGeneratorObject::kGeneratorClosed))); in AsyncFunctionAwaitResumeClosure()
67 SmiConstant(resume_mode)); in AsyncFunctionAwaitResumeClosure()
130 SmiConstant(0)); in TF_BUILTIN()
133 SmiConstant(JSAsyncFunctionObject::kNext)); in TF_BUILTIN()
136 SmiConstant(JSAsyncFunctionObject::kGeneratorExecuting)); in TF_BUILTIN()
H A Dbuiltins-regexp-gen.cc42 TNode<Smi> RegExpBuiltinsAssembler::SmiZero() { return SmiConstant(0); } in SmiZero()
99 length, SmiConstant(JSArray::kMaxFastArrayLength))); in AllocateRegExpResult()
100 CSA_DCHECK(this, SmiGreaterThan(length, SmiConstant(0))); in AllocateRegExpResult()
253 GotoIf(SmiEqual(num_results, SmiConstant(1)), &maybe_build_indices); in ConstructNewResultFromMatchInfo()
274 GotoIf(SmiEqual(start_cursor, SmiConstant(-1)), &next_iter); in ConstructNewResultFromMatchInfo()
295 CSA_DCHECK(this, SmiGreaterThan(num_results, SmiConstant(1))); in ConstructNewResultFromMatchInfo()
309 SmiConstant(JSRegExp::IRREGEXP)), in ConstructNewResultFromMatchInfo()
311 SmiConstant(JSRegExp::EXPERIMENTAL)))); in ConstructNewResultFromMatchInfo()
497 GotoIf(SmiAbove(capture_count, SmiConstant(kOffsetsSize / 2 - 1)), in RegExpExecInternal()
555 SmiConstant(JSRegEx in RegExpExecInternal()
[all...]
H A Dbuiltins-generator-gen.cc48 TNode<Smi> closed = SmiConstant(JSGeneratorObject::kGeneratorClosed); in InnerResume()
56 SmiConstant(resume_mode)); in InnerResume()
79 TNode<Smi> executing = SmiConstant(JSGeneratorObject::kGeneratorExecuting); in InnerResume()
H A Dbuiltins-collections-gen.cc733 SmiConstant(0));
852 SmiConstant(Protectors::kProtectorValid)),
876 GotoIfNot(TaggedEqual(index, SmiConstant(0)), if_false);
911 SmiConstant(Protectors::kProtectorValid)),
941 GotoIfNot(TaggedEqual(index, SmiConstant(0)), if_false);
1325 GotoIfNot(SmiLessThan(SmiConstant(0), index), &return_zero);
1360 Return(SmiConstant(0));
1472 Branch(SmiGreaterThanOrEqual(index, SmiConstant(0)), &if_found,
1498 Branch(SmiGreaterThanOrEqual(index, SmiConstant(0)), &if_found,
1519 result = SmiConstant(
[all...]
H A Dbuiltins-internal-gen.cc104 GotoIfNot(SmiToInt32(SmiAnd(flags, SmiConstant(DebugInfo::kBreakAtEntry))), in TF_BUILTIN()
614 SmiConstant(0)); in DictionarySpecificDelete()
618 TNode<Smi> new_nof = SmiSub(nof, SmiConstant(1)); in DictionarySpecificDelete()
622 TNode<Smi> new_deleted = SmiAdd(num_deleted, SmiConstant(1)); in DictionarySpecificDelete()
629 GotoIf(SmiLessThan(new_nof, SmiConstant(16)), &shrinking_done); in DictionarySpecificDelete()
728 GotoIf(SmiNotEqual(language_mode, SmiConstant(LanguageMode::kSloppy)), in TF_BUILTIN()
1095 SmiConstant(Smi::FromInt(AllocateDoubleAlignFlag::encode(false) | in TF_BUILTIN()
1106 SmiConstant(Smi::FromInt(AllocateDoubleAlignFlag::encode(false) | in TF_BUILTIN()
1117 SmiConstant(Smi::FromInt(AllocateDoubleAlignFlag::encode(false) | in TF_BUILTIN()
1128 SmiConstant(Sm in TF_BUILTIN()
[all...]
H A Dbuiltins-array-gen.cc532 TNode<Smi> length = SmiConstant(0); in ConstructArrayLike()
608 GotoIf(SmiGreaterThan(length, SmiConstant(0)), &done); in ReturnIfEmpty()
1409 TVARIABLE(Number, var_source_index, SmiConstant(0)); in FlattenIntoArray()
1425 SmiGreaterThanOrEqual(CAST(source_index), SmiConstant(0))); in FlattenIntoArray()
1454 GotoIfNumberGreaterThanOrEqual(SmiConstant(0), depth, &if_noflatten); in FlattenIntoArray()
1580 TVARIABLE(Number, var_depth_num, SmiConstant(1)); in TF_BUILTIN()
1595 const TNode<JSReceiver> a = Construct(context, constructor, SmiConstant(0)); in TF_BUILTIN()
1599 SmiConstant(0), var_depth_num.value()); in TF_BUILTIN()
1632 const TNode<JSReceiver> a = Construct(context, constructor, SmiConstant(0)); in TF_BUILTIN()
1636 SmiConstant( in TF_BUILTIN()
[all...]
H A Dbuiltins-promise-gen.cc27 StoreObjectFieldNoWriteBarrier(promise, offset, SmiConstant(Smi::zero())); in ZeroOutEmbedderOffsets()
H A Dbuiltins-temporal-gen.cc73 SmiConstant(MessageTemplate::kIterableYieldedNonString), in TemporalInstantFixedArrayFromIterable()
H A Dbuiltins-string-gen.cc945 Builtin::kStringIndexOf, context, string, dollar_string, SmiConstant(0))); in IndexOfDollarChar()
998 const TNode<Smi> smi_zero = SmiConstant(0); in TF_BUILTIN()
1197 global_char_string, SmiConstant(0))); in TF_BUILTIN()
1198 Branch(SmiEqual(global_ix, SmiConstant(-1)), &throw_exception, &next); in TF_BUILTIN()
1248 CSA_DCHECK(this, SmiGreaterThan(subject_length, SmiConstant(0))); in StringToArray()
1340 TNode<Smi> smi_zero = SmiConstant(0); in TF_BUILTIN()
1382 TNode<Smi> length = SmiConstant(1); in TF_BUILTIN()
1516 SmiConstant(Protectors::kProtectorValid)), in BranchIfStringPrimitiveWithNoCustomIteration()
H A Dbuiltins-object-gen.cc195 PACKED_ELEMENTS, array_map, IntPtrConstant(0), SmiConstant(0)); in GetOwnValuesOrEntries()
322 PACKED_ELEMENTS, array_map, SmiConstant(2), base::nullopt, in FastGetOwnValuesOrEntries()
524 var_length = SmiConstant(0); in TF_BUILTIN()
664 var_length = SmiConstant(0); in TF_BUILTIN()
1275 TNode<Smi> resume_mode = SmiConstant(JSGeneratorObject::ResumeMode::kNext); in TF_BUILTIN()
1278 TNode<Smi> executing = SmiConstant(JSGeneratorObject::kGeneratorExecuting); in TF_BUILTIN()
1285 result, JSAsyncGeneratorObject::kIsAwaitingOffset, SmiConstant(0)); in TF_BUILTIN()
H A Dbuiltins-iterator-gen.cc214 SmiConstant(MessageTemplate::kWasmTrapMultiReturnLengthMismatch))); in TF_BUILTIN()
264 SmiConstant(MessageTemplate::kIterableYieldedNonString), in StringListFromIterable()
H A Dbuiltins-call-gen.cc379 SmiConstant(Protectors::kProtectorInvalid)), in CallOrConstructWithSpread()
422 message_id = SmiConstant( in CallOrConstructWithSpread()
427 message_id = SmiConstant( in CallOrConstructWithSpread()
H A Dbuiltins-typed-array-gen.cc28 StoreObjectField(holder, offset, SmiConstant(0)); in SetupTypedArrayEmbedderFields()
75 StoreObjectFieldNoWriteBarrier(buffer, offset, SmiConstant(0)); in AllocateEmptyOnHeapBuffer()
458 SmiConstant(0)); in SetJSTypedArrayOffHeapDataPtr()
H A Dbuiltins-intl-gen.cc181 IntPtrConstant(0), SmiConstant(0)); in AllocateEmptyJSArray()
H A Dbuiltins-async-gen.cc96 SmiConstant(Context::MIN_CONTEXT_EXTENDED_SLOTS)); in Await()
/third_party/node/deps/v8/src/compiler/
H A Djs-type-hint-lowering.cc296 jsgraph()->SmiConstant(-1), effect, control, slot); in ReduceUnaryOperation()
305 jsgraph()->SmiConstant(1), effect, control, slot); in ReduceUnaryOperation()
313 operand, jsgraph()->SmiConstant(1), effect, in ReduceUnaryOperation()
323 jsgraph()->SmiConstant(-1), effect, control, slot); in ReduceUnaryOperation()
H A Djs-graph.h67 Node* SmiConstant(int32_t immediate) { in SmiConstant() function in v8::internal::compiler::JSGraph
H A Djs-create-lowering.cc1031 a.Store(AccessBuilder::ForJSStringIteratorIndex(), jsgraph()->SmiConstant(0)); in ReduceJSCreateStringIterator()
1375 jsgraph()->SmiConstant(length)); in ReduceJSCreateObject()
1378 jsgraph()->SmiConstant(0)); in ReduceJSCreateObject()
1380 jsgraph()->SmiConstant(0)); in ReduceJSCreateObject()
1382 jsgraph()->SmiConstant(capacity)); in ReduceJSCreateObject()
1385 jsgraph()->SmiConstant(PropertyDetails::kInitialIndex)); in ReduceJSCreateObject()
1387 jsgraph()->SmiConstant(PropertyArray::kNoHashSentinel)); in ReduceJSCreateObject()
1938 jsgraph()->SmiConstant(boilerplate.flags())); in AllocateLiteralRegExp()
1940 jsgraph()->SmiConstant(JSRegExp::kInitialLastIndexValue)); in AllocateLiteralRegExp()
H A Dcode-assembler.cc276 return UncheckedCast<Number>(SmiConstant(smi_value)); in NumberConstant()
287 TNode<Smi> CodeAssembler::SmiConstant(Smi value) { in SmiConstant() function in v8::internal::compiler::CodeAssembler
292 TNode<Smi> CodeAssembler::SmiConstant(int value) { in SmiConstant() function in v8::internal::compiler::CodeAssembler
293 return SmiConstant(Smi::FromInt(value)); in SmiConstant()
741 return SmiConstant(Smi::cast(*root)); in LoadRoot()
/third_party/node/deps/v8/src/codegen/
H A Dcode-stub-assembler.cc156 call_count, SmiConstant(1 << FeedbackNexus::CallCountField::kShift)); in IncrementCallCount()
196 CallRuntime(Runtime::kPrintWithNameForAssert, SmiConstant(0), in FailAssert()
227 return SelectConstant<Smi>(condition, SmiConstant(true_value), in SelectSmiConstant()
228 SmiConstant(false_value)); in SelectSmiConstant()
232 return SmiConstant(Context::kNoContext); in NoContextConstant()
269 return SmiConstant(value); in BIntConstant()
279 return SmiConstant(value); in IntPtrOrSmiConstant()
780 return SmiConstant(constant_value); in SmiTag()
1052 var_result = SmiConstant(0); in SmiMul()
1075 GotoIf(TaggedEqual(divisor, SmiConstant( in TrySmiDiv()
[all...]
/third_party/node/deps/v8/src/maglev/
H A Dmaglev-graph-builder.cc163 ValueNode* right = AddNewNode<SmiConstant>({}, constant); in BuildGenericBinarySmiOperationNode()
242 SetAccumulator(AddNewNode<SmiConstant>({}, Smi::zero())); in VisitLdaZero()
246 SetAccumulator(AddNewNode<SmiConstant>({}, constant)); in VisitLdaSmi()
/third_party/node/deps/v8/src/interpreter/
H A Dinterpreter-assembler.cc1325 TNode<Smi> abort_id = SmiConstant(abort_reason); in Abort()
1568 var_type_feedback = SmiConstant(BinaryOperationFeedback::kSignedSmall); in ToNumberOrNumeric()
1575 var_type_feedback = SmiConstant(BinaryOperationFeedback::kNumber); in ToNumberOrNumeric()
1589 var_type_feedback = SmiConstant(BinaryOperationFeedback::kBigInt); in ToNumberOrNumeric()
1597 var_type_feedback = SmiConstant(BinaryOperationFeedback::kAny); in ToNumberOrNumeric()

Completed in 38 milliseconds

12