/third_party/node/deps/v8/src/compiler/ |
D | int64-lowering.cc | 139 ReplaceNode(node, node, graph()->NewNode(common()->Int32Constant(0))); in LowerWord64AtomicNarrowOp() 156 graph()->NewNode(common()->Int32Constant(4))); in GetIndexNodes() 159 graph()->NewNode(common()->Int32Constant(4))); in GetIndexNodes() 238 common()->Int32Constant(static_cast<int32_t>(value & 0xFFFFFFFF))); in LowerNode() 240 common()->Int32Constant(static_cast<int32_t>(value >> 32))); in LowerNode() 589 graph()->NewNode(common()->Int32Constant(0))); in LowerNode() 625 graph()->NewNode(common()->Int32Constant(31)))); in LowerNode() 635 ReplaceNode(node, input, graph()->NewNode(common()->Int32Constant(0))); in LowerNode() 651 common()->Int32Constant(kInt64UpperHalfMemoryOffset)), in LowerNode() 660 common()->Int32Constant(kInt64LowerHalfMemoryOffset)), in LowerNode() [all …]
|
D | effect-control-linearizer.cc | 1420 Node* zero = __ Int32Constant(0); in ChangeFloat64ToTagged() 1598 Node* zero = __ Int32Constant(0); in TruncateTaggedPointerToBit() 1617 __ Int32Constant(Map::Bits1::IsUndetectableBit::kMask)), in TruncateTaggedPointerToBit() 1629 __ Goto(done, __ Int32Constant(1)); in TruncateTaggedPointerToBit() 1644 __ Word32And(bitfield, __ Int32Constant(BigInt::LengthBits::kMask)), in TruncateTaggedPointerToBit() 1645 __ Int32Constant(0)); in TruncateTaggedPointerToBit() 1663 __ Int32Constant(0))); in LowerTruncateTaggedToBit() 1801 __ Int32Constant(FIRST_JS_FUNCTION_TYPE)), in LowerCheckClosure() 1802 __ Int32Constant(LAST_JS_FUNCTION_TYPE - FIRST_JS_FUNCTION_TYPE)); in LowerCheckClosure() 1823 __ Int32Constant(Map::Bits3::IsDeprecatedBit::kMask)), in MigrateInstanceOrDeopt() [all …]
|
D | machine-graph.cc | 14 Node* MachineGraph::Int32Constant(int32_t value) { in Int32Constant() function in v8::internal::compiler::MachineGraph 17 *loc = graph()->NewNode(common()->Int32Constant(value)); in Int32Constant() 31 return machine()->Is32() ? Int32Constant(static_cast<int32_t>(value)) in IntPtrConstant()
|
D | basic-block-instrumentor.cc | 44 : common->Int32Constant(static_cast<int32_t>(value)); in IntPtrConstant() 95 Node* zero = graph->NewNode(common.Int32Constant(0)); in Instrument() 96 Node* one = graph->NewNode(common.Int32Constant(1)); in Instrument()
|
D | wasm-compiler.cc | 247 return Allocate(Int32Constant(size), allow_large); in Allocate() 313 return Word32Equal(Word32And(object, Int32Constant(kSmiTagMask)), in IsI31() 314 Int32Constant(kSmiTag)); in IsI31() 499 Int32Sub(instance_type, Int32Constant(FIRST_WASM_OBJECT_TYPE)); in IsDataRefMap() 502 Int32Constant(LAST_WASM_OBJECT_TYPE - FIRST_WASM_OBJECT_TYPE)); in IsDataRefMap() 510 return Word32Equal(instance_type, Int32Constant(type)); in HasInstanceType() 716 Node* WasmGraphBuilder::Int32Constant(int32_t value) { in Int32Constant() function in v8::internal::compiler::WasmGraphBuilder 717 return mcgraph()->Int32Constant(value); in Int32Constant() 1132 return gasm_->Word32Equal(input, Int32Constant(0)); in Unop() 1392 return gasm_->Int32Sub(gasm_->Int32Constant(1), IsNull(input)); in Unop() [all …]
|
D | machine-graph.h | 32 Node* Int32Constant(int32_t value); in NON_EXPORTED_BASE() 34 return Int32Constant(bit_cast<int32_t>(value)); in NON_EXPORTED_BASE()
|
D | machine-operator-reducer.h | 42 Node* Int32Constant(int32_t value); in NON_EXPORTED_BASE() 45 return Int32Constant(bit_cast<int32_t>(value)); in NON_EXPORTED_BASE() 75 return Replace(Int32Constant(value)); in NON_EXPORTED_BASE()
|
D | simplified-operator-reducer.cc | 151 jsgraph()->Int32Constant(static_cast<int32_t>(m.ResolvedValue())); in Reduce() 259 node->ReplaceInput(1, jsgraph()->Int32Constant(val)); in Reduce() 298 return Replace(jsgraph()->Int32Constant(value)); in ReplaceInt32()
|
D | machine-operator-reducer.cc | 81 Node* IntNConstant(int32_t value) { return r_->Int32Constant(value); } in IntNConstant() 183 Node* MachineOperatorReducer::Int32Constant(int32_t value) { in Int32Constant() function in v8::internal::compiler::MachineOperatorReducer 184 return mcgraph()->Int32Constant(value); in Int32Constant() 387 node->ReplaceInput(0, Int32Constant(0)); in Reduce() 393 node->ReplaceInput(1, Int32Constant(base::bits::WhichPowerOfTwo( in Reduce() 403 1, Int32Constant(base::MulWithWraparound( in Reduce() 419 node->ReplaceInput(0, Int32Constant(0)); in Reduce() 1012 1, Int32Constant(base::AddWithWraparound(m.right().ResolvedValue(), in ReduceInt32Add() 1056 Int32Constant(base::NegateWithWraparound(m.right().ResolvedValue()))); in ReduceInt32Sub() 1128 Node* const zero = Int32Constant(0); in ReduceInt32Div() [all …]
|
D | graph-assembler.cc | 61 Node* GraphAssembler::Int32Constant(int32_t value) { in Int32Constant() function in v8::internal::compiler::GraphAssembler 62 return AddClonedNode(mcgraph()->Int32Constant(value)); in Int32Constant() 81 : common()->Int32Constant(static_cast<int32_t>(value)))); in UniqueIntPtrConstant() 427 return Store(rep, object, Int32Constant(offset), value); in Store() 436 return Load(type, object, Int32Constant(offset)); in Load()
|
D | js-generic-lowering.cc | 117 Node* arity = jsgraph()->Int32Constant(nargs); in ReplaceWithRuntimeCall() 613 Node* stub_arity = jsgraph()->Int32Constant(JSParameterCount(arity)); in LowerJSCreateArray() 685 node->InsertInput(zone(), 1, jsgraph()->Int32Constant(slot_count)); in LowerJSCreateFunctionContext() 847 Node* stub_arity = jsgraph()->Int32Constant(JSParameterCount(arg_count)); in LowerJSConstructForwardVarargs() 870 Node* stub_arity = jsgraph()->Int32Constant(JSParameterCount(arg_count)); in LowerJSConstruct() 934 jsgraph()->Int32Constant(JSParameterCount(arg_count - kTheSpread)); in LowerJSConstructWithSpread() 958 Node* stub_arity = jsgraph()->Int32Constant(JSParameterCount(arg_count)); in LowerJSCallForwardVarargs() 979 Node* stub_arity = jsgraph()->Int32Constant(JSParameterCount(arg_count)); in LowerJSCall() 1038 jsgraph()->Int32Constant(JSParameterCount(arg_count - kTheSpread)); in LowerJSCallWithSpread()
|
D | representation-change.cc | 812 return jsgraph()->Int32Constant(DoubleToInt32(value)); in MakeTruncatedInt32Constant() 821 jsgraph()->Int32Constant(0), effect, control); in InsertUnconditionalDeopt() 1031 return jsgraph()->Int32Constant(0); in GetBitRepresentationFor() 1033 return jsgraph()->Int32Constant(1); in GetBitRepresentationFor() 1064 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor() 1070 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor() 1073 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor() 1075 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor() 1080 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor()
|
D | simplified-lowering.cc | 1214 DeferReplacement(node, lowering->jsgraph()->Int32Constant(1)); in VisitObjectIs() 1219 DeferReplacement(node, lowering->jsgraph()->Int32Constant(0)); in VisitObjectIs() 1277 jsgraph_->Int32Constant(0x1F))); in MaskShiftOperand() 2219 node->AppendInput(jsgraph_->zone(), jsgraph_->Int32Constant(0)); in VisitNode() 2227 DeferReplacement(node, lowering->jsgraph()->Int32Constant(0)); in VisitNode() 3674 DeferReplacement(node, lowering->jsgraph()->Int32Constant(1)); in VisitNode() 3679 DeferReplacement(node, lowering->jsgraph()->Int32Constant(0)); in VisitNode() 3702 DeferReplacement(node, lowering->jsgraph()->Int32Constant(1)); in VisitNode() 3707 DeferReplacement(node, lowering->jsgraph()->Int32Constant(0)); in VisitNode() 3728 DeferReplacement(node, lowering->jsgraph()->Int32Constant(1)); in VisitNode() [all …]
|
/third_party/node/deps/v8/src/builtins/ |
D | builtins-string-gen.cc | 28 Int32Constant(kStringRepresentationMask)), in DirectStringData() 29 Int32Constant(kSeqStringTag)), in DirectStringData() 178 lhs_instance_type, Word32Shl(rhs_instance_type, Int32Constant(8))); in StringEqual_Core() 186 Int32Constant(kBothInternalizedMask)), in StringEqual_Core() 187 Int32Constant(kBothInternalizedTag)), in StringEqual_Core() 198 Int32Constant(kBothDirectStringMask)), in StringEqual_Core() 199 Int32Constant(0)), in StringEqual_Core() 211 Word32And(both_instance_types, Int32Constant(kBothStringEncodingMask)); in StringEqual_Core() 213 Word32Equal(masked_instance_types, Int32Constant(kOneOneByteStringTag)), in StringEqual_Core() 216 Word32Equal(masked_instance_types, Int32Constant(kTwoTwoByteStringTag)), in StringEqual_Core() [all …]
|
D | builtins-sharedarraybuffer-gen.cc | 83 GotoIf(Int32LessThan(elements_kind, Int32Constant(FLOAT32_ELEMENTS)), in ValidateIntegerTypedArray() 87 Branch(Int32GreaterThan(elements_kind, Int32Constant(UINT8_CLAMPED_ELEMENTS)), in ValidateIntegerTypedArray() 302 GotoIf(Int32GreaterThan(elements_kind, Int32Constant(INT32_ELEMENTS)), &u64); in TF_BUILTIN() 427 GotoIf(Int32GreaterThan(elements_kind, Int32Constant(INT32_ELEMENTS)), &big); in TF_BUILTIN() 497 GotoIf(Word32Equal(elements_kind, Int32Constant(BIGINT64_ELEMENTS)), &i64); in TF_BUILTIN() 498 GotoIf(Word32Equal(elements_kind, Int32Constant(BIGUINT64_ELEMENTS)), &u64); in TF_BUILTIN() 567 GotoIf(Int32GreaterThan(elements_kind, Int32Constant(INT32_ELEMENTS)), &big); in TF_BUILTIN() 652 GotoIf(Word32Equal(elements_kind, Int32Constant(BIGINT64_ELEMENTS)), &i64); in TF_BUILTIN() 653 GotoIf(Word32Equal(elements_kind, Int32Constant(BIGUINT64_ELEMENTS)), &u64); in TF_BUILTIN() 739 GotoIf(Int32GreaterThan(elements_kind, Int32Constant(INT32_ELEMENTS)), &big); in AtomicBinopBuiltinCommon() [all …]
|
D | builtins-call-gen.cc | 237 Branch(Word32And(kind, Int32Constant(1)), &if_holey_array, &if_done); in CallOrConstructWithArrayLike() 278 Int32Constant(i::JSParameterCount(0)); // args already on the stack in CallOrConstructWithArrayLike() 284 length, Int32Constant(FixedArray::kMaxLength))); in CallOrConstructWithArrayLike() 285 GotoIfNot(Word32Equal(length, Int32Constant(0)), &normalize_done); in CallOrConstructWithArrayLike() 316 Int32Constant(HOLEY_DOUBLE_ELEMENTS)); in CallOrConstructWithArrayLike() 331 Int32Constant(FixedArray::kMaxLength))); in CallOrConstructDoubleVarargs() 418 Int32Constant(PACKED_DOUBLE_ELEMENTS)), in CallOrConstructWithSpread() 443 length, Int32Constant(FixedArray::kMaxLength))); in CallOrConstructWithSpread() 459 GotoIf(Word32Equal(length, Int32Constant(0)), &if_smiorobject); in CallOrConstructWithSpread()
|
D | builtins-typed-array-gen.cc | 59 buffer, JSArrayBuffer::kOptionalPaddingOffset, Int32Constant(0)); in AllocateEmptyOnHeapBuffer() 64 Int32Constant(bitfield_value)); in AllocateEmptyOnHeapBuffer() 190 Word32Or(Word32Equal(kind, Int32Constant(UINT8_ELEMENTS)), in IsUint8ElementsKind() 191 Word32Equal(kind, Int32Constant(UINT8_CLAMPED_ELEMENTS))), in IsUint8ElementsKind() 193 Word32Equal(kind, Int32Constant(RAB_GSAB_UINT8_ELEMENTS)), in IsUint8ElementsKind() 194 Word32Equal(kind, Int32Constant(RAB_GSAB_UINT8_CLAMPED_ELEMENTS)))); in IsUint8ElementsKind() 603 Int32Constant(FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND)); in TF_BUILTIN()
|
D | builtins-bigint-gen.h | 35 Int32Constant(BigIntBase::LengthBits::kShift)), in WriteBigIntSignAndLength() 36 Word32And(sign, Int32Constant(BigIntBase::SignBits::kMask)))); in WriteBigIntSignAndLength()
|
D | builtins-regexp-gen.cc | 65 Int32Constant(static_cast<int>(Builtin::kNoBuiltinId))), in LoadCodeObjectEntry() 78 builtin_index, Int32Constant(kSystemPointerSizeLog2)))); in LoadCodeObjectEntry() 615 TNode<Int32T> arg6 = Int32Constant(RegExp::CallOrigin::kFromJs); in RegExpExecInternal() 1084 GotoIf(Word32Equal(Word32And(flag_value, Int32Constant(0xFF)), \ in FlagsGetter() 1085 Int32Constant(0)), \ in FlagsGetter() 1118 const TNode<Int32T> value = Int32Constant(Char); \ in FlagsGetter() 1366 GotoIf(Word32Equal(Word32And(flag_value, Int32Constant(0xFF)), in SlowFlagGetter() 1367 Int32Constant(0)), in SlowFlagGetter() 1452 GotoIfNot(Word32Equal(Word32And(lead, Int32Constant(0xFC00)), in AdvanceStringIndex() 1453 Int32Constant(0xD800)), in AdvanceStringIndex() [all …]
|
D | builtins-array-gen.cc | 299 Int32Constant(TERMINAL_FAST_ELEMENTS_KIND)), in TF_BUILTIN() 390 GotoIf(Word32Equal(elements_kind, Int32Constant(DICTIONARY_ELEMENTS)), in TF_BUILTIN() 434 GotoIf(Word32Equal(elements_kind, Int32Constant(DICTIONARY_ELEMENTS)), in TF_BUILTIN() 695 ElementsKindEqual(elements_kind, Int32Constant(PACKED_DOUBLE_ELEMENTS)), in Generate() 697 GotoIf(ElementsKindEqual(elements_kind, Int32Constant(HOLEY_DOUBLE_ELEMENTS)), in Generate() 1255 Int32Constant(static_cast<int>(IterationKind::kKeys))), in TF_BUILTIN() 1295 Int32Constant(static_cast<int>(IterationKind::kKeys))), in TF_BUILTIN() 1357 Int32Constant(static_cast<int>(IterationKind::kKeys))), in TF_BUILTIN() 1374 Int32Constant(static_cast<int>(IterationKind::kValues))), in TF_BUILTIN() 1709 GotoIfNot(Word32Equal(elements_kind, Int32Constant(kind)), &next); in CreateArrayDispatchNoArgument() [all …]
|
D | builtins-data-view-gen.h | 41 return Unsigned(Int32Constant(BigInt::SignBits::encode(sign) | in DataViewEncodeBigIntBits()
|
/third_party/node/deps/v8/src/codegen/ |
D | code-stub-assembler.cc | 208 return SelectConstant<Int32T>(condition, Int32Constant(true_value), in SelectInt32Constant() 209 Int32Constant(false_value)); in SelectInt32Constant() 670 TNode<Word32T> rhs = Int32Sub(Signed(value), Int32Constant(1)); in CountTrailingZeros32() 958 GotoIf(Word32Equal(int_b, Int32Constant(0)), &return_nan); in SmiMod() 962 Branch(Int32LessThanOrEqual(Int32Constant(0), int_a), &if_aisnotnegative, in SmiMod() 979 GotoIfNot(Word32Equal(int_a, Int32Constant(kMinInt)), &join); in SmiMod() 980 GotoIf(Word32Equal(int_b, Int32Constant(-1)), &return_minuszero); in SmiMod() 990 GotoIf(Word32Equal(r, Int32Constant(0)), &return_minuszero); in SmiMod() 1032 TNode<Int32T> zero = Int32Constant(0); in SmiMul() 1096 Branch(Word32Equal(untagged_divisor, Int32Constant(-1)), in TrySmiDiv() [all …]
|
/third_party/node/deps/v8/src/interpreter/ |
D | interpreter-assembler.cc | 121 IntPtrConstant(zero_offset), Int32Constant(0)); in SaveBytecodeOffset() 188 Branch(Word32Equal(depth, Int32Constant(0)), &context_found, &context_search); in GetContextAtDepth() 193 cur_depth = Unsigned(Int32Sub(cur_depth.value(), Int32Constant(1))); in GetContextAtDepth() 197 Branch(Word32Equal(cur_depth.value(), Int32Constant(0)), &context_found, in GetContextAtDepth() 277 Uint32GreaterThan(reg_list.reg_count(), Int32Constant(index))); in RegisterLocationInRegisterList() 429 TNode<Int32T> shift = Int32Constant(i * kBitsPerByte); in BytecodeOperandReadUnaligned() 718 args_count = Int32Add(args_count, Int32Constant(kJSArgcReceiverSlots)); in CallJSAndDispatch() 980 Int32Mul(function_id, Int32Constant(sizeof(Runtime::Function))); in CallRuntimeN() 1006 CSA_DCHECK(this, Int32GreaterThanOrEqual(weight, Int32Constant(0))); in UpdateInterruptBudget() 1017 Int32Sub(old_budget, Int32Constant(CurrentBytecodeSize())); in UpdateInterruptBudget() [all …]
|
/third_party/node/deps/v8/src/ic/ |
D | accessor-assembler.cc | 35 Int32Constant(static_cast<intptr_t>(StoreHandler::Kind::kind)) 510 GotoIf(Word32Equal(Int32Constant(-1), result), miss); in HandleLoadICSmiHandlerCase() 511 CSA_DCHECK(this, Int32GreaterThanOrEqual(result, Int32Constant(0))); in HandleLoadICSmiHandlerCase() 1177 Word32Equal(kind, Int32Constant(static_cast<int>(PropertyKind::kData))), in JumpIfDataProperty() 1204 Int32Constant(Representation::kTagged))); in HandleStoreICSmiHandlerJSSharedStructFieldCase() 1488 GotoIf(Word32Equal(representation, Int32Constant(Representation::kSmi)), in CheckFieldType() 1490 GotoIf(Word32Equal(representation, Int32Constant(Representation::kDouble)), in CheckFieldType() 1493 Word32Equal(representation, Int32Constant(Representation::kHeapObject)), in CheckFieldType() 1495 GotoIf(Word32Equal(representation, Int32Constant(Representation::kNone)), in CheckFieldType() 1498 Int32Constant(Representation::kTagged))); in CheckFieldType() [all …]
|
D | keyed-store-generic.cc | 258 GotoIf(Word32Equal(elements_kind, Int32Constant(NO_ELEMENTS)), &loop_body); in BranchIfPrototypesMayHaveReadOnlyElements() 329 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind)), in TryChangeToHoleyMap() 345 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind)), in TryChangeToHoleyMapMulti() 347 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind_2)), in TryChangeToHoleyMapMulti() 441 Int32Constant(HOLEY_SMI_ELEMENTS)), in StoreElementWithCapacity() 633 Int32Constant(FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND)), in EmitGenericElementStore() 635 GotoIf(Word32Equal(elements_kind, Int32Constant(DICTIONARY_ELEMENTS)), in EmitGenericElementStore()
|