/third_party/node/deps/v8/src/ic/ |
H A D | binary-op-assembler.cc | 71 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 D | unary-op-assembler.cc | 47 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 D | builtins-async-generator-gen.cc | 31 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 D | builtins-async-function-gen.cc | 62 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 D | builtins-regexp-gen.cc | 42 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 D | builtins-generator-gen.cc | 48 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 D | builtins-collections-gen.cc | 733 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 D | builtins-internal-gen.cc | 104 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 D | builtins-array-gen.cc | 532 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 D | builtins-promise-gen.cc | 27 StoreObjectFieldNoWriteBarrier(promise, offset, SmiConstant(Smi::zero())); in ZeroOutEmbedderOffsets()
|
H A D | builtins-temporal-gen.cc | 73 SmiConstant(MessageTemplate::kIterableYieldedNonString), in TemporalInstantFixedArrayFromIterable()
|
H A D | builtins-string-gen.cc | 945 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 D | builtins-object-gen.cc | 195 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 D | builtins-iterator-gen.cc | 214 SmiConstant(MessageTemplate::kWasmTrapMultiReturnLengthMismatch))); in TF_BUILTIN() 264 SmiConstant(MessageTemplate::kIterableYieldedNonString), in StringListFromIterable()
|
H A D | builtins-call-gen.cc | 379 SmiConstant(Protectors::kProtectorInvalid)), in CallOrConstructWithSpread() 422 message_id = SmiConstant( in CallOrConstructWithSpread() 427 message_id = SmiConstant( in CallOrConstructWithSpread()
|
H A D | builtins-typed-array-gen.cc | 28 StoreObjectField(holder, offset, SmiConstant(0)); in SetupTypedArrayEmbedderFields() 75 StoreObjectFieldNoWriteBarrier(buffer, offset, SmiConstant(0)); in AllocateEmptyOnHeapBuffer() 458 SmiConstant(0)); in SetJSTypedArrayOffHeapDataPtr()
|
H A D | builtins-intl-gen.cc | 181 IntPtrConstant(0), SmiConstant(0)); in AllocateEmptyJSArray()
|
H A D | builtins-async-gen.cc | 96 SmiConstant(Context::MIN_CONTEXT_EXTENDED_SLOTS)); in Await()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | js-type-hint-lowering.cc | 296 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 D | js-graph.h | 67 Node* SmiConstant(int32_t immediate) { in SmiConstant() function in v8::internal::compiler::JSGraph
|
H A D | js-create-lowering.cc | 1031 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 D | code-assembler.cc | 276 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 D | code-stub-assembler.cc | 156 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 D | maglev-graph-builder.cc | 163 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 D | interpreter-assembler.cc | 1325 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()
|