Home
last modified time | relevance | path

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

12

/external/v8/src/compiler/
Dint64-lowering.cc115 graph()->NewNode(common()->Int32Constant(4))); in GetIndexNodes()
118 graph()->NewNode(common()->Int32Constant(4))); in GetIndexNodes()
136 common()->Int32Constant(static_cast<int32_t>(value & 0xFFFFFFFF))); in LowerNode()
138 common()->Int32Constant(static_cast<int32_t>(value >> 32))); in LowerNode()
504 graph()->NewNode(common()->Int32Constant(0))); in LowerNode()
539 graph()->NewNode(common()->Int32Constant(31)))); in LowerNode()
549 ReplaceNode(node, input, graph()->NewNode(common()->Int32Constant(0))); in LowerNode()
564 graph()->NewNode(common()->Int32Constant(kHigherWordOffset)), in LowerNode()
572 graph()->NewNode(common()->Int32Constant(kLowerWordOffset)), in LowerNode()
577 graph()->NewNode(common()->Int32Constant(0)), in LowerNode()
[all …]
Deffect-control-linearizer.cc929 Node* zero = __ Int32Constant(0); in LowerTruncateTaggedToBit()
950 __ Int32Constant(1 << Map::kIsUndetectable)), in LowerTruncateTaggedToBit()
959 __ Goto(&done, __ Int32Constant(1)); in LowerTruncateTaggedToBit()
1110 __ Word32And(bitfield3, __ Int32Constant(Map::Deprecated::kMask)), in LowerCheckMaps()
1111 __ Int32Constant(0)); in LowerCheckMaps()
1122 __ Int32Constant(1), __ NoContextConstant()); in LowerCheckMaps()
1225 __ Int32Constant(kIsNotStringMask | kIsNotInternalizedMask)), in LowerCheckInternalizedString()
1226 __ Int32Constant(kInternalizedTag)); in LowerCheckInternalizedString()
1271 Node* zero = __ Int32Constant(0); in LowerCheckedInt32Div()
1293 Node* minint = __ Int32Constant(std::numeric_limits<int32_t>::min()); in LowerCheckedInt32Div()
[all …]
Dwasm-compiler.cc93 inputs[count++] = jsgraph->Int32Constant(fun->nargs); // arity in BuildCallToRuntimeWithContext()
152 jsgraph()->Int32Constant(val)), in TrapIfEq32()
263 return jsgraph()->Int32Constant(0xdeadbeef); in GetTrapValue()
270 return jsgraph()->Int32Constant(0xdeadbeef); in GetTrapValue()
302 Node* reason_node = builder_->Int32Constant( in ConnectTrap()
304 Node* position_node = builder_->Int32Constant(position); in ConnectTrap()
471 Node* WasmGraphBuilder::Int32Constant(int32_t value) { in Int32Constant() function in v8::internal::compiler::WasmGraphBuilder
472 return jsgraph()->Int32Constant(value); in Int32Constant()
798 return graph()->NewNode(op, input, jsgraph()->Int32Constant(0)); in Unop()
1123 buf[0] = jsgraph()->Int32Constant(0); in Return()
[all …]
Dbasic-block-instrumentor.cc46 : common->Int32Constant( in PointerConstant()
72 Node* zero = graph->NewNode(common.Int32Constant(0)); in Instrument()
73 Node* one = graph->NewNode(common.Int32Constant(1)); in Instrument()
Dmachine-operator-reducer.h36 Node* Int32Constant(int32_t value); in NON_EXPORTED_BASE()
39 return Int32Constant(bit_cast<int32_t>(value)); in NON_EXPORTED_BASE()
67 return Replace(Int32Constant(value)); in NON_EXPORTED_BASE()
Djs-graph.h86 Node* Int32Constant(int32_t value); in NON_EXPORTED_BASE()
88 return Int32Constant(bit_cast<int32_t>(value)); in NON_EXPORTED_BASE()
107 return machine()->Is32() ? Int32Constant(static_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 jsgraph()->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()
753 node->ReplaceInput(1, Int32Constant(-m.right().Value())); in ReduceInt32Sub()
789 Node* const zero = Int32Constant(0); in ReduceInt32Div()
793 node->ReplaceInput(0, Int32Constant(0)); in ReduceInt32Div()
815 node->ReplaceInput(0, Int32Constant(0)); in ReduceInt32Div()
837 Node* const zero = Int32Constant(0); in ReduceUint32Div()
[all …]
Drepresentation-change.cc563 return jsgraph()->Int32Constant(DoubleToInt32(value)); in MakeTruncatedInt32Constant()
595 return jsgraph()->Int32Constant(0); in GetWord32RepresentationFor()
708 return jsgraph()->Int32Constant(0); in GetBitRepresentationFor()
710 return jsgraph()->Int32Constant(1); in GetBitRepresentationFor()
721 return jsgraph()->Int32Constant(0); in GetBitRepresentationFor()
734 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor()
737 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor()
739 jsgraph()->Int32Constant(0)); in GetBitRepresentationFor()
Dgraph-assembler.cc26 Node* GraphAssembler::Int32Constant(int32_t value) { in Int32Constant() function in v8::internal::compiler::GraphAssembler
27 return jsgraph()->Int32Constant(value); in Int32Constant()
31 return graph()->NewNode(common()->Int32Constant(value)); in UniqueInt32Constant()
Draw-machine-assembler.h81 : Int32Constant(static_cast<int>(value)); in IntPtrConstant()
84 Node* Int32Constant(int32_t value) { in Int32Constant() function
85 return AddNode(common()->Int32Constant(value)); in Int32Constant()
240 Node* Word32Not(Node* a) { return Word32Xor(a, Int32Constant(-1)); } in Word32Not()
241 Node* Word32BinaryNot(Node* a) { return Word32Equal(a, Int32Constant(0)); } in Word32BinaryNot()
329 Node* Int32Neg(Node* a) { return Int32Sub(Int32Constant(0), a); } in Int32Neg()
700 return Load(rep, PointerConstant(address), Int32Constant(offset));
707 return UnalignedLoad(rep, PointerConstant(address), Int32Constant(offset));
Djs-generic-lowering.cc114 Node* arity = jsgraph()->Int32Constant(nargs); in ReplaceWithRuntimeCall()
409 node->InsertInput(zone(), 1, jsgraph()->Int32Constant(slot_count)); in LowerJSCreateFunctionContext()
519 Node* stub_arity = jsgraph()->Int32Constant(arg_count); in LowerJSConstruct()
539 Node* stub_arity = jsgraph()->Int32Constant(arg_count); in LowerJSConstructWithSpread()
578 Node* stub_arity = jsgraph()->Int32Constant(arg_count); in LowerJSCall()
592 Node* stub_arity = jsgraph()->Int32Constant(arg_count); in LowerJSCallWithSpread()
Draw-machine-assembler.cc123 Node* values[] = {Int32Constant(0), value}; in Return()
131 Node* values[] = {Int32Constant(0), v1, v2}; in Return()
139 Node* values[] = {Int32Constant(0), v1, v2, v3}; in Return()
/external/v8/src/
Dcode-stub-assembler.cc114 return SelectConstant(condition, Int32Constant(true_value), in SelectInt32Constant()
115 Int32Constant(false_value), in SelectInt32Constant()
471 GotoIf(Word32Equal(b, Int32Constant(0)), &return_nan); in SmiMod()
475 Branch(Int32LessThanOrEqual(Int32Constant(0), a), &if_aisnotnegative, in SmiMod()
492 GotoIfNot(Word32Equal(a, Int32Constant(kMinInt)), &join); in SmiMod()
493 GotoIf(Word32Equal(b, Int32Constant(-1)), &return_minuszero); in SmiMod()
503 GotoIf(Word32Equal(r, Int32Constant(0)), &return_minuszero); in SmiMod()
545 Node* zero = Int32Constant(0); in SmiMul()
632 Int32Constant(LAST_CUSTOM_ELEMENTS_RECEIVER)), in BranchIfPrototypesHaveNoElements()
646 Int32Constant(FIRST_JS_RECEIVER_TYPE)), in BranchIfJSReceiver()
[all …]
/external/v8/src/ic/
Dkeyed-store-generic.cc109 Int32Constant(LAST_CUSTOM_ELEMENTS_RECEIVER)), in BranchIfPrototypesHaveNonFastElements()
114 GotoIf(Word32Equal(elements_kind, Int32Constant(NO_ELEMENTS)), &loop_body); in BranchIfPrototypesHaveNonFastElements()
187 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind)), in TryChangeToHoleyMap()
203 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind)), in TryChangeToHoleyMapMulti()
205 GotoIf(Word32Equal(current_elements_kind, Int32Constant(holey_kind_2)), in TryChangeToHoleyMapMulti()
235 Int32Constant(JS_ARRAY_TYPE))); in StoreElementWithCapacity()
296 Int32Constant(FAST_HOLEY_SMI_ELEMENTS)), in StoreElementWithCapacity()
434 GotoIf(Word32Equal(instance_type, Int32Constant(JS_ARRAY_TYPE)), &if_array); in EmitGenericElementStore()
487 Int32Constant(FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND)), in EmitGenericElementStore()
489 GotoIf(Word32Equal(elements_kind, Int32Constant(DICTIONARY_ELEMENTS)), in EmitGenericElementStore()
[all …]
Daccessor-assembler.cc914 Int32GreaterThan(elements_kind, Int32Constant(LAST_FAST_ELEMENTS_KIND)), in EmitElementLoad()
975 Int32Constant(FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND)), in EmitElementLoad()
977 GotoIf(Word32Equal(elements_kind, Int32Constant(DICTIONARY_ELEMENTS)), in EmitElementLoad()
997 GotoIfNot(Word32Equal(kind, Int32Constant(kData)), miss); in EmitElementLoad()
1154 Int32Constant(LAST_CUSTOM_ELEMENTS_RECEIVER)), in GenericElementLoad()
1159 Word32Equal(instance_type, Int32Constant(JS_ARRAY_TYPE)); in GenericElementLoad()
1207 Int32Constant(LAST_SPECIAL_RECEIVER_TYPE)), in GenericPropertyLoad()
1298 Int32Constant(JS_TYPED_ARRAY_TYPE)), in GenericPropertyLoad()
1342 Int32Constant(Name::kHashNotComputedMask)), in StubCachePrimaryOffset()
1343 Int32Constant(0))); in StubCachePrimaryOffset()
[all …]
/external/v8/src/builtins/
Dbuiltins-string.cc35 Int32Constant(kStringRepresentationMask)), in DirectStringData()
36 Int32Constant(kSeqStringTag)), in DirectStringData()
53 Int32Constant(kShortExternalStringMask)), in DirectStringData()
54 Int32Constant(kShortExternalStringTag))); in DirectStringData()
93 Word32And(instance_type, Int32Constant(kMask)); in DispatchOnStringInstanceType()
197 lhs_instance_type, Word32Shl(rhs_instance_type, Int32Constant(8))); in GenerateStringEqual()
205 Int32Constant(kBothInternalizedMask)), in GenerateStringEqual()
206 Int32Constant(kBothInternalizedTag)), in GenerateStringEqual()
220 Int32Constant(kBothDirectOneByteStringMask)), in GenerateStringEqual()
221 Int32Constant(kBothDirectOneByteStringTag)), in GenerateStringEqual()
[all …]
Dbuiltins-constructor.cc41 compiler_hints, Int32Constant(1 << SharedFunctionInfo::kStrictModeBit)); in EmitFastNewClosure()
51 Int32Constant(SharedFunctionInfo::kAllFunctionKindBitsMask)); in EmitFastNewClosure()
55 compiler_hints, Int32Constant(FunctionKind::kGeneratorFunction in EmitFastNewClosure()
60 compiler_hints, Int32Constant(FunctionKind::kAsyncFunction in EmitFastNewClosure()
65 compiler_hints, Int32Constant(FunctionKind::kClassConstructor in EmitFastNewClosure()
74 Int32Constant((FunctionKind::kAccessorFunction | in EmitFastNewClosure()
277 bit_field3, Int32Constant(1 << Map::ConstructionCounter::kShift)); in EmitFastNewObject()
Dbuiltins-number.cc39 Node* shift_count = Word32And(rhs, Int32Constant(0x1f)); in BitwiseShiftOp()
207 input_hash, Int32Constant(String::kContainsCachedArrayIndexMask)); in TF_BUILTIN()
208 Branch(Word32Equal(input_bit, Int32Constant(0)), &if_inputcached, in TF_BUILTIN()
321 input_hash, Int32Constant(String::kContainsCachedArrayIndexMask)); in TF_BUILTIN()
322 GotoIf(Word32NotEqual(input_bit, Int32Constant(0)), &if_generic); in TF_BUILTIN()
710 Word32Equal(lhs_instance_type, Int32Constant(HEAP_NUMBER_TYPE)), in TF_BUILTIN()
771 Word32Equal(lhs_instance_type, Int32Constant(HEAP_NUMBER_TYPE)), in TF_BUILTIN()
780 Int32Constant(HEAP_NUMBER_TYPE)), in TF_BUILTIN()
1255 Branch(Word32Equal(untagged_divisor, Int32Constant(-1)), in TF_BUILTIN()
1262 Int32Constant(kSmiValueSize == 32 ? kMinInt in TF_BUILTIN()
Dbuiltins-function.cc298 assembler.Int32Constant(JS_FUNCTION_TYPE)), in Generate_FastFunctionPrototypeBind()
386 assembler.Uint32LessThanOrEqual(argc, assembler.Int32Constant(1)), in Generate_FastFunctionPrototypeBind()
389 assembler.Int32Sub(argc, assembler.Int32Constant(1))); in Generate_FastFunctionPrototypeBind()
414 assembler.GotoIf(assembler.Word32NotEqual(argc, assembler.Int32Constant(0)), in Generate_FastFunctionPrototypeBind()
Dbuiltins-array.cc229 Node* test = assembler.Word32And(bit_field2, assembler.Int32Constant(mask)); in Generate_FastArrayPush()
232 test, assembler.Int32Constant(1 << Map::kIsExtensible)), in Generate_FastArrayPush()
256 kind, assembler.Int32Constant(FAST_HOLEY_SMI_ELEMENTS)), in Generate_FastArrayPush()
284 kind, assembler.Int32Constant(DICTIONARY_ELEMENTS)), in Generate_FastArrayPush()
294 kind, assembler.Int32Constant(FAST_HOLEY_ELEMENTS)), in Generate_FastArrayPush()
333 kind, assembler.Int32Constant(DICTIONARY_ELEMENTS)), in Generate_FastArrayPush()
602 Branch(Int32GreaterThan(kind, Int32Constant(FAST_HOLEY_ELEMENTS)), in TF_BUILTIN()
615 Branch(Int32GreaterThan(kind, Int32Constant(FAST_HOLEY_DOUBLE_ELEMENTS)), in TF_BUILTIN()
1663 instance_type, assembler.Int32Constant(JS_ARRAY_TYPE)), in Generate_ArrayIsArray()
1668 instance_type, assembler.Int32Constant(JS_PROXY_TYPE)), in Generate_ArrayIsArray()
[all …]
Dbuiltins-sharedarraybuffer.cc47 a->Int32Constant(JS_TYPED_ARRAY_TYPE)), in ValidateSharedTypedArray()
73 a->Int32Constant(FIXED_FLOAT32_ARRAY_TYPE)), in ValidateSharedTypedArray()
148 a->Word32Or(a->Int32LessThan(index_word, a->Int32Constant(0)), in ValidateAtomicIndex()
Dbuiltins-regexp.cc487 var_result.Bind(Int32Constant(1)); in IsFastRegExpMap()
491 var_result.Bind(Int32Constant(0)); in IsFastRegExpMap()
623 Node* const value = Int32Constant(CHAR); \ in FlagsGetter()
647 Variable var_result(this, MachineRepresentation::kWord32, Int32Constant(0)); in IsRegExp()
671 var_result.Bind(Int32Constant(1)); in IsRegExp()
1047 var_result.Bind(Int32Constant(1)); in SlowFlagGetter()
1053 var_result.Bind(Int32Constant(0)); in SlowFlagGetter()
1086 Branch(Word32Equal(instance_type, Int32Constant(JS_REGEXP_TYPE)), in FlagGetter()
1392 GotoIfNot(Word32Equal(Word32And(lead, Int32Constant(0xFC00)), in AdvanceStringIndex()
1393 Int32Constant(0xD800)), in AdvanceStringIndex()
[all …]
/external/v8/src/interpreter/
Dinterpreter-assembler.cc115 Branch(Word32Equal(depth, Int32Constant(0)), &context_found, &context_search); in GetContextAtDepth()
120 cur_depth.Bind(Int32Sub(cur_depth.value(), Int32Constant(1))); in GetContextAtDepth()
124 Branch(Word32Equal(cur_depth.value(), Int32Constant(0)), &context_found, in GetContextAtDepth()
158 cur_depth.Bind(Int32Sub(cur_depth.value(), Int32Constant(1))); in GotoIfHasContextExtensionUpToDepth()
162 GotoIf(Word32NotEqual(cur_depth.value(), Int32Constant(0)), in GotoIfHasContextExtensionUpToDepth()
311 Node* shift = Int32Constant(i * kBitsPerByte); in BytecodeOperandReadUnaligned()
659 Word32Equal(instance_type, Int32Constant(JS_FUNCTION_TYPE)); in CallJSWithFeedback()
773 Word32Equal(instance_type, Int32Constant(JS_FUNCTION_TYPE)); in Construct()
932 Int32Mul(function_id, Int32Constant(sizeof(Runtime::Function))); in CallRuntimeN()
958 Int32GreaterThanOrEqual(new_budget.value(), Int32Constant(0)); in UpdateInterruptBudget()
[all …]
Dinterpreter-intrinsics.cc112 return __ Word32Equal(instance_type, __ Int32Constant(type)); in CompareInstanceType()
115 return __ Int32GreaterThanOrEqual(instance_type, __ Int32Constant(type)); in CompareInstanceType()
279 Node* function_and_receiver_count = __ Int32Constant(2); in Call()
284 Node* comparison = __ Int32LessThan(target_args_count, __ Int32Constant(0)); in Call()
342 Node* comparison = __ Word32Equal(actual, __ Int32Constant(expected)); in AbortIfArgCountMismatch()
Dinterpreter.cc1171 __ Word32Equal(lhs_instance_type, __ Int32Constant(ODDBALL_TYPE)), in DoCompareOpWithFeedback()
1192 __ Int32Constant(kIsNotInternalizedMask)), in DoCompareOpWithFeedback()
1193 __ Int32Constant(kInternalizedTag)), in DoCompareOpWithFeedback()
1240 __ Int32Constant(ODDBALL_TYPE)), in DoCompareOpWithFeedback()
1265 __ Int32Constant(kIsNotInternalizedMask)), in DoCompareOpWithFeedback()
1266 __ Int32Constant(kInternalizedTag)), in DoCompareOpWithFeedback()
1402 lhs_value, __ Word32And(rhs_value, __ Int32Constant(0x1f))); in DoBitwiseBinaryOp()
1407 lhs_value, __ Word32And(rhs_value, __ Int32Constant(0x1f))); in DoBitwiseBinaryOp()
1412 lhs_value, __ Word32And(rhs_value, __ Int32Constant(0x1f))); in DoBitwiseBinaryOp()
1671 Node* shift_count = __ Word32And(rhs_value, __ Int32Constant(0x1f)); in DoShiftLeftSmi()
[all …]

12