Home
last modified time | relevance | path

Searched full:typed (Results 1 – 25 of 127) sorted by relevance

123456

/arkcompiler/ets_frontend/ets2panda/ir/
Dtyped.h31 class Typed : public T {
33 Typed() = delete;
34 ~Typed() override = default;
36 NO_COPY_OPERATOR(Typed);
37 NO_MOVE_SEMANTIC(Typed);
60 explicit Typed(AstNodeType const type) : T(type) {} in Typed() function
61 explicit Typed(AstNodeType const type, ModifierFlags const flags) : T(type, flags) {} in Typed() function
64 Typed(Typed const &other) : T(static_cast<T const &>(other)) {} in Typed() function
68 auto otherImpl = static_cast<Typed<T> *>(other); in CopyTo()
78 class TypedAstNode : public Typed<AstNode> {
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DoptionalLowering.cpp82 auto typed = expr->AsMemberExpression(); in FindOptionalInChain() local
83 return typed->IsOptional() ? typed : FindOptionalInChain(typed->Object()); in FindOptionalInChain()
86 auto typed = expr->AsCallExpression(); in FindOptionalInChain() local
87 return typed->IsOptional() ? typed : FindOptionalInChain(typed->Callee()); in FindOptionalInChain()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DAtomics.ets78 … * isLockFree(n) returns true if Atomic operations for typed arrays where "BYTER_PER_ELEMENT == n"
91 * @param typedArray typed array of values
120 * @param typedArray typed array of values
141 * @param typedArray typed array of values
170 * @param typedArray typed array of values
189 * Performs a compare and swap operation with the location from the typed array
193 * @param typedArray typed array of values
221 * Performs a compare and swap operation with the location from the typed array
225 * @param typedArray typed array of values
245 * Performs an exchange operation with the location from the typed array
[all …]
/arkcompiler/ets_runtime/test/aottest/ldobjbyname_typed_path/
Dldobjbyname_typed_path.ts27 // Expects AOT typed path.
35 // Expects AOT typed path
44 // Expects AOT typed path.
52 // Expects AOT typed path.
65 // Expects AOT typed path.
74 // Expects AOT typed path.
89 // Expects AOT typed path
125 // Expects AOT Typed path (if array stability is kept) since HClass of Array.prototype is not chang…
134 // Expects AOT Typed path (if array stability is kept) since HClass of Array.prototype is still not…
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe151.md12 with values that originate from interop: other ``ESObject`` typed variables,
14 initialize ``ESObject`` typed variable with statically typed value. Varaible
28 let e0: ESObject = foo(); // CTE - ``ESObject`` typed variable can only be local
Drecipe143.md9 in runtime does not make sense for the statically typed language. Use ordinary
Drecipe146.md8 correctly typed to be compiled and run. "Suppressing" type checker in-place
/arkcompiler/runtime_core/static_core/docs/
Drationale-for-bytecode.md199 It may seem that the dynamically typed approach is better for dynamically typed languages, but it
208 Thus, as we are required to support multiple languages (both statically and dynamically typed),
209 **Panda uses statically-typed bytecode**.
211 There may be a concern: Does a statically typed bytecode forbid us to support a dynamically typed
212 language? No, it does not. In practice, it is always possible to compile a dynamically typed
213 language to some statically typed instruction set: after all, all native hardware instructions
214 sets are "statically-typed" in our terminology.
216 There may be another concern: Does a statically-typed bytecode imply statically-typed registers?
/arkcompiler/runtime_core/docs/
Drationale-for-bytecode.md199 It may seem that the dynamically typed approach is better for dynamically typed languages, but it
208 Thus, as we are required to support multiple languages (both statically and dynamically typed),
209 **Panda uses statically-typed bytecode**.
211 There may be a concern: Does a statically typed bytecode forbid us to support a dynamically typed
212 language? No, it does not. In practice, it is always possible to compile a dynamically typed
213 language to some statically typed instruction set: after all, all native hardware instructions
214 sets are "statically-typed" in our terminology.
216 There may be another concern: Does a statically-typed bytecode imply statically-typed registers?
/arkcompiler/runtime_core/static_core/irtoc/backend/
Doptions.yaml34 - typed
39 typed - same as full but without dynamic methods
/arkcompiler/ets_frontend/ets2panda/linter/test/extended_features/
D@arkts.collections.d.ets35 * Callback function used in the typed Array's 'from' function.
48 * Callback function used in typed Array functions which needs to determine
64 * Callback function used in typed Array functions that perform specific action for each element.
78 …* Callback function used in typed Array functions that perform specific action for each element and
92 * Callback function used in typed Array functions that require a reduction.
108 * Callback function used in the typed Array's 'sort' function.
949 * different typed arrays. ArrayBuffers cannot be read from or written to directly,
950 * but can be passed to a typed array or DataView Object to interpret the raw
1005 * A typed array of 8-bit integer values. The contents are initialized to 0.
1112 * that will be exposed by the typed array view.
[all …]
/arkcompiler/ets_runtime/test/moduletest/typedarrayrelease/
Dtypedarrayrelease.js23 …ims to check whether proto modifying causes out-of-bounds write of the newly generated typed array.
37 // This case aims to check while proto was modified, type conversion of the newly generated typed a…
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/config/
Dnon_testable.yaml21 description: In dynamically-typed language context load string as 'any' value.
24 description: In dynamically-typed language context accept 'any' values in source
/arkcompiler/ets_frontend/testTs/expect/jsdoc/
DtypeTagWithGenericSignature.txt1 … 3}, {'tag': 2, 'value': 0}, {'tag': 2, 'value': 0}, {'tag': 5, 'value': 'typed'}, {'tag': 2, 'val…
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dintro.rst40 |LANG| imposes stricter limitations on the |TS|'s dynamically typed features,
41 reducing runtime overhead, and allowing faster execution. As dynamically typed
/arkcompiler/ets_frontend/ets2panda/test/unit/
Dsizeof_node_test.cpp79 size_t SizeOfNodeTest::SizeOf<Typed<AstNode>>() in SizeOf()
81 Typed<AstNode> *node = nullptr; in SizeOf()
92 return SizeOf<Typed<AstNode>>(); in SizeOf()
165 size_t SizeOfNodeTest::SizeOf<Typed<Statement>>() in SizeOf()
167 Typed<Statement> *node = nullptr; in SizeOf()
178 return SizeOf<Typed<Statement>>(); in SizeOf()
651 ASSERT_EQ(sizeof(Typed<AstNode>), SizeOf<Typed<AstNode>>()); in TEST_F()
657 ASSERT_EQ(sizeof(Typed<Statement>), SizeOf<Typed<Statement>>()); in TEST_F()
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Des_object.ets177 let q1: ESValue = 1; // CTE - ``ESValue`` typed variable can only be local
178 let q2: ESValue = fooOh(); // CTE - ``ESValue`` typed variable can only be local
179 let q3: ESValue = q2; // CTE - ``ESValue`` typed variable can only be local
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule151.ets177 let q1: ESValue = 1; // CTE - ``ESValue`` typed variable can only be local
178 let q2: ESValue = fooOh(); // CTE - ``ESValue`` typed variable can only be local
179 let q3: ESValue = q2; // CTE - ``ESValue`` typed variable can only be local
/arkcompiler/ets_runtime/test/jittest/ldobjbyvalue_mono_proto/
DBUILD.gn18 extra_option = " --log-info=trace --compiler-trace-deopt=true --compiler-typed-op-profiler=true"
/arkcompiler/ets_runtime/test/jittest/ldobjbyvalue_mono_proto_getter/
DBUILD.gn18 extra_option = " --log-info=trace --compiler-trace-deopt=true --compiler-typed-op-profiler=true"
/arkcompiler/ets_runtime/test/jittest/ldobjbyvalue_mono_opt/
DBUILD.gn18 extra_option = " --log-info=trace --compiler-trace-deopt=true --compiler-typed-op-profiler=true"
/arkcompiler/ets_runtime/test/jittest/ldobjbyvalue_deopt_string_check/
DBUILD.gn18 extra_option = " --log-info=trace --compiler-trace-deopt=true --compiler-typed-op-profiler=true"
/arkcompiler/ets_runtime/test/jittest/ldobjbyvalue_deopt_key_check/
DBUILD.gn18 extra_option = " --log-info=trace --compiler-trace-deopt=true --compiler-typed-op-profiler=true"
/arkcompiler/ets_runtime/test/aottest/pgo_forof_set_prototype/
Dpgo_expect_output.txt56 after change obj(typed array).__proto__
Dexpect_output.txt56 after change obj(typed array).__proto__

123456