Home
last modified time | relevance | path

Searched full:label (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_stub_builder.cpp22 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 …]
Dbuiltins_stubs.cpp66 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 …]
Dbuiltins_string_stub_builder.cpp25 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_runtime/ecmascript/compiler/
Dic_stub_builder.h47 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 …]
Dstub_builder.cpp38 void StubBuilder::Jump(Label *label) in Jump() argument
40 ASSERT(label); in Jump()
45 label->AppendPredecessor(currentLabel); in Jump()
46 label->MergeControl(currentLabel->GetControl()); 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()
[all …]
Dic_stub_builder.cpp19 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 …]
Doperations_stub_builder.cpp25 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 …]
Dtyped_array_stub_builder.cpp25 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 …]
Dnew_object_stub_builder.cpp28 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 …]
Daccess_object_stub_builder.cpp27 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 …]
Dprofiler_stub_builder.cpp53 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 …]
Dnew_object_stub_builder.h45 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 …]
Dinterpreter_stub.cpp126Label callRuntime(env); …
277 Label newArgumentsObj(env); in DECLARE_ASM_HANDLER()
278 Label checkException(env); in DECLARE_ASM_HANDLER()
279 Label dispatch(env); in DECLARE_ASM_HANDLER()
280 Label slowPath(env); in DECLARE_ASM_HANDLER()
283 Label afterArgumentsList(env); in DECLARE_ASM_HANDLER()
288 Label afterArgumentsObj(env); in DECLARE_ASM_HANDLER()
599 Label dispatch(env); in DECLARE_ASM_HANDLER()
600 Label slowPath(env); in DECLARE_ASM_HANDLER()
613 Label dispatch(env); in DECLARE_ASM_HANDLER()
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsTypedefPropertyAndExportAssignment/
Dmodule.js26 * @property {string} label
31 * @type {{[P in TaskGroupIds]: {id: P, label: string}}}
34 …pe(taskGroups, "{ parseHTML: { id: "parseHTML"; label: string; }; styleLayout: { id: "styleLayout"…
35label: 'Parse HTML & CSS' }, styleLayout: { id: 'styleLayout', label: 'Style &… property
38 AssertType(parseHTML, "{ id: "parseHTML"; label: string; }");
39 AssertType({ id: 'parseHTML', label: 'Parse HTML & CSS' }, "{ id: "parseHTML"; lab… property
45 label: 'Parse HTML & CSS'
46 AssertType(label, "string");
51 AssertType(styleLayout, "{ id: "styleLayout"; label: string; }");
52 AssertType({ id: 'styleLayout', label: 'Style & Layout' }, "{ id: "styleLayout"; l… property
[all …]
/arkcompiler/runtime_core/libpandafile/tests/
Dbytecode_emitter_tests.cpp105 Label label = emitter.CreateLabel(); variable
106 emitter.Bind(label);
111 emitter.Jmp(label);
125 Label label = emitter.CreateLabel(); variable
126 emitter.Jmp(label);
133 emitter.Bind(label);
149 Label label = emitter.CreateLabel(); variable
150 emitter.Bind(label);
155 emitter.Jmp(label);
167 Label label = emitter.CreateLabel(); variable
[all …]
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyLabelProto.cpp19 void Label::Serialize(const panda::pandasm::Label &label, protoPanda::Label &protoLabel) in Serialize() argument
21 protoLabel.set_name(label.name); in Serialize()
22 const auto &fileLocation = label.file_location; in Serialize()
29 void Label::Deserialize(const protoPanda::Label &protoLabel, panda::pandasm::Label &label) in Deserialize() argument
31 label.name = protoLabel.name(); in Deserialize()
34 FileLocation::Deserialize(protoLocation, label.file_location); in Deserialize()
DassemblyLabelProto.h24 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/runtime_core/disassembler/tests/sources/
Dinstructions.pa49 label:
50 jmp label
65 jeqz label
66 jnez label
67 jltz label
68 jgtz label
69 jlez label
70 jgez label
72 jeq v2, label
73 jne v2, label
[all …]
/arkcompiler/ets_frontend/ts2panda/tests/statements/
DtryCatch.test.ts27 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 …]
/arkcompiler/runtime_core/libpandafile/
Dbytecode_emitter.h33 * Label represents a branch target.
35 * BytecodeEmitter.Bind(const Label& label) method.
38 * Lifetime of a label must match lifetime of the emitter.
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()
87 * Bind the label with the current place in the final bytecode.
89 void Bind(const Label &label);
117 bool operator()(const Label &l1, const Label &l2) const in operator()
[all …]
/arkcompiler/ets_frontend/es2panda/compiler/core/
DlabelTarget.h42 explicit LabelTarget(const util::StringView &label) : LabelTarget(nullptr, label) {} in LabelTarget() argument
43 explicit LabelTarget(Label *target, const util::StringView &label) in LabelTarget() argument
44 : LabelPair(target, nullptr), breakLabel_(label), continueLabel_(label) in LabelTarget()
58 Label *BreakTarget() const in BreakTarget()
63 void SetBreakTarget(Label *label) in SetBreakTarget() argument
65 begin_ = label; in SetBreakTarget()
73 Label *ContinueTarget() const in ContinueTarget()
/arkcompiler/ets_frontend/arkguard/src/utils/
DScopeAnalyzer.ts143 labels: Label[];
171 * add label to current scope
173 * @param label label statement
175 addLabel(label: Label): void;
185 * get label location
187 * @param label
189 getLabelLocation(label: Label): string;
208 let labels: Label[] = [];
250 function addLabel(label: Label): void {
251 current.labels.push(label);
[all …]
/arkcompiler/ets_frontend/ts2panda/src/statement/
DloopStatement.ts31 import { Label, VReg } from "../irnodes";
42 let loopStartLabel = new Label();
43 let loopEndLabel = new Label();
44 let conditionLabel = new Label();
50 pandaGen.label(stmt, loopStartLabel);
56 pandaGen.label(stmt, conditionLabel);
64 pandaGen.label(stmt, loopEndLabel);
82 let loopStartLabel = new Label();
83 let loopEndLabel = new Label();
88 pandaGen.label(stmt, loopStartLabel);
[all …]
/arkcompiler/ets_frontend/ts2panda/src/
DcompilerUtils.ts29 Label,
76 let tryBeginLabel = new Label();
77 let tryEndLabel = new Label();
78 let catchBeginLabel = new Label();
79 let catchEndLabel = new Label();
80 let normalClose = new Label();
81 let endLabel = new Label();
89 pandaGen.label(arr, tryBeginLabel);
129 let getDefaultLabel = new Label();
130 let getUndefinedLabel = new Label();
[all …]
/arkcompiler/ets_frontend/ts2panda/src/function/
DgeneratorFunctionBuilder.ts22 Label,
92 let loopStartLabel = new Label();
93 let callreturnLabel = new Label();
94 let callthrowLabel = new Label();
95 let iteratorCompletionLabel = new Label();
96 let exitLabelReturn = new Label();
97 let exitLabelThrow = new Label();
98 let exitLabelValue = new Label();
99 let exitLabelTypeError = new Label();
113 pandaGen.label(expr, loopStartLabel);
[all …]

12345678910>>...13