Home
last modified time | relevance | path

Searched refs:Int32Equal (Results 1 - 25 of 27) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dhcr_circuit_builder.h35 return Int32Equal(GetObjectType(LoadHClass(obj)), Int32(static_cast<int32_t>(JSType::HCLASS))); in IsJSHClass()
104 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_PROXY))); in IsJsProxy()
110 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::TREE_STRING))); in IsTreeString()
116 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::SLICED_STRING))); in IsSlicedString()
122 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::LINE_STRING))); in IsLineString()
128 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::CONSTANT_STRING))); in IsConstantString()
150 return Int32Equal(type, Int32(static_cast<int32_t>(JSType::TAGGED_DICTIONARY))); in IsDictionaryMode()
156 GateRef isJsArguments = Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_ARGUMENTS))); in IsStableArguments()
164 GateRef isJsArray = Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_ARRAY))); in IsStableArray()
335 return Int32Equal(classCto in IsClassConstructorWithBitField()
[all...]
H A Dstub_builder-inl.h658 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_ARRAY_BUFFER))); in TaggedIsArrayBuffer()
1005 inline GateRef StubBuilder::Int32Equal(GateRef x, GateRef y) in Int32Equal() function in panda::ecmascript::kungfu::StubBuilder
1007 return env_->GetBuilder()->Int32Equal(x, y); in Int32Equal()
1398 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::SYMBOL))); in IsSymbol()
1404 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_DATA_VIEW))); in IsDataView()
1417 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::LINE_STRING))); in IsLineString()
1423 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::SLICED_STRING))); in IsSlicedString()
1429 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::CONSTANT_STRING))); in IsConstantString()
1450 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::BIGINT))); in TaggedObjectIsBigInt()
1456 return Int32Equal(objectTyp in IsJsProxy()
[all...]
H A Dprofiler_stub_builder.cpp390 BRANCH(Int32Equal(oldId, Int32(PGO_BUILTINS_STUB_ID(NONE))), &exit, &sameValueCheck); in ProfileNativeCall()
394 BRANCH(Int32Equal(oldId, newId), &exit, &invalidate); in ProfileNativeCall()
444 BRANCH(Int32Equal(*newTrackType, Int32(static_cast<int32_t>(TrackType::TAGGED))), &update, &merge); in UpdateTrackTypeInPropAttr()
448 BRANCH(Int32Equal(oldTrackType, *newTrackType), &exit, &update); in UpdateTrackTypeInPropAttr()
622 auto isFinal = BitOr(Int32Equal(*newTrue, Int32(PGOSampleType::WEIGHT_THRESHOLD)), in ProfileBranch()
623 Int32Equal(*newFalse, Int32(PGOSampleType::WEIGHT_THRESHOLD))); in ProfileBranch()
757 BRANCH(Int32Equal(oldIterKind, Int32(PGO_BUILTINS_STUB_ID(NONE))), in ProfileGetIterator()
762 BRANCH(Int32Equal(oldIterKind, newIterKind), &exit, &invalidate); in ProfileGetIterator()
820 return Int32Equal(count, Int32(ProfileTypeInfo::DUMP_PERIOD_INDEX)); in IsProfileTypeInfoDumped()
827 return Int32Equal(coun in IsProfileTypeInfoPreDumped()
[all...]
H A Dcircuit_builder.cpp185 return BitOr(Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::COW_TAGGED_ARRAY))), in IsCOWArray()
186 Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::COW_MUTANT_TAGGED_ARRAY)))); in IsCOWArray()
192 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::TAGGED_ARRAY))); in IsTaggedArray()
197 return BitOr(Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::MUTANT_TAGGED_ARRAY))), in IsMutantTaggedArray()
198 Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::COW_MUTANT_TAGGED_ARRAY)))); in IsMutantTaggedArray()
460 return Int32Equal(GetObjectType(LoadHClass(accessor)), in IsAccessorInternal()
528 return Int32Equal( in IsUtf8String()
537 return Int32Equal( in IsUtf16String()
769 result = Int32Equal(objectType, Int32(static_cast<int32_t>(jsType))); in CheckJSType()
1028 GateRef kindIsInt = Int32Equal(kin in ElementsKindIsIntOrHoleInt()
[all...]
H A Dmcr_circuit_builder.h90 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::BYTE_ARRAY))); in TaggedObjectIsByteArray()
96 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_MAP))); in TaggedObjectIsMap()
102 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_DATA_VIEW))); in TaggedObjectIsDataView()
108 GateRef isSlicedString = Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::SLICED_STRING))); in IsSpecialSlicedString()
118 result = Int32Equal(hasBackingStore, Int32(EcmaString::HAS_BACKING_STORE)); in IsSpecialSlicedString()
137 result = Int32Equal(GetObjectType(LoadHClass(obj)), in TaggedIsBigInt()
176 result = Int32Equal(GetObjectType(LoadHClass(obj)), in TaggedIsStringIterator()
322 return Int32Equal( in JudgeAotAndFastCall()
333 return Int32Equal(fastCallField, hasAot); in JudgeAotAndFastCall()
675 return Int32Equal(le in TreeStringIsFlat()
[all...]
H A Dstub_builder.cpp124 BRANCH_UNLIKELY(Int32Equal(Int32(ThreadFlag::SUSPEND_REQUEST), CheckSuspend(glue)), &needSuspend, &loopEnd); in LoopEnd()
354 BRANCH(Int32Equal(index, Int32(PropertiesCache::NOT_FOUND)), &notFind, &find); in FindElementWithCache()
358 BRANCH(Int32Equal(*result, Int32(PropertiesCache::NOT_FOUND)), &exit, &setCache); in FindElementWithCache()
482 BRANCH(Int32Equal(GetKeyHashCode(glue, *currentKey, hir), keyHash), &hashEqual, in BinarySearch()
520 BRANCH(Int32Equal(GetKeyHashCode(glue, *currentKey, hir), keyHash), &hashEqual, &exit); in BinarySearch()
766 BRANCH(Int32Equal(index, GetInt32OfTInt(element)), &isMatch, &notMatch); in FindElementFromNumberDictionary()
888 return BitAnd(Equal(element, key), Int32Equal(metaData, attr)); in IsMatchInTransitionDictionary()
1484 BRANCH(Int32Equal(*length, Int32(0)), &lenIsZero, &lenNotZero); in AddPropertyByName()
1544 BRANCH(Int32Equal(*length, outProps), &isArrayFull, &arrayNotFull); in AddPropertyByName()
2086 result = Int32Equal(GetObjectTyp in TaggedIsBigInt()
[all...]
H A Dlcr_circuit_builder.h45 GateRef CircuitBuilder::Int32Equal(GateRef x, GateRef y) in Int32Equal() function in panda::ecmascript::kungfu::CircuitBuilder
67 return env_->Is32Bit() ? Int32Equal(x, y) : Int64Equal(x, y); in IntPtrEqual()
H A Doperations_stub_builder.cpp1257 BRANCH(Int32Equal(valueInt, Int32(INT32_MAX)), &valueNotInt, &valueNoOverflow); in Inc()
1305 BRANCH(Int32Equal(valueInt, Int32(INT32_MIN)), &valueNotInt, &valueNoOverflow); in Dec()
1354 BRANCH(Int32Equal(valueInt, Int32(0)), &valueIsZero, &valueNotZero); in Neg()
1365 BRANCH(Int32Equal(valueInt, Int32(INT32_MIN)), &valueIsInt32Min, &valueNotInt32Min); in Neg()
H A Dnew_object_stub_builder.cpp169 BRANCH(Int32Equal(length, Int32(0)), &isZero, &notZero); in CloneProperties()
329 BRANCH(Int32Equal(GetObjectType(LoadHClass(*value)), Int32(static_cast<int32_t>(JSType::ACCESSOR_DATA))), in CloneObjectLiteral()
663 BRANCH(Int32Equal(len, Int32(0)), &isEmpty, &notEmpty); in NewTaggedArray()
703 BRANCH(Int32Equal(len, Int32(0)), &isEmpty, &notEmpty); in NewMutantTaggedArray()
822 BRANCH(Int32Equal(newLen, Int32(0)), &emptyArray, &notEmptyArray); in CopyArray()
1006 BRANCH(Int32Equal(kind, Int32(static_cast<int32_t>(FunctionKind::BASE_CONSTRUCTOR))), &isNormal, &notNormal); in LoadSHClassFromMethod()
1561 Int32Equal(Int32Mod(Int32Sub(end, start), Int32(JSTaggedValue::TaggedTypeSize())), Int32(0))); in InitializeWithSpeicalValue()
1704 BRANCH(Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_OBJECT))), &isJSObject, &callRuntime); in FastNewThisObject()
1749 BRANCH(Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_OBJECT))), in FastSuperAllocateThis()
1860 BRANCH(Int32Equal(indexInfosLengt in LoadArrayHClassSlowPath()
[all...]
H A Dlcr_circuit_builder.cpp242 BRANCH_CIR2(Int32Equal(xInt, Int32(0x80000000)), &overflow, &exit); in DoubleToInt()
H A Dhcr_circuit_builder.cpp738 return BitOr(Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::LINE_STRING))), in IsLiteralString()
739 Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::CONSTANT_STRING)))); in IsLiteralString()
H A Dmcr_circuit_builder.cpp338 return Int32Equal( in IsMarkerCellValid()
1208 return Int32Equal( in IsIntegerString()
1296 BRANCH_CIR2(Int32Equal(*hashcode, Int32(0)), &noRawHashcode, &exit); in GetHashcodeFromString()
1324 BRANCH_CIR2(Int32Equal(length, Int32(0)), &storeHash, &exit); in TryGetHashcodeFromString()
1494 BRANCH_CIR2(Int32Equal(kind, Int32(static_cast<int32_t>(EnumCacheKind::SIMPLE))), in IsEnumCacheValid()
H A Dmcr_lowering.cpp845 .And(builder_.Int32Equal(builder_.Int32(0), in LowerRemainderIsNegativeZero()
950 GateRef overCheck = builder_.Int32Equal(truncated, left); in LowerInt32DivWithCheck()
H A Dtyped_native_inline_lowering.cpp1283 .And(builder_.Int32Equal(builder_.Load(VariableType::INT32(), bigint, builder_.IntPtr(BigInt::LENGTH_OFFSET)), in LowerBigIntAsIntN()
1285 .And(builder_.Int32Equal(builder_.Load(VariableType::INT32(), bigint, builder_.IntPtr(BigInt::DATA_OFFSET)), in LowerBigIntAsIntN()
1384 BRANCH_CIR(builder_.Int32Equal(arrayBufferByteLength, builder_.Int32(0)), in LowerDataViewProtoFunc()
2863 BRANCH_CIR(builder_.Int32Equal(arrayLength, builder_.Int32(0)), &exit, &InitializeIndex); in LowerArrayIncludesIndexOf()
3661 BRANCH_CIR(builder_.Int32Equal(arrayLength, builder_.Int32(0)), &exit, &arraylengthNotZero); in LowerArrayPop()
4250 BRANCH_CIR(builder_.Int32Equal(targetLength, valueLength), &slowCompare, &afterLoop); in TargetStringCompareLoop()
H A Dnumber_speculative_lowering.cpp740 condition = builder_.Int32Equal(left, right); in CompareInts()
H A Dinterpreter_stub.cpp272 Branch(Int32Equal(jmpOffsetInFunc, offsetField), &checkExecCount, &addIndex); \
2472 BRANCH(Int32Equal(TaggedGetInt(acc), Int32(0)), &accEqualFalse, &accNotInt); in DECLARE_ASM_HANDLER()
2513 BRANCH(Int32Equal(TaggedGetInt(acc), Int32(0)), &accEqualFalse, &accNotInt); in DECLARE_ASM_HANDLER()
2554 BRANCH(Int32Equal(TaggedGetInt(acc), Int32(0)), &accEqualFalse, &accNotInt); in DECLARE_ASM_HANDLER()
2595 BRANCH(Int32Equal(TaggedGetInt(acc), Int32(0)), &accNotInt, &accEqualTrue); in DECLARE_ASM_HANDLER()
2636 BRANCH(Int32Equal(TaggedGetInt(acc), Int32(0)), &accNotInt, &accEqualTrue); in DECLARE_ASM_HANDLER()
2677 BRANCH(Int32Equal(TaggedGetInt(acc), Int32(0)), &accNotInt, &accEqualTrue); in DECLARE_ASM_HANDLER()
H A Dtyped_hcr_lowering.cpp3434 .Or(builder_.Int32Equal(oldKind, newKind)) in LowerMigrateArrayWithKind()
3435 .Or(builder_.BitAnd(builder_.Int32Equal(oldKind, builder_.Int32(static_cast<uint32_t>(ElementsKind::INT))), in LowerMigrateArrayWithKind()
3436 builder_.Int32Equal(newKind, builder_.Int32(static_cast<uint32_t>(ElementsKind::HOLE_INT))))) in LowerMigrateArrayWithKind()
3437 .Or(builder_.BitAnd(builder_.Int32Equal(oldKind, builder_.Int32(static_cast<uint32_t>(ElementsKind::NUMBER))), in LowerMigrateArrayWithKind()
3438 builder_.Int32Equal(newKind, builder_.Int32(static_cast<uint32_t>(ElementsKind::HOLE_NUMBER))))) in LowerMigrateArrayWithKind()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_collator_stub_builder.cpp127 BRANCH_NO_WEIGHT(Int32Equal(usage, Int32(static_cast<int32_t>(UsageOption::SORT))), &sort, &next) in UsageOptionsToEcmaString()
135 BRANCH_NO_WEIGHT(Int32Equal(usage, Int32(static_cast<int32_t>(UsageOption::SEARCH))), &search, &fatal) in UsageOptionsToEcmaString()
H A Dbuiltins_string_stub_builder.cpp267 .Or(Int32Equal(Int32Add(posVal, Int32(1)), GetLengthFromString(thisValue))) in CodePointAt()
742 BRANCH(Int32Equal(len, Int32(1)), &isSingleChar, &notSingleChar); in GetSubString()
875 BRANCH(Int32Equal(pos, Int32(-1)), &noReplace, &nextProcess); in Replace()
1364 BRANCH(Int32Equal(len, Int32(0)), &lenEqualZero, &lenNotEqualZero); in FastSubString()
1373 BRANCH(Int32Equal(from, Int32(0)), &fromEqualZero, &next); in FastSubString()
1377 BRANCH(Int32Equal(len, thisLen), &exit, &next); in FastSubString()
1857 BRANCH(Int32Equal(lhsTemp2, rhsTemp), &loopEnd2, &nextCount2); in StringIndexOf()
1866 BRANCH(Int32Equal(*j, end), &equalEnd, &loopEnd); in StringIndexOf()
1925 BRANCH(Int32Equal(rhsCount, Int32(0)), &rhsCountEqualZero, &rhsCountNotEqualZero); in StringIndexOf()
2293 BRANCH(Int32Equal(newLengt in StringConcat()
[all...]
H A Dbuiltins_object_stub_builder.cpp674 BRANCH(Int32Equal(len, Int32(0)), exit, &findByIndex); in HasOwnProperty()
955 BRANCH(Int32Equal(oldLen, Int32(0)), &lenIsZero, &lenNotZero); in CopyFromEnumCache()
1043 BRANCH(Int32Equal(kind, Int32(static_cast<int32_t>(EnumCacheKind::ONLY_OWN_KEYS))), in GetAllEnumKeys()
1547 BRANCH(Int32Equal(*pos, *i), &adjustPos, &setValue); in GetOwnPropertyNames()
1655 BRANCH(Int32Equal(*pos, *i), &adjustPos, &setValue); in GetOwnPropertySymbols()
2150 BRANCH(Int32Equal(lengthOfElements, Int32(0)), &notHasElementKey, slowPath); in TestIntegrityLevel()
2164 BRANCH(Int32Equal(lengthOfKeys, Int32(0)), &lengthIsZero, &lengthNotZero); in TestIntegrityLevel()
2196 GateRef isFrozen = LogicAndBuilder(env).And(Int32Equal(level, Int32(1))) in TestIntegrityLevel()
2248 BRANCH(Int32Equal(numOfElements, Int32(0)), &onlyProperties, slowPath); in GetOwnPropertyDescriptors()
H A Dbuiltins_function_stub_builder.cpp451 BRANCH(Int32Equal(index, Int32(0)), &valueArg0, &valueNotArg0); // 0: get arg0 in NewTaggedArrayFromArgs()
458 BRANCH(Int32Equal(index, Int32(1)), &valueArg1, &valueNotArg1); // 1: get arg1 in NewTaggedArrayFromArgs()
465 BRANCH(Int32Equal(index, Int32(2)), &valueArg2, &valueNotArg2); // 2: get arg2 in NewTaggedArrayFromArgs()
H A Dlinked_hashtable_stub_builder.cpp533 BRANCH(Int32Equal(entry, Int32(-1)), &notFind, &findEntry); in Insert()
579 BRANCH(Int32Equal(entry, Int32(-1)), &exit, &findEntry); in Delete()
743 Branch(Int32Equal(entry, Int32(-1)), &exit, &findEntry); in Get()
H A Dbuiltins_array_stub_builder.cpp891 BRANCH(BitAnd(IsStableJSArray(glue, thisValue), Int32Equal(*thisLen, newLen)), in ForEach()
1146 BRANCH(Int32Equal(numArgsAsInt32, Int32(0)), &noArgs, slowPath); in Slice()
1688 GateRef thisLenIsZero = Int32Equal(*thisLen, Int32(0)); in Reduce()
1962 .Or(Int32Equal(kind, Int32(static_cast<int32_t>(ElementsKind::INT)))) in ToReversed()
1963 .Or(Int32Equal(kind, Int32(static_cast<int32_t>(ElementsKind::NUMBER)))) in ToReversed()
1969 .Or(Int32Equal(kind, Int32(static_cast<int32_t>(ElementsKind::HOLE_INT)))) in ToReversed()
1970 .Or(Int32Equal(kind, Int32(static_cast<int32_t>(ElementsKind::HOLE_NUMBER)))) in ToReversed()
2404 BRANCH(Int32Equal(ChangeIntPtrToInt32(numArgs), Int32(0)), exit, &checkSmallArgs); in Push()
2575 BRANCH(Int32Equal(thisLen, Int32(0)), &notFound, &thisLenNotZero); in Includes()
3251 BRANCH(Int32Equal(ChangeIntPtrToInt3 in Splice()
[all...]
H A Dbuiltins_typedarray_stub_builder.cpp800 BRANCH(Int32Equal(thisLen, Int32(0)), &notFound, &thisLenNotZero); in Includes()
1041 GateRef thisLenIsZero = Int32Equal(thisLen, Int32(0)); in ReduceRight()
1149 GateRef thisLenIsZero = Int32Equal(thisLen, Int32(0)); in Reduce()
1622 BRANCH(Int32Equal(TruncInt64ToInt32(*newArrayLen), Int32(0)), &writeVariable, &copyBuffer); in Slice()
1710 BRANCH(Int32Equal(arrayLen, Int32(0)), slowPath, &isNotZero); in SubArray()
1869 GateRef isUint32 = Int32Equal(jsType, Int32(static_cast<int32_t>(JSType::JS_UINT32_ARRAY))); in DoSort()
1980 BRANCH(Int32Equal(*middleValueInt32, *presentValueInt32), &intEqual, &intLess); in DoSort()
3335 BRANCH(Int32Equal(Int32Mod(offset, elementSize), Int32(0)), &next, slowPath); in CreateFromArrayBuffer()
3365 BRANCH(Int32Equal(Int32Mod(bufferByteLength, elementSize), Int32(0)), &next1, slowPath); in CreateFromArrayBuffer()
H A Dbuiltins_number_stub_builder.cpp382 BRANCH(Int32Equal(number, Int32(0)), &thisIsZero, &thisNotZero); in NumberToString()

Completed in 102 milliseconds

12