Lines Matching refs:Int32
117 return Int32And(ZExtInt16ToInt32(stateAndFlags), Int32(SUSPEND_REQUEST));
124 BRANCH_UNLIKELY(Int32Equal(Int32(ThreadFlag::SUSPEND_REQUEST), CheckSuspend(glue)), &needSuspend, &loopEnd);
184 .And(Int32NotEqual(Int32And(fieldType, Int32(static_cast<int32_t>(SharedFieldType::NUMBER))), Int32(0)))
197 .And(Int32NotEqual(Int32And(fieldType, Int32(static_cast<int32_t>(SharedFieldType::BOOLEAN))), Int32(0)))
210 .And(Int32NotEqual(Int32And(fieldType, Int32(static_cast<int32_t>(SharedFieldType::STRING))), Int32(0)))
223 .And(Int32NotEqual(Int32And(fieldType, Int32(static_cast<int32_t>(SharedFieldType::SENDABLE))), Int32(0)))
236 .And(Int32NotEqual(Int32And(fieldType, Int32(static_cast<int32_t>(SharedFieldType::BIG_INT))), Int32(0)))
249 .Or(Equal(fieldType, Int32(static_cast<int32_t>(SharedFieldType::NONE))))
250 .Or(Int32NotEqual(Int32And(fieldType, Int32(static_cast<int32_t>(SharedFieldType::GENERIC))), Int32(0)))
267 .And(Int32NotEqual(Int32And(fieldType, Int32(static_cast<int32_t>(SharedFieldType::NULL_TYPE))), Int32(0)))
280 .And(Int32NotEqual(Int32And(fieldType, Int32(static_cast<int32_t>(SharedFieldType::UNDEFINED))), Int32(0)))
308 DEFVARIABLE(result, VariableType::INT32(), Int32(0));
314 BRANCH(Int32LessThanOrEqual(propsNum, Int32(maxPropsNum)), ¬ExceedUpper, &exceedUpper);
327 BRANCH_LIKELY(Int32LessThan(Int32(idx), propsNum), &check, ¬Fount);
332 result = Int32(idx);
334 PtrMul(ZExtInt32ToPtr(Int32(idx)),
345 result = Int32(-1);
354 BRANCH(Int32Equal(index, Int32(PropertiesCache::NOT_FOUND)), ¬Find, &find);
358 BRANCH(Int32Equal(*result, Int32(PropertiesCache::NOT_FOUND)), &exit, &setCache);
379 DEFVARIABLE(result, VariableType::INT32(), Int32(PropertiesCache::NOT_FOUND));
408 DEFVARIABLE(low, VariableType::INT32(), Int32(0));
411 DEFVARIABLE(high, VariableType::INT32(), Int32Sub(elements, Int32(1)));
412 DEFVARIABLE(result, VariableType::INT32(), Int32(-1));
413 DEFVARIABLE(mid, VariableType::INT32(), Int32(-1));
429 mid = Int32Add(*low, Int32Div(Int32Sub(*high, *low), Int32(2))); // 2: half
435 high = Int32Sub(*mid, Int32(1));
443 low = Int32Add(*mid, Int32(1));
474 BRANCH(Int32GreaterThanOrEqual(Int32Sub(*midLeft, Int32(1)), Int32(0)),
479 midLeft = Int32Sub(*midLeft, Int32(1));
513 BRANCH(Int32LessThan(Int32Add(*midRight, Int32(1)), elements), &nextCount1, &exit);
517 midRight = Int32Add(*midRight, Int32(1));
564 DEFVARIABLE(result, VariableType::INT32(), Int32(-1));
666 GateRef msgIntId = Int32(GET_MESSAGE_STRING_ID(CreateDataPropertyFailed));
714 GateRef msgIntId = Int32(GET_MESSAGE_STRING_ID(DefineFieldField));
731 DEFVARIABLE(result, VariableType::INT32(), Int32(-1));
739 DEFVARIABLE(count, VariableType::INT32(), Int32(1));
740 GateRef len = Int32(sizeof(int) / sizeof(uint8_t));
744 Int32And(TruncInt64ToInt32(ChangeTaggedPointerToInt64(hash)), Int32Sub(capacity, Int32(1))));
761 result = Int32(-1);
774 count = Int32Add(*count, Int32(1));
789 DEFVARIABLE(result, VariableType::INT32(), Int32(-1));
796 DEFVARIABLE(count, VariableType::INT32(), Int32(1));
797 DEFVARIABLE(hash, VariableType::INT32(), Int32(0));
829 DEFVARIABLE(entry, VariableType::INT32(), Int32And(*hash, Int32Sub(capacity, Int32(1))));
850 result = Int32(-1);
876 count = Int32Add(*count, Int32(1));
897 DEFVARIABLE(result, VariableType::INT32(), Int32(-1));
904 DEFVARIABLE(count, VariableType::INT32(), Int32(1));
905 DEFVARIABLE(hash, VariableType::INT32(), Int32(0));
938 DEFVARIABLE(entry, VariableType::INT32(), Int32And(*hash, Int32Sub(capacity, Int32(1))));
959 result = Int32(-1);
988 count = Int32Add(*count, Int32(1));
1094 DEFVARIABLE(result, VariableType::INT32(), Int32(0));
1121 DEFVARIABLE(result, VariableType::INT32(), Int32(0));
1122 GateRef newL = Int32Add(oldLength, Int32LSR(oldLength, Int32(1)));
1125 BRANCH(Int32GreaterThan(newL, Int32(JSObject::MIN_ELEMENTS_LENGTH)), &reachMin, ¬ReachMin);
1131 result = Int32(JSObject::MIN_ELEMENTS_LENGTH);
1164 auto condition = Int32UnsignedGreaterThan(length, Int32(INT32_MAX));
1202 CallStubBuilder callBuilder(this, glue, getter, Int32(0), 0, &tmpResult, Circuit::NullGate(), callArgs,
1260 CallStubBuilder callBuilder(this, glue, setter, Int32(1), 0, &tmpResult, Circuit::NullGate(), callArgs,
1379 Int32(JSTaggedValue::TaggedTypeSize()));
1443 SetHClassBit<JSHClass::HasConstructorBits>(glue, hclass, Int32(1));
1463 attr = SetIsInlinePropsFieldInPropAttr(*attr, Int32(1)); // 1: set inInlineProps true
1484 BRANCH(Int32Equal(*length, Int32(0)), &lenIsZero, &lenNotZero);
1488 length = Int32(JSObject::MIN_PROPERTIES_LENGTH);
1510 attr = SetIsInlinePropsFieldInPropAttr(*attr, Int32(0));
1515 BRANCH(Int32GreaterThanOrEqual(numberOfProps, Int32(PropertyAttributes::MAX_FAST_PROPS_CAPACITY)),
1521 Int32(PropertyAttributes::MAX_FAST_PROPS_CAPACITY));
1549 Int32Sub(Int32(PropertyAttributes::MAX_FAST_PROPS_CAPACITY), inlinedProperties);
1581 GateRef msgIntId = Int32(messageId);
1632 DEFVARIABLE(result, VariableType::INT32(), Int32(static_cast<int32_t>(ElementsKind::TAGGED)));
1638 result = Int32(static_cast<int32_t>(ElementsKind::HOLE));
1648 result = Int32(static_cast<int32_t>(ElementsKind::INT));
1658 result = Int32(static_cast<int32_t>(ElementsKind::NUMBER));
1672 result = Int32(static_cast<int32_t>(ElementsKind::STRING));
1677 result = Int32(static_cast<int32_t>(ElementsKind::OBJECT));
1815 FatalPrint(glue, {Int32(msgId)});
1848 FatalPrint(glue, {Int32(msgId)});
1917 GateRef bitPerWordLog2 = Int32(GCBitset::BIT_PER_WORD_LOG2);
1918 GateRef bytePerWord = Int32(GCBitset::BYTE_PER_WORD);
1930 BRANCH(Int32NotEqual(flag, Int32(0)), &checkBarrierForSharedValue, &needSet);
1997 GateRef bitPerWordLog2 = Int32(GCBitset::BIT_PER_WORD_LOG2);
1998 GateRef bytePerWord = Int32(GCBitset::BYTE_PER_WORD);
2035 GateRef bitPerWordLog2 = Int32(GCBitset::BIT_PER_WORD_LOG2);
2036 GateRef bytePerWord = Int32(GCBitset::BYTE_PER_WORD);
2087 Int32(static_cast<int32_t>(JSType::BIGINT)));
2108 result = Int32Equal(type, Int32(static_cast<int32_t>(JSType::PROPERTY_BOX)));
2129 result = BitOr(Int32Equal(type, Int32(static_cast<int32_t>(JSType::ACCESSOR_DATA))),
2130 Int32Equal(type, Int32(static_cast<int32_t>(JSType::INTERNAL_ACCESSOR))));
2144 Int32And(len, Int32(EcmaString::STRING_COMPRESSED_BIT)),
2145 Int32(EcmaString::STRING_UNCOMPRESSED));
2153 Int32And(len, Int32(EcmaString::STRING_COMPRESSED_BIT)),
2154 Int32(EcmaString::STRING_COMPRESSED));
2162 Int32And(len, Int32(EcmaString::STRING_INTERN_BIT)),
2163 Int32(0));
2168 return BitAnd(Int32LessThanOrEqual(ch, Int32('9')),
2169 Int32GreaterThanOrEqual(ch, Int32('0')));
2180 BRANCH(Int32LessThan(len, Int32(MAX_ELEMENT_INDEX_LEN)), &inRange, failed);
2204 BRANCH(Int32Equal(len, Int32(0)), &exit, &greatThanZero);
2206 BRANCH(Int32GreaterThan(len, Int32(MAX_ELEMENT_INDEX_LEN)), &exit, &inRange);
2217 DEFVARIABLE(c, VariableType::INT32(), Int32(0));
2226 BRANCH(Int32Equal(*c, Int32('0')), &isDigitZero, ¬DigitZero);
2230 BRANCH(Int32Equal(len, Int32(1)), &lengthIsOne, &exit);
2240 DEFVARIABLE(i, VariableType::INT32(), Int32(1));
2258 i = Int32Add(*i, Int32(1));
2349 BRANCH(Int32NotEqual(recordEntry, Int32(-1)), &foundInGlobalRecord, &exit);
2448 DEFVARIABLE(i, VariableType::INT32(), Int32(0));
2467 result = GetValueFromTaggedArray(cachedValue, Int32Add(*i, Int32(1)));
2471 i = Int32Add(*i, Int32(2)); // 2 means one ic, two slot
2604 BRANCH(Int32LessThan(index, Int32(0)), &indexLessZero, &indexNotLessZero);
2648 BRANCH(Int32LessThan(index, Int32(0)), &indexLessZero, &indexNotLessZero);
2692 GrowElementsCapacity(glue, receiver, Int32Add(index, Int32(1)));
2698 Int32(static_cast<int32_t>(ElementsKind::NONE)));
2746 BRANCH(Int32LessThan(index, Int32(0)), &indexLessZero, &indexNotLessZero);
2789 Int32Add(index, Int32(1)));
2814 DEFVARIABLE(kind, VariableType::INT32(), Int32(static_cast<int32_t>(ElementsKind::NONE)));
2818 kind = Int32(static_cast<int32_t>(ElementsKind::HOLE));
2827 Int32(static_cast<int32_t>(ElementsKind::NONE)));
3122 BRANCH(Int32Equal(capacity, Int32(0)), &capacityIsZero, &capacityNotZero);
3125 GateRef properties = newBuilder.NewTaggedArray(glue, Int32(JSObject::MIN_PROPERTIES_LENGTH));
3134 Int32Sub(Int32(PropertyAttributes::MAX_FAST_PROPS_CAPACITY), inlinedProperties);
3197 Int32Add(Int32(DictionaryT::TABLE_HEADER_SIZE),
3198 Int32Mul(entry, Int32(DictionaryT::ENTRY_SIZE)));
3200 Int32Add(arrayIndex, Int32(DictionaryT::ENTRY_DETAILS_INDEX));
3209 Int32Add(Int32(DictionaryT::TABLE_HEADER_SIZE),
3210 Int32Mul(entry, Int32(DictionaryT::ENTRY_SIZE)));
3212 Int32Add(arrayIndex, Int32(DictionaryT::ENTRY_VALUE_INDEX));
3231 Int32Add(Int32(DictionaryT::TABLE_HEADER_SIZE),
3232 Int32Mul(entry, Int32(DictionaryT::ENTRY_SIZE)));
3233 BRANCH(Int32LessThan(arrayIndex, Int32(0)), <Zero, ¬LtZero);
3253 Int32Add(Int32(NameDictionary::TABLE_HEADER_SIZE),
3254 Int32Mul(index, Int32(NameDictionary::ENTRY_SIZE)));
3256 Int32Add(arrayIndex, Int32(NameDictionary::ENTRY_VALUE_INDEX));
3258 Int32Add(arrayIndex, Int32(NameDictionary::ENTRY_DETAILS_INDEX));
3269 GateRef arrayIndex = Int32Add(Int32(DictionaryT::TABLE_HEADER_SIZE),
3270 Int32Mul(index, Int32(DictionaryT::ENTRY_SIZE)));
3271 GateRef valueIndex = Int32Add(arrayIndex, Int32(DictionaryT::ENTRY_VALUE_INDEX));
3302 BRANCH(Int32Equal(jsType, Int32(static_cast<int32_t>(JSType::JS_TYPED_ARRAY))), &exit, ¬TypedArrayProto);
3339 result = stringBuilder.FastSubString(glue, *holder, index, Int32(1), stringInfoGate);
3387 BRANCH(Int32NotEqual(entryA, Int32(-1)), ¬NegtiveOne, &negtiveOne);
3467 BRANCH(Int32GreaterThanOrEqual(index, Int32(0)), &validIndex, ¬ValidIndex);
3627 BRANCH(Int32NotEqual(entryA, Int32(-1)), &hasEntry, &noEntry);
3665 BRANCH(Int32NotEqual(entryB, Int32(-1)), ¬NegtiveOne, &negtiveOne);
3749 Int32(JSTaggedValue::TaggedTypeSize()));
3779 BRANCH(Int32Equal(elementsKind, Int32(static_cast<int32_t>(ElementsKind::GENERIC))), &exit, &isNoneDefault);
3815 MigrateArrayWithKind(glue, receiver, oldKind, Int32(static_cast<int32_t>(ElementsKind::GENERIC)));
3830 DEFVARIABLE(kind, VariableType::INT32(), Int32(static_cast<int32_t>(ElementsKind::NONE)));
3847 SetArrayLength(glue, receiver, Int32Add(index, Int32(1)));
3851 kind = Int32(static_cast<int32_t>(ElementsKind::HOLE));
3907 GrowElementsCapacity(glue, receiver, Int32Add(index, Int32(1)));
3958 Int32(JSObject::MAX_GAP)), &isLessThanMax, ¬LessThanMax);
3963 BRANCH(Int32LessThan(index, Int32(INT32_MAX)), &isLessThanInt32Max, ¬LessThanInt32Max);
3968 BRANCH(Int32LessThan(capacity, Int32(JSObject::MIN_GAP)), &isLessThanMin, ¬LessThanMin);
3976 result = Int32GreaterThan(index, Int32Mul(capacity, Int32(JSObject::FAST_ELEMENTS_FACTOR)));
4060 BRANCH(Int32NotEqual(entry, Int32(-1)), ¬NegtiveOne, &isNegtiveOne);
4077 GateRef attr = GetPropAttrFromLayoutInfo(layoutInfo, Int32(JSArray::LENGTH_INLINE_PROPERTY_INDEX));
4099 GateRef last = Int32Sub(propNums, Int32(1));
4106 Branch(Equal(lastRep, Int32(static_cast<int32_t>(Representation::INT))), &repIsInt, &repIsNotInt);
4111 Branch(Equal(valueRep, Int32(static_cast<int32_t>(Representation::INT))), &exit, &valueRepIsNotInt);
4120 Branch(Equal(lastRep, Int32(static_cast<int32_t>(Representation::DOUBLE))), &repIsDouble, &exit);
4124 Branch(Equal(valueRep, Int32(static_cast<int32_t>(Representation::INT))), &exit, &valueRepIsNotInt);
4128 Branch(Equal(valueRep, Int32(static_cast<int32_t>(Representation::DOUBLE))), &exit,
4165 GateRef last = Int32Sub(propNums, Int32(1));
4191 BRANCH(Int32NotEqual(entryA, Int32(-1)), &isFound, &exit);
4246 BRANCH(Int32Equal(jsType, Int32(static_cast<int32_t>(JSType::JS_TYPED_ARRAY))), &exit, ¬TypedArrayProto);
4302 Int32(static_cast<uint32_t>(ElementsKind::NONE)));
4313 Int32(static_cast<uint32_t>(ElementsKind::NONE)));
4326 BRANCH(Int32NotEqual(entryA, Int32(-1)), ¬NegtiveOne, &negtiveOne);
4419 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(SetPropertyWhenNotExtensible));
4457 BRANCH(Int32Equal(jsType, Int32(static_cast<int32_t>(JSType::JS_TYPED_ARRAY))), &exit, ¬TypedArrayProto);
4501 Int32(static_cast<uint32_t>(ElementsKind::NONE)));
4512 Int32(static_cast<uint32_t>(ElementsKind::NONE)));
4525 BRANCH(Int32NotEqual(entryA, Int32(-1)), ¬NegtiveOne, &negtiveOne);
4588 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(SetPropertyWhenNotExtensible));
4607 DEFVARIABLE(receiverHoleEntry, VariableType::INT32(), Int32(-1));
4650 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(CanNotSetPropertyOnContainer));
4683 BRANCH(Int32NotEqual(entry, Int32(-1)), &hasEntry, &ifEnd);
4685 BRANCH(Int32NotEqual(entry, Int32(-1)), &hasEntry, &loopExit);
4715 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(SetReadOnlyProperty));
4734 GateRef checkReceiverHoleEntry = Int32Equal(*receiverHoleEntry, Int32(-1));
4778 BRANCH(Int32NotEqual(entry1, Int32(-1)), ¬NegtiveOne, &ifEnd);
4780 BRANCH(Int32NotEqual(entry1, Int32(-1)), ¬NegtiveOne, &loopExit);
4810 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(SetReadOnlyProperty));
4851 BRANCH(Int32NotEqual(*receiverHoleEntry, Int32(-1)), &holeEntryNotNegtiveOne, &holeEntryIfEnd);
4869 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(SetPropertyWhenNotExtensible));
4894 DEFVARIABLE(receiverHoleEntry, VariableType::INT32(), Int32(-1));
4934 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(CanNotSetPropertyOnContainer));
4958 BRANCH(Int32NotEqual(entry, Int32(-1)), &hasEntry, &ifEnd);
4996 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(SetReadOnlyProperty));
5014 GateRef checkReceiverHoleEntry = Int32Equal(*receiverHoleEntry, Int32(-1));
5048 BRANCH(Int32NotEqual(entry1, Int32(-1)), ¬NegtiveOne, &ifEnd);
5086 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(SetReadOnlyProperty));
5112 BRANCH(Int32NotEqual(*receiverHoleEntry, Int32(-1)), &holeEntryNotNegtiveOne, &holeEntryIfEnd);
5130 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(SetPropertyWhenNotExtensible));
5185 BRANCH(Int32GreaterThanOrEqual(index, Int32(0)), &validIndex, ¬ValidIndex);
5285 BRANCH(Int32GreaterThanOrEqual(index, Int32(0)), &validIndex, ¬ValidIndex);
5349 GateRef valueIndex = Int32Add(index, Int32(LexicalEnv::RESERVED_ENV_LENGTH));
5575 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(TargetTypeNotObject));
5616 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(InstanceOfErrorTargetNotCallable));
5657 CallStubBuilder callBuilder(this, glue, instof, Int32(1), 0, &callRes, Circuit::NullGate(), callArgs,
5663 CallStubBuilder callBuilder(this, glue, instof, Int32(1), 0, nullptr, Circuit::NullGate(), callArgs,
5711 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(NonCallable));
5747 result = CallRuntime(glue, RTSTUB_ID(LoadICByName), { Undefined(), obj, key, IntToTaggedInt(Int32(0)) });
5838 result = CallRuntime(glue, RTSTUB_ID(StoreICByValue), { obj, *keyVar, value, IntToTaggedInt(Int32(0)) });
6032 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(InstanceOfErrorTargetNotCallable));
6378 BRANCH(Int32Equal(GetLengthFromString(left), Int32(1)), &lenIsOne, &hashcodeCompare);
6394 GateRef leftStrToInt = stringBuilder.StringAt(leftStrInfoGate, Int32(0));
6395 GateRef rightStrToInt = stringBuilder.StringAt(rightStrInfoGate, Int32(0));
6766 BRANCH(Int32Equal(len, Int32(0)), &returnFalse, &returnTrue);
6773 BRANCH(Int32Equal(len, Int32(1)), &lengthIsOne, &returnTrue);
6777 auto data0 = Load(VariableType::INT32(), data, Int32(0));
6778 BRANCH(Int32Equal(data0, Int32(0)), &returnFalse, &returnTrue);
6788 BRANCH(Int32Equal(intValue, Int32(0)), &returnFalse, &returnTrue);
6865 Branch(Int32Equal(len, Int32(0)), &returnFalse, &returnTrue);
6872 Branch(Int32Equal(len, Int32(1)), &lengthIsOne, &returnTrue);
6876 auto data0 = Load(VariableType::INT32(), data, Int32(0));
6877 Branch(Int32Equal(data0, Int32(0)), &returnFalse, &returnTrue);
6887 Branch(Int32Equal(intValue, Int32(0)), &returnFalse, &returnTrue);
6984 BRANCH(Int32Equal(len, Int32(0)), &returnFalse, &returnTrue);
6991 BRANCH(Int32Equal(len, Int32(1)), &lengthIsOne, &returnTrue);
6995 auto data0 = Load(VariableType::INT32(), data, Int32(0));
6996 BRANCH(Int32Equal(data0, Int32(0)), &returnFalse, &returnTrue);
7007 BRANCH(Int32Equal(intValue, Int32(0)), &returnFalse, &returnTrue);
7104 Branch(Int32Equal(len, Int32(0)), &returnFalse, &returnTrue);
7111 Branch(Int32Equal(len, Int32(1)), &lengthIsOne, &returnTrue);
7115 auto data0 = Load(VariableType::INT32(), data, Int32(0));
7116 Branch(Int32Equal(data0, Int32(0)), &returnFalse, &returnTrue);
7127 Branch(Int32Equal(intValue, Int32(0)), &returnFalse, &returnTrue);
7491 GateRef condition = env->GetBuilder()->ExtractValue(MachineType::I1, res, Int32(1));
7504 res = env->GetBuilder()->ExtractValue(MachineType::I32, res, Int32(0));
7509 BRANCH(Int32Equal(res, Int32(0)), &resultIsZero, &returnResult);
7511 BRANCH(LogicOrBuilder(env).Or(Int32LessThan(GetInt32OfTInt(left), Int32(0)))
7512 .Or(Int32LessThan(GetInt32OfTInt(right), Int32(0))).Done(),
7545 DEFVARIABLE(intResult, VariableType::INT32(), Int32(0));
7553 BRANCH(Int32Equal(intRight, Int32(0)), bailout, &rightIsNotZero);
7555 BRANCH(Int32Equal(intLeft, Int32(INT_MIN)), &leftIsIntMin, &leftAndRightIsNotBoundary);
7557 BRANCH(Int32Equal(intRight, Int32(-1)), bailout, &leftAndRightIsNotBoundary);
7562 BRANCH(Int32Equal(intLeft, Int32(0)), &leftIsZero, &leftIsNotZero);
7565 BRANCH(Int32LessThan(intRight, Int32(0)), bailout, &leftIsNotZero);
7602 DEFVARIABLE(intLeft, VariableType::INT32(), Int32(0));
7603 DEFVARIABLE(intRight, VariableType::INT32(), Int32(0));
7619 BRANCH(Int32GreaterThanOrEqual(*intLeft, Int32(0)), &leftGreaterZero, &leftNotIntOrRightNotInt);
7623 BRANCH(Int32GreaterThan(*intRight, Int32(0)), &rightGreaterZero, &leftNotIntOrRightNotInt);
7758 BRANCH(Int32NotEqual(entry, Int32(-1)), ¬NegtiveOne, &exit);
7825 BRANCH(BitAnd(Int32GreaterThanOrEqual(index, Int32(0)),
7835 GateRef taggedId = Int32(GET_MESSAGE_STRING_ID(GetPropertyOutOfBounds));
8090 DEFVARIABLE(numOfElements, VariableType::INT32(), Int32(0));
8091 DEFVARIABLE(i, VariableType::INT32(), Int32(0));
8127 numOfElements = Int32Add(*numOfElements, Int32(1));
8131 i = Int32Add(*i, Int32(1));
8138 GetValueFromTaggedArray(elements, Int32(TaggedHashTable<NumberDictionary>::NUMBER_OF_ENTRIES_INDEX)));
8160 BRANCH(Int32GreaterThan(numOfElements, Int32(0)), &exit, &receiverHasNoElements);
8173 BRANCH(Int32GreaterThan(numOfCurrentElements, Int32(0)), &exit, ¤tHasNoElements);
8211 BRANCH(Int32GreaterThan(numOfElements, Int32(0)), &exit, &receiverHasNoElements);
8231 BRANCH(Int32GreaterThan(numOfCurrentElements, Int32(0)), &exit, ¤tHasNoElements);
8272 BRANCH(Int32Equal(kind, Int32(static_cast<int32_t>(EnumCacheKind::SIMPLE))),
8279 BRANCH(Int32Equal(kind, Int32(static_cast<int32_t>(EnumCacheKind::PROTOCHAIN))),
8309 BRANCH(Int32Equal(xInt, Int32(0x80000000)), &overflow, &exit);
8315 exp = Int32Sub(exp, Int32(base::DOUBLE_EXPONENT_BIAS));
8316 GateRef bits = Int32(typeBits - 1);
8401 *res = Int32(0);
8412 BRANCH(Int32Equal(**res, Int32(0)), &calcHash, exit);
8423 GateRef k6 = Int32And(TruncInt64ToInt32(k5), Int32(INT32_MAX));
8499 DEFVARIABLE(taggedId, VariableType::INT32(), Int32(0));
8525 CallStubBuilder callBuilder(this, glue, *result, Int32(0), 0, &result, Circuit::NullGate(), callArgs,
8537 taggedId = Int32(GET_MESSAGE_STRING_ID(ObjIsNotCallable));
8554 DEFVARIABLE(result, VariableType::INT32(), Int32(-1));
8564 BRANCH(Int32Equal(len, Int32(0)), &exit, &greatThanZero);
8566 BRANCH(Int32GreaterThan(len, Int32(MAX_ELEMENT_INDEX_LEN)), &exit, &inRange);
8570 DEFVARIABLE(c, VariableType::INT32(), Int32(0));
8581 BRANCH(Int32Equal(*c, Int32('0')), &isDigitZero, ¬DigitZero);
8585 BRANCH(Int32Equal(len, Int32(1)), &lengthIsOne, &exit);
8588 result = Int32(0);
8596 DEFVARIABLE(i, VariableType::INT32(), Int32(1));
8616 i = Int32Add(*i, Int32(1));
8622 BRANCH(Int32Equal(*c, Int32('.')), &hasPoint, &exit);
8625 result = Int32(-2); // -2:return -2 means should goto slow path
8646 BRANCH(Int32Equal(*c, Int32('-')), &isNegative, &exit);
8649 result = Int32(-2); // -2:return -2 means should goto slow path
8689 BRANCH(Int32GreaterThanOrEqual(index, Int32(0)), &validIndex, ¬ValidIndex);
8699 BRANCH(Int32Equal(index, Int32(-2)), &returnNull, &exit); // -2:equal -2 means should goto slow path
8750 BRANCH(Int32GreaterThanOrEqual(index, Int32(0)), &validIndex, ¬ValidIndex);
8760 BRANCH(Int32Equal(index, Int32(-2)), &returnNull, &exit); // -2:equal -2 means should goto slow path
8787 FatalPrint(glue, { Int32(messageId), Int32(line) });
8874 BRANCH(Int32GreaterThanOrEqual(TaggedGetInt(tagged), Int32(0)), &greaterOrEqualZero, ¬Int);
8888 result = IntToTaggedPtr(Int32(0));
8987 DEFVALUE(number, env_, VariableType::INT32(), Int32(0));
9117 GateRef kind = Int32And(Int32LSR(bitfield, Int32(Method::FunctionKindBits::START_BIT)),
9118 Int32((1LU << Method::FunctionKindBits::SIZE) - 1));
9143 .And(Int32Equal(GetObjectType(LoadHClass(itor)), Int32(static_cast<int32_t>(JSType::JS_ARRAY_ITERATOR))))
9169 DEFVARIABLE(result, VariableType::INT32(), Int32(0));
9174 BRANCH(Int32LessThan(index, Int32(0)), &indexLessZero, &indexNotLessZero);
9179 BRANCH(Int32GreaterThan(tempBeginIndex, Int32(0)), &beginIndexLargeZero, &exit);
9215 DEFVARIABLE(i, VariableType::INT32(), Int32(0));
9216 DEFVARIABLE(index, VariableType::INT32(), Int32(0));
9238 index = Int32Add(*index, Int32(1));
9260 i = Int32Add(*i, Int32(1));
9261 index = Int32Add(*index, Int32(1));
9285 BRANCH(Int32LessThan(number, Int32(10)), &lessThanTen, ¬LessThanTen); // 10: means number
9288 result = Int32Add(Int32('0'), *result);
9293 result = Int32Sub(*result, Int32(10)); // 10: means number
9294 result = Int32Add(Int32('a'), *result);
9312 GateRef isPositive = Int32GreaterThanOrEqual(number, Int32(0));
9313 GateRef isSingle = Int32LessThan(number, Int32(10));
9322 newBuilder.AllocLineStringObject(&result, &afterNew, Int32(1), true);
9324 n = Int32Add(Int32('0'), *n);
9349 GateRef newKind = Int32(static_cast<int32_t>(ElementsKind::GENERIC));
9369 elementsKind = Int32(static_cast<int32_t>(ElementsKind::GENERIC));
9386 Int32(static_cast<int32_t>(ElementsKind::INT)));
9388 Int32(static_cast<int32_t>(ElementsKind::HOLE_INT)));
9401 Int32(static_cast<int32_t>(ElementsKind::NUMBER)));
9403 Int32(static_cast<int32_t>(ElementsKind::HOLE_NUMBER)));
9436 Int32(static_cast<int32_t>(ElementsKind::HOLE)));
9437 GateRef elementsKindInNumbersUB = Int32LessThan(extraKind, Int32(static_cast<int32_t>(ElementsKind::STRING)));
9452 Int32(static_cast<int32_t>(ElementsKind::INT)));
9454 Int32(static_cast<int32_t>(ElementsKind::HOLE_INT)));
9470 Int32(static_cast<int32_t>(ElementsKind::NUMBER)));
9472 Int32(static_cast<int32_t>(ElementsKind::HOLE_NUMBER)));
9534 elementsKind = Int32(static_cast<int32_t>(ElementsKind::GENERIC));
9543 .And(Int32GreaterThanOrEqual(elementsKindVal, Int32(static_cast<int32_t>(ElementsKind::HOLE))))
9544 .And(Int32LessThan(elementsKindVal, Int32(static_cast<int32_t>(ElementsKind::STRING))))
9556 Int32(static_cast<int32_t>(ElementsKind::INT)));
9558 Int32(static_cast<int32_t>(ElementsKind::HOLE_INT)));
9571 Int32(static_cast<int32_t>(ElementsKind::NUMBER)));
9573 Int32(static_cast<int32_t>(ElementsKind::HOLE_NUMBER)));
9664 DEFVARIABLE(index, VariableType::INT32(), Int32(0));
9677 index = Int32Add(*index, Int32(1));
9714 .Or(BitAnd(Int32Equal(oldKind, Int32(static_cast<uint32_t>(ElementsKind::INT))),
9715 Int32Equal(newKind, Int32(static_cast<uint32_t>(ElementsKind::HOLE_INT)))))
9716 .Or(BitAnd(Int32Equal(oldKind, Int32(static_cast<uint32_t>(ElementsKind::NUMBER))),
9717 Int32Equal(newKind, Int32(static_cast<uint32_t>(ElementsKind::HOLE_NUMBER)))))
9831 DEFVARIABLE(index, VariableType::INT32(), Int32(0));
9873 index = Int32Add(*index, Int32(1));
9916 DEFVARIABLE(index, VariableType::INT32(), Int32(0));
9971 index = Int32Add(*index, Int32(1));
9997 DEFVARIABLE(index, VariableType::INT32(), Int32(0));
10022 index = Int32Add(*index, Int32(1));
10046 DEFVARIABLE(index, VariableType::INT32(), Int32(0));
10071 index = Int32Add(*index, Int32(1));
10189 GateRef compiledCodeField = Int32LSL(Int32(1U), Int32(JSFunctionBase::IsCompiledCodeBit::START_BIT));
10191 Int32(JSFunctionBase::IsFastCallBit::START_BIT)));
10255 GateRef dataOffset = Int32(TaggedArray::DATA_OFFSET);
10256 GateRef indexOffset = Int32Mul(ZExtInt8ToInt32(index), Int32(JSTaggedValue::TaggedTypeSize()));
10285 BRANCH(Int32Equal(jitHotnessThreshold, Int32(ProfileTypeInfo::JIT_DISABLE_FLAG)), &exitPoint, &hasNotDisable);
10366 DEFVARIABLE(offset, VariableType::INT32(), Int32(0));
10372 GateRef remainder = Int32And(length, Int32(LOOP_UNROLL_FACTOR - 1));
10373 BRANCH_NO_WEIGHT(Int32NotEqual(remainder, Int32(0)), &storeHead, &enterLoop);
10380 offset = Int32(tSize);
10389 BRANCH_LIKELY(Int32UnsignedLessThan(*offset, Int32Mul(length, Int32(tSize))), &storeValue, &exit);
10398 offset = Int32Add(*offset, Int32(LOOP_UNROLL_FACTOR * tSize));
10426 DEFVARIABLE(offset, VariableType::INT32(), Int32Mul(length, Int32(tSize)));
10427 GateRef remainder = Int32And(length, Int32(LOOP_UNROLL_FACTOR - 1));
10428 BRANCH_NO_WEIGHT(Int32NotEqual(remainder, Int32(0)), &storeEnd, &enterLoop);
10433 offset = Int32Sub(*offset, Int32(tSize));
10444 BRANCH_LIKELY(Int32UnsignedGreaterThan(*offset, Int32(0)), &storeValue, &exit);
10447 offset = Int32Sub(*offset, Int32(LOOP_UNROLL_FACTOR * tSize));