/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | ic_stub_builder.h | 47 void LoadICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success, 49 void StoreICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 50 void LoadICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *success, 52 void StoreICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 53 … void TryLoadGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 54 …void TryStoreGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 56 void NamedICAccessor(Variable* cachedHandler, Label *tryICHandler); 57 void ValuedICAccessor(Variable* cachedHandler, Label *tryICHandler, Label* tryElementIC); 58 void SetLabels(Label* tryFastPath, Label *slowPath, Label *success) in SetLabels() 73 Label *tryFastPath_ {nullptr}; [all …]
|
D | ic_stub_builder.cpp | 19 void ICStubBuilder::NamedICAccessor(Variable* cachedHandler, Label *tryICHandler) in NamedICAccessor() 22 Label receiverIsHeapObject(env); in NamedICAccessor() 23 Label tryIC(env); in NamedICAccessor() 31 Label isHeapObject(env); in NamedICAccessor() 32 Label notHeapObject(env); in NamedICAccessor() 38 Label tryPoly(env); in NamedICAccessor() 57 void ICStubBuilder::ValuedICAccessor(Variable* cachedHandler, Label *tryICHandler, Label* tryElemen… in ValuedICAccessor() 60 Label receiverIsHeapObject(env); in ValuedICAccessor() 65 Label tryIC(env); in ValuedICAccessor() 69 Label isHeapObject(env); in ValuedICAccessor() [all …]
|
D | stub_builder.cpp | 38 void StubBuilder::Jump(Label *label) in Jump() 50 void StubBuilder::Branch(GateRef condition, Label *trueLabel, Label *falseLabel) in Branch() 65 void StubBuilder::Switch(GateRef index, Label *defaultLabel, int64_t *keysValue, Label *keysLabel, … in Switch() 86 void StubBuilder::LoopBegin(Label *loopHead) in LoopBegin() 96 void StubBuilder::LoopEnd(Label *loopHead) in LoopEnd() 116 Label subEntry(env); in FindElementWithCache() 120 Label exit(env); in FindElementWithCache() 121 Label notExceedUpper(env); in FindElementWithCache() 122 Label exceedUpper(env); in FindElementWithCache() 123 Label afterExceedCon(env); in FindElementWithCache() [all …]
|
D | operations_stub_builder.cpp | 25 Label entry(env); in Equal() 27 Label exit(env); in Equal() 28 Label isHole(env); in Equal() 47 Label entry(env); in NotEqual() 49 Label exit(env); in NotEqual() 53 Label isHole(env); in NotEqual() 54 Label notHole(env); in NotEqual() 64 Label resultIsTrue(env); in NotEqual() 65 Label resultNotTrue(env); in NotEqual() 87 Label entry(env); in StrictEqual() [all …]
|
D | typed_array_stub_builder.cpp | 25 Label entryPass(env); in IsDetachedBuffer() 27 Label isNull(env); in IsDetachedBuffer() 28 Label exit(env); in IsDetachedBuffer() 29 Label isByteArray(env); in IsDetachedBuffer() 30 Label notByteArray(env); in IsDetachedBuffer() 56 Label entryPass(env); in GetDataPointFromBuffer() 58 Label isNull(env); in GetDataPointFromBuffer() 59 Label exit(env); in GetDataPointFromBuffer() 60 Label isByteArray(env); in GetDataPointFromBuffer() 61 Label notByteArray(env); in GetDataPointFromBuffer() [all …]
|
D | new_object_stub_builder.cpp | 28 void NewObjectStubBuilder::NewLexicalEnv(Variable *result, Label *exit, GateRef numSlots, GateRef p… in NewLexicalEnv() 34 Label afterAllocate(env); in NewLexicalEnv() 38 Label hasPendingException(env); in NewLexicalEnv() 39 Label noException(env); in NewLexicalEnv() 46 Label afterInitialize(env); in NewLexicalEnv() 65 Label entry(env); in NewJSArrayWithSize() 66 Label exit(env); in NewJSArrayWithSize() 79 void NewObjectStubBuilder::NewJSObject(Variable *result, Label *exit, GateRef hclass) in NewJSObject() 84 Label afterAllocate(env); in NewJSObject() 88 Label hasPendingException(env); in NewJSObject() [all …]
|
D | access_object_stub_builder.cpp | 27 Label entry(env); in LoadObjByName() 29 Label exit(env); in LoadObjByName() 30 Label tryFastPath(env); in LoadObjByName() 31 Label slowPath(env); in LoadObjByName() 42 Label notHole(env); in LoadObjByName() 68 Label entry(env); in DeprecatedLoadObjByName() 70 Label exit(env); in DeprecatedLoadObjByName() 71 Label fastPath(env); in DeprecatedLoadObjByName() 72 Label slowPath(env); in DeprecatedLoadObjByName() 98 Label entry(env); in StoreObjByName() [all …]
|
D | profiler_stub_builder.cpp | 53 Label subEntry(env); in ProfileOpType() 56 Label exit(env); in ProfileOpType() 57 Label profiler(env); in ProfileOpType() 58 Label slowpath(env); in ProfileOpType() 71 Label uninitialize(env); in ProfileOpType() 72 Label compareLabel(env); in ProfileOpType() 73 Label updateSlot(env); in ProfileOpType() 74 Label updateProfile(env); in ProfileOpType() 112 Label subEntry(env); in ProfileDefineClass() 127 Label subEntry(env); in ProfileCreateObject() [all …]
|
D | new_object_stub_builder.h | 45 void NewLexicalEnv(Variable *result, Label *exit, GateRef numSlots, GateRef parent); 46 void NewJSObject(Variable *result, Label *exit, GateRef hclass); 51 …void NewArgumentsList(Variable *result, Label *exit, GateRef sp, GateRef startIdx, GateRef numArgs… 52 void NewArgumentsObj(Variable *result, Label *exit, GateRef argumentsList, GateRef numArgs); 53 void AllocLineStringObject(Variable *result, Label *exit, GateRef length, bool compressed); 54 void HeapAlloc(Variable *result, Label *exit, RegionSpaceFlag spaceType); 55 …void NewJSArrayLiteral(Variable *result, Label *exit, RegionSpaceFlag spaceType, GateRef obj, Gate… 57 …void InitializeWithSpeicalValue(Label *exit, GateRef object, GateRef value, GateRef start, GateRef… 62 void NewTaggedArrayChecked(Variable *result, GateRef len, Label *exit); 66 void AllocateInYoung(Variable *result, Label *exit); [all …]
|
D | lcr_lowering.h | 57 void LowerCheckTaggedDoubleAndConvert(GateRef gate, GateRef frameState, Label *exit); 58 void LowerCheckTaggedNumberAndConvert(GateRef gate, GateRef frameState, Label *exit); 78 GateRef ConvertUInt32ToTaggedNumber(GateRef gate, Label *exit); 80 GateRef ConvertFloat64ToInt32(GateRef gate, Label *exit); 84 GateRef ConvertTaggedDoubleToInt32(GateRef gate, Label *exit); 86 GateRef ConvertTaggedNumberToBool(GateRef gate, Label *exit); 87 GateRef ConvertTaggedNumberToInt32(GateRef gate, Label *exit); 88 GateRef ConvertTaggedNumberToFloat64(GateRef gate, Label *exit); 91 void InitializeWithSpeicalValue(Label *exit, GateRef object, GateRef glue, GateRef value,
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | containers_stub_builder.cpp | 22 GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) in ContainersCommonFuncCall() 31 Label valueIsJSAPIVector(env); in ContainersCommonFuncCall() 32 Label valueNotJSAPIVector(env); in ContainersCommonFuncCall() 33 Label objIsJSProxy(env); in ContainersCommonFuncCall() 34 Label objNotJSProxy(env); in ContainersCommonFuncCall() 35 Label objIsJSAPIVector(env); in ContainersCommonFuncCall() 36 Label thisArgUndefined(env); in ContainersCommonFuncCall() 37 Label thisArgNotUndefined(env); in ContainersCommonFuncCall() 38 Label callbackUndefined(env); in ContainersCommonFuncCall() 39 Label callbackNotUndefined(env); in ContainersCommonFuncCall() [all …]
|
D | builtins_stubs.cpp | 66 Label entry(env); in GetArg() 69 Label validIndex(env); in GetArg() 70 Label exit(env); in GetArg() 88 Label entry(env); in CallSlowPath() 90 Label exit(env); in CallSlowPath() 91 Label callThis0(env); in CallSlowPath() 92 Label notcallThis0(env); in CallSlowPath() 93 Label notcallThis1(env); in CallSlowPath() 94 Label callThis1(env); in CallSlowPath() 95 Label callThis2(env); in CallSlowPath() [all …]
|
D | builtins_string_stub_builder.cpp | 25 Label entry(env); in StringAt() 29 Label exit(env); in StringAt() 30 Label isUtf16(env); in StringAt() 31 Label isUtf8(env); in StringAt() 32 Label doIntOp(env); in StringAt() 33 Label leftIsNumber(env); in StringAt() 34 Label rightIsNumber(env); in StringAt() 58 Label entry(env); in CreateFromEcmaString() 64 Label exit(env); in CreateFromEcmaString() 65 Label isUtf16(env); in CreateFromEcmaString() [all …]
|
/arkcompiler/ets_frontend/ts2panda/tests/statements/ |
D | tryCatch.test.ts | 27 Label, 44 let tryBeginLabel = new Label(); 45 let tryEndLabel = new Label(); 46 let catchBeginLabel = new Label(); 47 let catchEndLabel = new Label(); 73 let tryBeginLabel = new Label(); 74 let tryEndLabel = new Label(); 75 let catchBeginLabel = new Label(); 76 let catchEndLabel = new Label(); 104 let tryBeginLabel = new Label(); [all …]
|
D | switch.test.ts | 29 Label, 45 let caseLabel = new Label(); 46 let switchEndLabel = new Label(); 76 let caseLabel_0 = new Label(); 77 let caseLabel_1 = new Label(); 78 let defaultLabel = new Label(); 79 let switchEndLabel = new Label(); 113 let caseLabel_0 = new Label(); 114 let caseLabel_1 = new Label(); 115 let defaultLabel = new Label(); [all …]
|
D | forOf.test.ts | 34 Label, 58 let loopStartLabel = new Label(); 59 let loopEndLabel = new Label(); 60 let tryBeginLabel = new Label(); 61 let tryEndLabel = new Label(); 62 let catchBeginLabel = new Label(); 63 let isDone = new Label(); 141 let loopStartLabel = new Label(); 142 let loopEndLabel = new Label(); 143 let tryBeginLabel = new Label(); [all …]
|
D | for.test.ts | 28 Label, 42 let labelPre = new Label(); 43 let labelPost = new Label(); 44 let labelIncr = new Label(); 112 let labelPre = new Label(); 113 let labelPost = new Label(); 114 let labelIncr = new Label(); 137 new Jmp(new Label()), 154 let labelPre = new Label(); 155 let labelPost = new Label(); [all …]
|
D | while.test.ts | 31 Label, 45 let labelPre = new Label(); 46 let labelPost = new Label(); 64 let loopBegin = new Label(); 65 let loopEnd = new Label(); 94 let loopBegin = new Label(); 95 let loopEnd = new Label(); 127 let labelPre = new Label(); 128 let labelPost = new Label(); 160 let labelPre = new Label(); [all …]
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | labelPair.h | 25 LabelPair(Label *begin, Label *end) : begin_(begin), end_(end) {} in LabelPair() 27 Label *Begin() const in Begin() 32 Label *End() const in End() 38 Label *begin_ {}; 39 Label *end_ {};
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | assemblyLabelProto.cpp | 19 void Label::Serialize(const panda::pandasm::Label &label, protoPanda::Label &protoLabel) in Serialize() 29 void Label::Deserialize(const protoPanda::Label &protoLabel, panda::pandasm::Label &label) in Deserialize()
|
D | assemblyLabelProto.h | 24 class Label { 26 static void Serialize(const panda::pandasm::Label &label, protoPanda::Label &protoLabel); 27 static void Deserialize(const protoPanda::Label &protoLabel, panda::pandasm::Label &label);
|
/arkcompiler/ets_frontend/ts2panda/tests/ |
D | preserveConstEnums.test.ts | 35 Label, 69 new Jeqz(new Label()), 73 new Jmp(new Label()), 74 new Label(), 76 new Label(), 110 new Jeqz(new Label()), 118 new Jmp(new Label()), 119 new Label(), 121 new Label(),
|
/arkcompiler/runtime_core/libpandafile/ |
D | bytecode_emitter.h | 40 class Label { 42 explicit Label(std::list<uint32_t>::iterator pc) : pc_(pc) {} in Label() function 80 Label CreateLabel() in CreateLabel() 83 return Label(pc_list_.begin()); in CreateLabel() 89 void Bind(const Label &label); 117 bool operator()(const Label &l1, const Label &l2) const in operator() 125 std::map<uint32_t, Label> branches_; 126 std::multiset<Label, LabelCmp> targets_;
|
/arkcompiler/ets_frontend/ts2panda/tests/expression/ |
D | cmpBinary.test.ts | 43 Label, 60 let falseLabel = new Label(); 61 let endLabel = new Label(); 83 let falseLabel = new Label(); 84 let endLabel = new Label(); 106 let falseLabel = new Label(); 107 let endLabel = new Label(); 129 let falseLabel = new Label(); 130 let endLabel = new Label(); 152 let falseLabel = new Label(); [all …]
|
D | logicBinary.test.ts | 27 Label, 40 let preLabel = new Label(); 41 let postLabel = new Label(); 62 let preLabel = new Label(); 63 let postLabel = new Label();
|