| /arkcompiler/ets_frontend/legacy_bin/api8/ |
| D | manifest_tag.xml | 7 …3d8455c66650ed4a4f7f09ccbc045cd" upstream="OpenHarmony-3.1-Release" dest-branch="OpenHarmony-3.1-R… 8 …c520c97ea1ce9f8ab78c699665e38b5" upstream="OpenHarmony-3.1-Release" dest-branch="OpenHarmony-3.1-R… 9 …b672c590a65b9ec58241ec023cc9231" upstream="OpenHarmony-3.1-Release" dest-branch="OpenHarmony-3.1-R… 10 …dcdaab2b92872fcef0d03cf42342ded" upstream="OpenHarmony-3.1-Release" dest-branch="OpenHarmony-3.1-R… 11 …64f265c2875d06e17b46544a9038a3b" upstream="OpenHarmony-3.1-Release" dest-branch="OpenHarmony-3.1-R… 12 …51195165aaa2715a2a69b968bb7d91d" upstream="OpenHarmony-3.1-Release" dest-branch="OpenHarmony-3.1-R… 13 …74000320fe7412e77d8847c7d7924a7" upstream="OpenHarmony-3.1-Release" dest-branch="OpenHarmony-3.1-R… 14 …46144e739ac95b99756fcd735b310a4" upstream="OpenHarmony-3.1-Release" dest-branch="OpenHarmony-3.1-R… 15 …96c3e09bae86c50fc3f9e18202e4b05" upstream="OpenHarmony-3.1-Release" dest-branch="OpenHarmony-3.1-R… 16 …c585c5e9579914cb2b3af1e0f227af6" upstream="OpenHarmony-3.1-Release" dest-branch="OpenHarmony-3.1-R… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | ic_stub_builder.cpp | 25 Branch(TaggedIsHeapObject(receiver_), &receiverIsHeapObject, slowPath_); in NamedICAccessor() 28 Branch(TaggedIsUndefined(profileTypeInfo_), tryFastPath_, &tryIC); in NamedICAccessor() 35 Branch(TaggedIsHeapObject(firstValue), &isHeapObject, ¬HeapObject); in NamedICAccessor() 40 Branch(Equal(LoadObjectFromWeakRef(firstValue), hclass), in NamedICAccessor() 46 Branch(TaggedIsHole(cachedHandler->ReadVariable()), slowPath_, tryICHandler); in NamedICAccessor() 51 Branch(TaggedIsUndefined(firstValue), slowPath_, tryFastPath_); in NamedICAccessor() 62 Branch(TaggedIsHeapObject(receiver_), &receiverIsHeapObject, slowPath_); in ValuedICAccessor() 66 Branch(TaggedIsUndefined(profileTypeInfo_), tryFastPath_, &tryIC); in ValuedICAccessor() 73 Branch(TaggedIsHeapObject(firstValue), &isHeapObject, ¬HeapObject); in ValuedICAccessor() 78 Branch(Equal(LoadObjectFromWeakRef(firstValue), hclass), in ValuedICAccessor() [all …]
|
| D | stub_builder.cpp | 42 void StubBuilder::Branch(GateRef condition, Label *trueLabel, Label *falseLabel) in Branch() function in panda::ecmascript::kungfu::StubBuilder 46 GateRef ifBranch = env_->GetBuilder()->Branch(currentControl, condition); in Branch() 117 Branch(Int32LessThanOrEqual(propsNum, Int32(9)), ¬ExceedUpper, &exceedUpper); in FindElementWithCache() 128 Branch(Int32Equal(propsNum, Int32(0)), &propsNumIsZero, &propsNumNotZero); in FindElementWithCache() 140 Branch(Equal(keyInProperty, key), &equal, ¬Equal); in FindElementWithCache() 148 Branch(Int32UnsignedLessThan(*i, propsNum), &loopEnd, &afterLoop); in FindElementWithCache() 194 Branch(TaggedIsHole(element), &isHole, ¬Hole); in FindElementFromNumberDictionary() 200 Branch(TaggedIsUndefined(element), &isUndefined, ¬Undefined); in FindElementFromNumberDictionary() 207 Branch(Int32Equal(index, GetInt32OfTInt(element)), &isMatch, ¬Match); in FindElementFromNumberDictionary() 246 Branch(IsSymbol(key), &isSymbol, ¬Symbol); in FindEntryFromNameDictionary() [all …]
|
| D | operations_stub_builder.cpp | 31 Branch(TaggedIsHole(*result), &isHole, &exit); in Equal() 55 Branch(TaggedIsHole(*result), &isHole, ¬Hole); in NotEqual() 66 Branch(TaggedIsTrue(*result), &resultIsTrue, &resultNotTrue); in NotEqual() 97 Branch(TaggedIsInt(left), &leftIsInt, &leftOrRightNotInt); in Less() 101 Branch(TaggedIsInt(right), &rightIsInt, &leftOrRightNotInt); in Less() 106 Branch(Int32LessThan(intLeft, intRight), &leftLessRight, &leftNotLessRight); in Less() 112 Branch(TaggedIsNumber(left), &leftIsNumber, &slowPath); in Less() 116 Branch(TaggedIsNumber(right), &rightIsNumber, &slowPath); in Less() 128 Branch(TaggedIsInt(left), &leftIsInt1, &leftNotInt1); in Less() 141 Branch(TaggedIsInt(right), &rightIsInt1, &rightNotInt1); in Less() [all …]
|
| D | interpreter_stub.cpp | 97 Branch(Int32LessThan(*varHotnessCounter, Int32(0)), &slowPath, &dispatch); \ 252 Branch(TaggedIsException(*argumentsList), &slowPath, &newArgumentsObj); in DECLARE_ASM_HANDLER() 257 Branch(TaggedIsException(*argumentsObj), &slowPath, &checkException); in DECLARE_ASM_HANDLER() 259 Branch(HasPendingException(glue), &slowPath, &dispatch); in DECLARE_ASM_HANDLER() 610 Branch(Int32LessThan(*i, level), &loopHead, &afterLoop); in DECLARE_ASM_HANDLER() 614 Branch(Int32LessThan(*i, level), &loopEnd, &afterLoop); in DECLARE_ASM_HANDLER() 639 Branch(Int32LessThan(*i, level), &loopHead, &afterLoop); in DECLARE_ASM_HANDLER() 643 Branch(Int32LessThan(*i, level), &loopEnd, &afterLoop); in DECLARE_ASM_HANDLER() 667 Branch(Int32LessThan(*i, level), &loopHead, &afterLoop); in DECLARE_ASM_HANDLER() 671 Branch(Int32LessThan(*i, level), &loopEnd, &afterLoop); in DECLARE_ASM_HANDLER() [all …]
|
| D | slowpath_lowering.cpp | 187 GateRef ifBranch = builder_.Branch(stateInGate, equal); in ReplaceHirToJSCall() 217 ifBranch = builder_.Branch(stateInGate, equal); in ReplaceHirToCall() 219 ifBranch = builder_.Branch(stateInGate, builder_.Boolean(false)); in ReplaceHirToCall() 236 GateRef ifBranch = builder_.Branch(stateInGate, builder_.Boolean(true)); in ReplaceHirToThrowCall() 805 builder_.Branch(builder_.TaggedIsException(result), &exceptionExit, &successExit); in LowerAdd2() 942 …builder_.Branch(builder_.IsSpecial(newGate, JSTaggedValue::VALUE_EXCEPTION), &exceptionExit, &succ… in LowerLoadStr() 958 …builder_.Branch(builder_.TaggedIsUndefined(*profileTypeInfo), &updateProfileTypeInfo, &accessObjec… in LowerTryLdGlobalByName() 967 builder_.Branch(builder_.TaggedIsException(result), &exceptionExit, &successExit); in LowerTryLdGlobalByName() 984 …builder_.Branch(builder_.TaggedIsUndefined(*profileTypeInfo), &updateProfileTypeInfo, &accessObjec… in LowerStGlobalVar() 993 builder_.Branch(builder_.TaggedIsException(result), &exceptionExit, &successExit); in LowerStGlobalVar() [all …]
|
| D | new_object_stub_builder.cpp | 40 Branch(TaggedIsException(result->ReadVariable()), &hasPendingException, &noException); in NewLexicalEnv() 73 Branch(TaggedIsException(result->ReadVariable()), &hasPendingException, &noException); in NewJSObject() 80 Branch(IsTSHClass(hclass), &isTS, &initialize); in NewJSObject() 118 Branch(TaggedIsException(result->ReadVariable()), exit, &setHClass); in NewArgumentsList() 128 Branch(Int32UnsignedLessThan(*i, numArgs), &setArgumentsBegin, &setArgumentsEnd); in NewArgumentsList() 134 Branch(Int32UnsignedLessThan(*i, numArgs), &setArgumentsAgain, &setArgumentsEnd); in NewArgumentsList() 154 Branch(TaggedIsException(result->ReadVariable()), exit, &setArgumentsObjProperties); in NewArgumentsObj() 242 Branch(IntPtrGreaterThan(newTop, end), &callRuntime, &success); in AllocateInYoung() 275 Branch(Int32UnsignedLessThan(*startOffset, end), &storeValue, exit); in InitializeWithSpeicalValue() 335 Branch(TaggedIsHeapObject(protoOrHclass), &isHeapObject, &callRuntime); in FastNewThisObject() [all …]
|
| D | type_lowering.cpp | 228 LOG_ECMA(FATAL) << "this branch is unreachable"; in LowerTypedArrayCheck() 288 LOG_ECMA(FATAL) << "this branch is unreachable"; in LowerIndexCheck() 344 LOG_COMPILER(FATAL) << "this branch is unreachable"; in LowerOverflowCheck() 428 builder_.Branch(builder_.TaggedIsTrue(src), &isTrue, &isFalse); in LowerPrimitiveToNumber() 444 LOG_ECMA(FATAL) << "this branch is unreachable"; in LowerPrimitiveToNumber() 473 builder_.Branch(builder_.IsSpecial(*result, JSTaggedValue::VALUE_HOLE), &hole, &exit); in LowerLoadProperty() 531 builder_.Branch(builder_.TaggedIsHole(res), &isHole, &exit); in LowerArrayLoadElement() 560 builder_.Branch(isOnHeap, &isByteArray, &isArrayBuffer); in LowerFloat32ArrayLoadElement() 619 builder_.Branch(builder_.TaggedIsInt(value), &valueIsInt, &valueIsDouble); in LowerFloat32ArrayStoreElement() 636 builder_.Branch(isOnHeap, &isByteArray, &isArrayBuffer); in LowerFloat32ArrayStoreElement() [all …]
|
| D | access_object_stub_builder.cpp | 42 Branch(TaggedIsHole(*result), &slowPath, &exit); in LoadObjByName() 68 Branch(TaggedIsHeapObject(receiver), &fastPath, &slowPath); in DeprecatedLoadObjByName() 72 Branch(TaggedIsHole(*result), &slowPath, &exit); in DeprecatedLoadObjByName() 104 Branch(TaggedIsHole(*result), &slowPath, &exit); in StoreObjByName() 149 Branch(TaggedIsHole(*result), &slowPath, &exit); in LoadObjByValue() 174 Branch(TaggedIsHeapObject(receiver), &fastPath, &slowPath); in DeprecatedLoadObjByValue() 178 Branch(TaggedIsHole(*result), &slowPath, &exit); in DeprecatedLoadObjByValue() 209 Branch(TaggedIsHole(*result), &slowPath, &exit); in StoreObjByValue() 245 Branch(TaggedIsUndefined(record), ¬FoundInRecord, &foundInRecord); in TryLoadGlobalByName() 255 Branch(TaggedIsHole(*result), &slowPath, &exit); in TryLoadGlobalByName() [all …]
|
| D | builtins_lowering.cpp | 63 builder_.Branch(builder_.TaggedIsNumber(para1), &numberBranch, ¬NumberBranch); in TypedTrigonometric() 70 builder_.Branch(condition, &IsNan, &NotNan); in TypedTrigonometric() 92 LOG_ECMA(FATAL) << "this branch is unreachable"; in TypedTrigonometric() 145 builder_.Branch(builder_.TaggedIsNumber(para1), &numberBranch, ¬NumberBranch); in TypedSqrt() 152 builder_.Branch(builder_.TaggedIsInt(para1), &isInt, ¬Int); in TypedSqrt() 178 builder_.Branch(negNanOrInfinityNotZero, &signbit, ¬Signbit); in TypedSqrt() 189 builder_.Branch(condition, &naN, ¬Nan); in TypedSqrt() 235 builder_.Branch(builder_.TaggedIsInt(para1), &isInt, ¬Int); in TypedAbs() 272 builder_.Branch(isObject, &isHeapObject, &exit); in LowerCallTargetCheck() 276 builder_.Branch(callable, &funcIsCallable, &exit); in LowerCallTargetCheck() [all …]
|
| D | common_stubs.cpp | 277 Branch(TaggedIsException(*argumentsList), &exit, &newArgumentsObj); in GenerateCircuit() 470 Branch(TaggedIsHeapObject(receiver), &receiverIsHeapObject, &receiverNotHeapObject); in GenerateCircuit() 474 Branch(Equal(LoadObjectFromWeakRef(firstValue), hclass), in GenerateCircuit() 484 Branch(TaggedIsHole(cachedHandler), &receiverNotHeapObject, &cachedHandlerNotHole); in GenerateCircuit() 512 Branch(TaggedIsHeapObject(receiver), &receiverIsHeapObject, &receiverNotHeapObject); in GenerateCircuit() 516 Branch(Equal(LoadObjectFromWeakRef(firstValue), hclass), in GenerateCircuit() 523 Branch(Int64Equal(firstValue, key), &firstValueEqualKey, &receiverNotHeapObject); in GenerateCircuit() 527 Branch(TaggedIsHole(cachedHandler), &receiverNotHeapObject, &cachedHandlerNotHole); in GenerateCircuit() 550 Branch(TaggedIsHeapObject(receiver), &receiverIsHeapObject, &receiverNotHeapObject); in GenerateCircuit() 554 Branch(Equal(LoadObjectFromWeakRef(firstValue), hclass), in GenerateCircuit() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | containers_stub_builder.cpp | 46 Branch(IsContainer(*thisObj, type), &valueIsJSAPIVector, &valueNotJSAPIVector); in ContainersCommonFuncCall() 49 Branch(IsJsProxy(*thisObj), &objIsJSProxy, &objNotJSProxy); in ContainersCommonFuncCall() 53 Branch(IsContainer(tempObj, type), &objIsJSAPIVector, slowPath); in ContainersCommonFuncCall() 65 … Branch(Int64GreaterThanOrEqual(IntPtr(0), numArgs), &callbackUndefined, &callbackNotUndefined); in ContainersCommonFuncCall() 74 Branch(TaggedIsHeapObject(callbackFnHandle), &isHeapObj, slowPath); in ContainersCommonFuncCall() 76 Branch(IsCallable(callbackFnHandle), &isCall, ¬Call); in ContainersCommonFuncCall() 81 … Branch(Int64GreaterThanOrEqual(IntPtr(1), numArgs), &thisArgUndefined, &thisArgNotUndefined); in ContainersCommonFuncCall() 100 Branch(Int32LessThan(*k, *length), &next, &afterLoop); in ContainersCommonFuncCall() 111 Branch(HasPendingException(glue), &hasException, ¬HasException); in ContainersCommonFuncCall() 119 Branch(Int32NotEqual(tempLen, *length), &lenChange, &setValue); in ContainersCommonFuncCall() [all …]
|
| D | builtins_stubs.cpp | 71 Branch(IntPtrGreaterThan(numArgs, index), &validIndex, &exit); in GetArg() 99 Branch(Int64Equal(numArgs, IntPtr(0)), &callThis0, ¬callThis0); in CallSlowPath() 107 Branch(Int64Equal(numArgs, IntPtr(1)), &callThis1, ¬callThis1); in CallSlowPath() 117 Branch(Int64Equal(numArgs, IntPtr(2)), &callThis2, &callThis3); // 2: args2 in CallSlowPath() 163 Branch(TaggedIsUndefinedOrNull(thisValue), &slowPath, &objNotUndefinedAndNull); in DECLARE_BUILTINS() 166 Branch(TaggedIsHeapObject(thisValue), &thisIsHeapobject, &slowPath); in DECLARE_BUILTINS() 168 Branch(IsString(thisValue), &isString, &slowPath); in DECLARE_BUILTINS() 172 Branch(Int64GreaterThanOrEqual(IntPtr(0), numArgs), &next, &posTagNotUndefined); in DECLARE_BUILTINS() 176 Branch(TaggedIsInt(posTag), &posTagIsInt, &posTagNotInt); in DECLARE_BUILTINS() 181 Branch(TaggedIsDouble(posTag), &posTagIsDouble, &slowPath); in DECLARE_BUILTINS() [all …]
|
| D | builtins_string_stub_builder.cpp | 36 Branch(IsUtf16String(obj), &isUtf16, &isUtf8); in StringAt() 69 Branch(IsUtf16String(obj), &isUtf16, &isUtf8); in CreateFromEcmaString() 91 Branch(*canBeCompressed, &isUtf8Next, &isUtf16Next); in CreateFromEcmaString() 105 Branch(*canBeCompressed, &isUtf8Copy, &isUtf16Copy); in CreateFromEcmaString() 135 Branch(Int32Equal(len, Int32(0)), &lenEqualZero, &lenNotEqualZero); in FastSubUtf8String() 177 Branch(Int32Equal(len, Int32(0)), &lenEqualZero, &lenNotEqualZero); in FastSubUtf16String() 192 Branch(canBeCompressed, &isUtf8, &isUtf16); in FastSubUtf16String() 205 Branch(canBeCompressed, &isUtf8Next, &isUtf16Next); in FastSubUtf16String() 241 Branch(Int32GreaterThan(*len, Int32(0)), &next, &exit); in StringCopy() 275 Branch(Int32LessThan(*i, len), &nextCount, &exit); in CanBeCompressed() [all …]
|
| /arkcompiler/runtime_core/scripts/third-party-lists/ |
| D | public | 23 # ** commit_type should be one of: branch, tag, commit 24 # ** commit_id designates a branch / tag name to clone (passed as is to git clone --branch ...) 32 utils_native,https://gitee.com/openharmony/utils_native,branch,master,no_patches,no_submodules 33 zlib,https://gitee.com/openharmony/third_party_zlib,branch,master,no_patches,no_submodules 49 icu,https://gitee.com/openharmony/third_party_icu,branch,master,no_patches,no_submodules
|
| /arkcompiler/runtime_core/runtime/jit/ |
| D | profiling_data.h | 230 auto branch = FindBranchData(pc); in UpdateBranchTaken() local 231 ASSERT(branch != nullptr); in UpdateBranchTaken() 232 branch->IncrementTaken(); in UpdateBranchTaken() 237 auto branch = FindBranchData(pc); in UpdateBranchNotTaken() local 238 ASSERT(branch != nullptr); in UpdateBranchNotTaken() 239 branch->IncrementNotTaken(); in UpdateBranchNotTaken() 244 auto branch = FindBranchData(pc); in GetBranchTakenCounter() local 245 ASSERT(branch != nullptr); in GetBranchTakenCounter() 246 return branch->GetTakenCounter(); in GetBranchTakenCounter() 251 auto branch = FindBranchData(pc); in GetBranchNotTakenCounter() local [all …]
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | if_conversion_doc.md | 8 …branch conditional(true or false) and starts executing instructions after the branch speculatively…
|
| /arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
| D | assembler_aarch64_constants.h | 119 // branch code 125 Branch = 0x14000000, enumerator 307 V(BRANCH, Imm26, 25, 0) \ 308 V(BRANCH, Imm19, 23, 5) \ 309 V(BRANCH, Imm14, 18, 5) \ 310 V(BRANCH, B5, 31, 31) \ 311 V(BRANCH, B40, 23, 19)
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | compilerUtils.ts | 106 pandaGen.branch(element, endLabel); 153 pandaGen.branch(element, storeLabel); 158 pandaGen.branch(element, storeLabel); 160 pandaGen.branch(element, storeLabel); 181 pandaGen.branch(arr, endLabel); 240 pandaGen.branch(restElement, nextLabel); 269 pandaGen.branch(obj, notNullish); 376 pandaGen.branch(element, storeLabel);
|
| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | tryStatement.cpp | 54 pg->Branch(this, labelSet.CatchEnd()); in CompileFinally() 89 pg->Branch(this, innerLabelSet.CatchEnd()); in CompileTryCatchFinally() 116 pg->Branch(this, innerLabelSet.CatchEnd()); in CompileTryFinally() 138 pg->Branch(this, labelSet.CatchEnd()); in CompileTryCatch()
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | bytecode_emitter.cpp | 225 for (std::pair<const uint32_t, Label> &branch : branches_) { in UpdateBranches() 226 uint32_t insn_pc = branch.first; in UpdateBranches() 227 Label label = branch.second; in UpdateBranches() 264 // Do we support branch to itself? in EstimateMaxDistance() 279 for (const std::pair<const uint32_t, Label> &branch : branches_) { in CheckLabels() local 280 const Label &label = branch.second; in CheckLabels()
|
| /arkcompiler/ets_frontend/es2panda/compiler/base/ |
| D | optionalChain.cpp | 53 pg_->Branch(node_, notNullish); in CheckNullish() 57 pg_->Branch(node_, label_); in CheckNullish()
|
| D | iterators.cpp | 119 pg_->Branch(node_, labelSet.CatchEnd()); in Close() 168 pg_->Branch(node_, noClose); in Step() 176 pg_->Branch(node_, labelSet.CatchEnd()); in Step() 193 pg_->Branch(node_, doneTarget); in OnIterDone()
|
| /arkcompiler/ets_frontend/ts2panda/src/statement/ |
| D | loopStatement.ts | 63 pandaGen.branch(stmt, loopStartLabel); 100 pandaGen.branch(stmt, loopStartLabel); 186 pandaGen.branch(stmt, loopStartLabel); 237 pandaGen.branch(stmt, loopStartLabel); 301 pandaGen.branch(stmt, loopStartLabel);
|
| /arkcompiler/runtime_core/compiler/ |
| D | compiler.yaml | 124 - branch-elim 190 - name: compiler-branch-elimination 193 description: Enable Branch Elimination Pass 602 - name: compiler-freq-based-branch-reorder 605 description: Enables/disables frequency based branch reorder 607 - name: compiler-freq-based-branch-reorder-threshold 610 description: Threshold in percents for frequency based branch reorder 618 - name: branch-elimination
|