Home
last modified time | relevance | path

Searched refs:Int32Constant (Results 1 – 25 of 51) sorted by relevance

123

/external/v8/src/compiler/
Dint64-lowering.cc152 graph()->NewNode(common()->Int32Constant(4))); in GetIndexNodes()
155 graph()->NewNode(common()->Int32Constant(4))); in GetIndexNodes()
165 common()->Int32Constant(static_cast<int32_t>(value & 0xFFFFFFFF))); in LowerNode()
167 common()->Int32Constant(static_cast<int32_t>(value >> 32))); in LowerNode()
556 graph()->NewNode(common()->Int32Constant(0))); in LowerNode()
592 graph()->NewNode(common()->Int32Constant(31)))); in LowerNode()
602 ReplaceNode(node, input, graph()->NewNode(common()->Int32Constant(0))); in LowerNode()
618 common()->Int32Constant(kInt64UpperHalfMemoryOffset)), in LowerNode()
627 common()->Int32Constant(kInt64LowerHalfMemoryOffset)), in LowerNode()
632 graph()->NewNode(common()->Int32Constant(0)), in LowerNode()
[all …]
Deffect-control-linearizer.cc1029 Node* zero = __ Int32Constant(0); in LowerChangeFloat64ToTagged()
1159 Node* zero = __ Int32Constant(0); in TruncateTaggedPointerToBit()
1178 __ Int32Constant(Map::IsUndetectableBit::kMask)), in TruncateTaggedPointerToBit()
1189 __ GotoIf(__ Word32Equal(value_instance_type, __ Int32Constant(BIGINT_TYPE)), in TruncateTaggedPointerToBit()
1193 __ Goto(done, __ Int32Constant(1)); in TruncateTaggedPointerToBit()
1227 __ Int32Constant(0))); in LowerTruncateTaggedToBit()
1382 __ Int32Constant(Map::IsDeprecatedBit::kMask)), in LowerCheckMaps()
1383 __ Int32Constant(0)); in LowerCheckMaps()
1393 __ Int32Constant(1), __ NoContextConstant()); in LowerCheckMaps()
1450 __ GotoIf(check, &done, __ Int32Constant(1)); in LowerCompareMaps()
[all …]
Dwasm-compiler.cc75 mcgraph()->Int32Constant(WASM_INSTANCE_OBJECT_OFFSET(name)), Effect(), \
81 mcgraph()->Int32Constant(FixedArrayOffsetMinusTag(index)), Effect(), \
229 Node* WasmGraphBuilder::Int32Constant(int32_t value) { in Int32Constant() function in v8::internal::compiler::WasmGraphBuilder
230 return mcgraph()->Int32Constant(value); in Int32Constant()
256 mcgraph()->Int32Constant(WASM_INSTANCE_OBJECT_OFFSET(StackLimitAddress)), in StackCheck()
596 return graph()->NewNode(op, input, mcgraph()->Int32Constant(0)); in Unop()
963 node, mcgraph()->Int32Constant(val)), in TrapIfEq32()
1017 buf[0] = mcgraph()->Int32Constant(0); in Return()
1031 TrapIfFalse(wasm::TrapReason::kTrapUnreachable, Int32Constant(0), position); in Unreachable()
1043 if (match.Value() != masked) node = mcgraph()->Int32Constant(masked); in MaskShiftCount32()
[all …]
Dsimd-scalar-lowering.cc353 common()->Int32Constant(static_cast<int>(i) * lane_width))); in GetIndexNodes()
512 mcgraph_->Int32Constant(0))); in LowerCompareOp()
518 d_cmp.Phi(rep, mcgraph_->Int32Constant(0), mcgraph_->Int32Constant(-1)); in LowerCompareOp()
526 mcgraph_->Int32Constant(shift)), in FixUpperBits()
527 mcgraph_->Int32Constant(shift)); in FixUpperBits()
563 mcgraph_->Int32Constant(mask)); in Mask()
612 mcgraph_->Int32Constant(min))); in LowerSaturateBinaryOp()
613 rep_node[i] = d_min.Phi(phi_rep, mcgraph_->Int32Constant(min), op_result); in LowerSaturateBinaryOp()
616 mcgraph_->Int32Constant(max), rep_node[i])); in LowerSaturateBinaryOp()
617 rep_node[i] = d_max.Phi(phi_rep, mcgraph_->Int32Constant(max), rep_node[i]); in LowerSaturateBinaryOp()
[all …]
Dbasic-block-instrumentor.cc45 : common->Int32Constant(static_cast<int32_t>(ptr)); in PointerConstant()
68 Node* zero = graph->NewNode(common.Int32Constant(0)); in Instrument()
69 Node* one = graph->NewNode(common.Int32Constant(1)); in Instrument()
Dmachine-graph.cc14 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()
Dmachine-operator-reducer.h37 Node* Int32Constant(int32_t value); in NON_EXPORTED_BASE()
40 return Int32Constant(bit_cast<int32_t>(value)); in NON_EXPORTED_BASE()
68 return Replace(Int32Constant(value)); in NON_EXPORTED_BASE()
Dmachine-graph.h30 Node* Int32Constant(int32_t value); in NON_EXPORTED_BASE()
32 return Int32Constant(bit_cast<int32_t>(value)); in NON_EXPORTED_BASE()
Dmachine-operator-reducer.cc38 Node* MachineOperatorReducer::Int32Constant(int32_t value) { in Int32Constant() function in v8::internal::compiler::MachineOperatorReducer
39 return mcgraph()->Int32Constant(value); in Int32Constant()
223 node->ReplaceInput(0, Int32Constant(0)); in Reduce()
229 node->ReplaceInput(1, Int32Constant(WhichPowerOf2(m.right().Value()))); in Reduce()
244 node->ReplaceInput(0, Int32Constant(0)); in Reduce()
750 node->ReplaceInput(1, Int32Constant(-m.right().Value())); in ReduceInt32Sub()
786 Node* const zero = Int32Constant(0); in ReduceInt32Div()
790 node->ReplaceInput(0, Int32Constant(0)); in ReduceInt32Div()
812 node->ReplaceInput(0, Int32Constant(0)); in ReduceInt32Div()
834 Node* const zero = Int32Constant(0); in ReduceUint32Div()
[all …]
Djs-generic-lowering.cc126 Node* arity = jsgraph()->Int32Constant(nargs); in ReplaceWithRuntimeCall()
366 Node* stub_arity = jsgraph()->Int32Constant(arity); in LowerJSCreateArray()
446 node->InsertInput(zone(), 1, jsgraph()->Int32Constant(slot_count)); in LowerJSCreateFunctionContext()
588 Node* stub_arity = jsgraph()->Int32Constant(arg_count); in LowerJSConstructForwardVarargs()
609 Node* stub_arity = jsgraph()->Int32Constant(arg_count); in LowerJSConstruct()
647 Node* stack_arg_count = jsgraph()->Int32Constant(arg_count - 1); in LowerJSConstructWithSpread()
671 Node* stub_arity = jsgraph()->Int32Constant(arg_count); in LowerJSCallForwardVarargs()
688 Node* stub_arity = jsgraph()->Int32Constant(arg_count); in LowerJSCall()
718 Node* stack_arg_count = jsgraph()->Int32Constant(arg_count - 1); in LowerJSCallWithSpread()
Dsimplified-lowering.cc1007 DeferReplacement(node, lowering->jsgraph()->Int32Constant(1)); in VisitObjectIs()
1012 DeferReplacement(node, lowering->jsgraph()->Int32Constant(0)); in VisitObjectIs()
1592 node->AppendInput(jsgraph_->zone(), jsgraph_->Int32Constant(0)); in VisitNode()
1600 DeferReplacement(node, lowering->jsgraph()->Int32Constant(0)); in VisitNode()
2777 DeferReplacement(node, lowering->jsgraph()->Int32Constant(1)); in VisitNode()
2782 DeferReplacement(node, lowering->jsgraph()->Int32Constant(0)); in VisitNode()
2806 DeferReplacement(node, lowering->jsgraph()->Int32Constant(1)); in VisitNode()
2811 DeferReplacement(node, lowering->jsgraph()->Int32Constant(0)); in VisitNode()
2833 DeferReplacement(node, lowering->jsgraph()->Int32Constant(1)); in VisitNode()
2838 DeferReplacement(node, lowering->jsgraph()->Int32Constant(0)); in VisitNode()
[all …]
Dgraph-assembler.cc25 Node* GraphAssembler::Int32Constant(int32_t value) { in Int32Constant() function in v8::internal::compiler::GraphAssembler
26 return jsgraph()->Int32Constant(value); in Int32Constant()
30 return graph()->NewNode(common()->Int32Constant(value)); in UniqueInt32Constant()
Draw-machine-assembler.cc143 Node* values[] = {Int32Constant(0), value}; in Return()
150 Node* values[] = {Int32Constant(0), v1, v2}; in Return()
157 Node* values[] = {Int32Constant(0), v1, v2, v3}; in Return()
164 Node* values[] = {Int32Constant(0), v1, v2, v3, v4}; in Return()
173 values[0] = Int32Constant(0); in Return()
Drepresentation-change.cc607 return jsgraph()->Int32Constant(DoubleToInt32(value)); in MakeTruncatedInt32Constant()
616 jsgraph()->Int32Constant(0), effect, control); in InsertUnconditionalDeopt()
785 return jsgraph()->Int32Constant(0); in GetBitRepresentationFor()
787 return jsgraph()->Int32Constant(1); in GetBitRepresentationFor()
819 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor()
822 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor()
824 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor()
Draw-machine-assembler.h79 : Int32Constant(static_cast<int>(value)); in IntPtrConstant()
82 Node* Int32Constant(int32_t value) { in Int32Constant() function
83 return AddNode(common()->Int32Constant(value)); in Int32Constant()
266 Node* Word32BitwiseNot(Node* a) { return Word32Xor(a, Int32Constant(-1)); } in Word32BitwiseNot()
267 Node* Word32BinaryNot(Node* a) { return Word32Equal(a, Int32Constant(0)); } in Word32BinaryNot()
355 Node* Int32Neg(Node* a) { return Int32Sub(Int32Constant(0), a); } in Int32Neg()
750 return Load(rep, PointerConstant(address), Int32Constant(offset));
757 return UnalignedLoad(rep, PointerConstant(address), Int32Constant(offset));
/external/v8/src/builtins/
Dbuiltins-call-gen.cc149 GotoIf(Int32GreaterThan(kind, Int32Constant(LAST_FAST_ELEMENTS_KIND)), in CallOrConstructWithArrayLike()
151 Branch(Word32And(kind, Int32Constant(1)), &if_holey_array, &if_done); in CallOrConstructWithArrayLike()
192 TNode<Int32T> args_count = Int32Constant(0); // args already on the stack in CallOrConstructWithArrayLike()
197 GotoIfNot(Word32Equal(length, Int32Constant(0)), &normalize_done); in CallOrConstructWithArrayLike()
228 Int32Constant(HOLEY_DOUBLE_ELEMENTS)); in CallOrConstructWithArrayLike()
250 Branch(Word32Equal(kind, Int32Constant(HOLEY_DOUBLE_ELEMENTS)), in CallOrConstructDoubleVarargs()
315 GotoIf(Int32LessThan(spread_kind, Int32Constant(PACKED_DOUBLE_ELEMENTS)), in CallOrConstructWithSpread()
318 Int32GreaterThan(spread_kind, Int32Constant(LAST_FAST_ELEMENTS_KIND)), in CallOrConstructWithSpread()
335 Int32Constant(PACKED_DOUBLE_ELEMENTS)), in CallOrConstructWithSpread()
359 GotoIf(Word32Equal(var_length.value(), Int32Constant(0)), &if_smiorobject); in CallOrConstructWithSpread()
Dbuiltins-string-gen.cc27 Int32Constant(kStringRepresentationMask)), in DirectStringData()
28 Int32Constant(kSeqStringTag)), in DirectStringData()
45 Int32Constant(kShortExternalStringMask)), in DirectStringData()
46 Int32Constant(kShortExternalStringTag))); in DirectStringData()
66 Node* const encoding_mask = Int32Constant(kStringEncodingMask); in DispatchOnStringEncodings()
180 lhs_instance_type, Word32Shl(rhs_instance_type, Int32Constant(8))); in StringEqual_Core()
188 Int32Constant(kBothInternalizedMask)), in StringEqual_Core()
189 Int32Constant(kBothInternalizedTag)), in StringEqual_Core()
200 Int32Constant(kBothDirectStringMask)), in StringEqual_Core()
201 Int32Constant(0)), in StringEqual_Core()
[all …]
Dbuiltins-function-gen.cc123 GotoIf(Uint32LessThanOrEqual(argc, Int32Constant(1)), &empty_arguments); in TF_BUILTIN()
125 Signed(ChangeUint32ToWord(Unsigned(Int32Sub(argc, Int32Constant(1))))); in TF_BUILTIN()
153 GotoIf(Word32NotEqual(argc, Int32Constant(0)), &has_receiver); in TF_BUILTIN()
Dbuiltins-console-gen.cc22 GotoIf(Word32Equal(argc, Int32Constant(0)), &runtime); in TF_BUILTIN()
Dbuiltins-regexp-gen.cc502 TNode<Int32T> arg5 = Int32Constant(0); in RegExpExecInternal()
517 TNode<Int32T> arg7 = Int32Constant(1); in RegExpExecInternal()
831 var_result.Bind(Int32Constant(0)); in IsFastRegExpNoPrototype()
1176 Node* const value = Int32Constant(CHAR); \ in FlagsGetter()
1201 VARIABLE(var_result, MachineRepresentation::kWord32, Int32Constant(0)); in IsRegExp()
1224 var_result.Bind(Int32Constant(1)); in IsRegExp()
1549 var_result.Bind(Int32Constant(1)); in SlowFlagGetter()
1555 var_result.Bind(Int32Constant(0)); in SlowFlagGetter()
1822 GotoIfNot(Word32Equal(Word32And(lead, Int32Constant(0xFC00)), in AdvanceStringIndex()
1823 Int32Constant(0xD800)), in AdvanceStringIndex()
[all …]
/external/v8/src/
Dcode-stub-assembler.cc196 return SelectConstant<Int32T>(condition, Int32Constant(true_value), in SelectInt32Constant()
197 Int32Constant(false_value)); in SelectInt32Constant()
351 return Int32Constant(1); in MatchesParameterMode()
784 GotoIf(Word32Equal(int_b, Int32Constant(0)), &return_nan); in SmiMod()
788 Branch(Int32LessThanOrEqual(Int32Constant(0), int_a), &if_aisnotnegative, in SmiMod()
805 GotoIfNot(Word32Equal(int_a, Int32Constant(kMinInt)), &join); in SmiMod()
806 GotoIf(Word32Equal(int_b, Int32Constant(-1)), &return_minuszero); in SmiMod()
816 GotoIf(Word32Equal(r, Int32Constant(0)), &return_minuszero); in SmiMod()
858 Node* zero = Int32Constant(0); in SmiMul()
921 Branch(Word32Equal(untagged_divisor, Int32Constant(-1)), in TrySmiDiv()
[all …]
/external/v8/src/ic/
Daccessor-assembler.cc814 GotoIf(Word32Equal(kind, Int32Constant(kData)), writable); in JumpIfDataProperty()
1016 GotoIf(Word32Equal(representation, Int32Constant(Representation::kSmi)), in CheckFieldType()
1018 GotoIf(Word32Equal(representation, Int32Constant(Representation::kDouble)), in CheckFieldType()
1021 Word32Equal(representation, Int32Constant(Representation::kHeapObject)), in CheckFieldType()
1023 GotoIf(Word32Equal(representation, Int32Constant(Representation::kNone)), in CheckFieldType()
1026 Int32Constant(Representation::kTagged))); in CheckFieldType()
1079 Int32Constant(kData))); in OverwriteExistingFastDataProperty()
1082 Int32Constant(kField)), in OverwriteExistingFastDataProperty()
1092 Int32Constant(static_cast<int32_t>(VariableMode::kConst))), in OverwriteExistingFastDataProperty()
1117 Word32Equal(representation, Int32Constant(Representation::kDouble)), in OverwriteExistingFastDataProperty()
[all …]
Dkeyed-store-generic.cc163 GotoIf(Word32Equal(elements_kind, Int32Constant(NO_ELEMENTS)), &loop_body); in BranchIfPrototypesHaveNonFastElements()
232 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind)), in TryChangeToHoleyMap()
248 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind)), in TryChangeToHoleyMapMulti()
250 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind_2)), in TryChangeToHoleyMapMulti()
342 Int32Constant(HOLEY_SMI_ELEMENTS)), in StoreElementWithCapacity()
547 Int32Constant(FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND)), in EmitGenericElementStore()
549 GotoIf(Word32Equal(elements_kind, Int32Constant(DICTIONARY_ELEMENTS)), in EmitGenericElementStore()
/external/v8/src/interpreter/
Dinterpreter-assembler.cc174 Branch(Word32Equal(depth, Int32Constant(0)), &context_found, &context_search); in GetContextAtDepth()
179 cur_depth.Bind(Int32Sub(cur_depth.value(), Int32Constant(1))); in GetContextAtDepth()
183 Branch(Word32Equal(cur_depth.value(), Int32Constant(0)), &context_found, in GetContextAtDepth()
217 cur_depth.Bind(Int32Sub(cur_depth.value(), Int32Constant(1))); in GotoIfHasContextExtensionUpToDepth()
221 GotoIf(Word32NotEqual(cur_depth.value(), Int32Constant(0)), in GotoIfHasContextExtensionUpToDepth()
292 Uint32GreaterThan(reg_list.reg_count(), Int32Constant(index))); in RegisterLocationInRegisterList()
423 Node* shift = Int32Constant(i * kBitsPerByte); in BytecodeOperandReadUnaligned()
844 Node* receiver_count = Int32Constant(1); in CallJSAndDispatch()
911 Node* receiver_count = Int32Constant(1); in CallJSWithSpreadAndDispatch()
1231 Int32Mul(function_id, Int32Constant(sizeof(Runtime::Function))); in CallRuntimeN()
[all …]
Dinterpreter-intrinsics-generator.cc130 return __ Word32Equal(instance_type, __ Int32Constant(type)); in CompareInstanceType()
133 return __ Int32GreaterThanOrEqual(instance_type, __ Int32Constant(type)); in CompareInstanceType()
274 __ Int32Sub(args.reg_count(), __ Int32Constant(1))); in Call()
279 __ Int32LessThan(target_args.reg_count(), __ Int32Constant(0)); in Call()
406 Node* comparison = __ Word32Equal(actual, __ Int32Constant(expected)); in AbortIfArgCountMismatch()

123