Home
last modified time | relevance | path

Searched full:kind (Results 1 – 25 of 5118) sorted by relevance

12345678910>>...205

/arkcompiler/ets_runtime/ecmascript/ic/
Dprofile_type_info.h11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
36 static inline bool IsNamedGlobalIC(ICKind kind) in IsNamedGlobalIC() argument
38 return (kind == ICKind::NamedGlobalLoadIC) || (kind == ICKind::NamedGlobalStoreIC) || in IsNamedGlobalIC()
39 (kind == ICKind::NamedGlobalTryLoadIC) || (kind == ICKind::NamedGlobalTryStoreIC); in IsNamedGlobalIC()
42 static inline bool IsValueGlobalIC(ICKind kind) in IsValueGlobalIC() argument
44 return (kind == ICKind::GlobalLoadIC) || (kind == ICKind::GlobalStoreIC); in IsValueGlobalIC()
47 static inline bool IsValueNormalIC(ICKind kind) in IsValueNormalIC() argument
49 return (kind == ICKind::LoadIC) || (kind == ICKind::StoreIC); in IsValueNormalIC()
52 static inline bool IsValueIC(ICKind kind) in IsValueIC() argument
54 return IsValueNormalIC(kind) || IsValueGlobalIC(kind); in IsValueIC()
[all …]
Dic_runtime.h11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32 …CRuntime(JSThread *thread, JSHandle<ProfileTypeInfo> profileTypeInfo, uint32_t slotId, ICKind kind) in ICRuntime() argument
33 : thread_(thread), icAccessor_(thread, profileTypeInfo, slotId, kind) in ICRuntime()
67 …CRuntime(JSThread *thread, JSHandle<ProfileTypeInfo> profileTypeInfo, uint32_t slotId, ICKind kind) in LoadICRuntime() argument
68 : ICRuntime(thread, profileTypeInfo, slotId, kind) in LoadICRuntime()
79 …CRuntime(JSThread *thread, JSHandle<ProfileTypeInfo> profileTypeInfo, uint32_t slotId, ICKind kind) in StoreICRuntime() argument
80 : ICRuntime(thread, profileTypeInfo, slotId, kind) in StoreICRuntime()
Dic_runtime.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
133 auto kind = ICKindToString(GetICKind()); in TraceIC() local
137 LOG_ECMA(ERROR) << kind << " miss key is: " << EcmaStringAccessor(keyStrHandle).ToCString() in TraceIC()
141 LOG_ECMA(ERROR) << kind << " miss " << ", state is " in TraceIC()
155 ICKind kind = GetICKind(); in LoadMiss() local
157 if (kind == ICKind::NamedGlobalLoadIC || kind == ICKind::NamedGlobalTryLoadIC) { in LoadMiss()
170 if (!op.IsFound() && kind == ICKind::NamedGlobalTryLoadIC) { in LoadMiss()
199 ICKind kind = GetICKind(); in StoreMiss() local
201 if (kind == ICKind::NamedGlobalStoreIC || kind == ICKind::NamedGlobalTryStoreIC) { in StoreMiss()
217 if (kind == ICKind::NamedGlobalStoreIC) { in StoreMiss()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dlocations.h11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
44 enum class Kind : uint8_t { enum
53 Location() : Location(Kind::INVALID) {} in Location()
54 …explicit Location(Kind type, uintptr_t value = 0) : bit_fields_(KindField::Encode(type) | ValueFie…
87 return GetKind() == Kind::INVALID; in IsInvalid()
92 return GetKind() == Kind::IMMEDIATE; in IsConstant()
97 return GetKind() == Kind::REGISTER; in IsRegister()
102 return GetKind() == Kind::FP_REGISTER; in IsFpRegister()
107 return GetKind() == Kind::STACK; in IsStack()
112 return GetKind() == Kind::STACK_ARGUMENT; in IsStackArgument()
[all …]
Dlocations.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33 case Kind::REGISTER: in Dump()
34 case Kind::FP_REGISTER: in Dump()
43 case Kind::STACK: in Dump()
44 case Kind::STACK_PARAMETER: in Dump()
45 case Kind::STACK_ARGUMENT: in Dump()
/arkcompiler/runtime_core/verification/type/
Dtype_systems.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
37 explicit FullTypeSystem(TypeSystemKind kind, ThreadNum threadnum) in FullTypeSystem() argument
42 type_system_ {bot_sort_, top_sort_, threadnum, kind}
85 for (auto kind : {TypeSystemKind::PANDA, TypeSystemKind::JAVA}) {
86 type_systems[kind].reserve(numThreads);
88 type_systems[kind].emplace_back(kind, threadNum);
98 FullTypeSystem &GetFullTypeSystem(TypeSystemKind kind, ThreadNum threadNum) in GetFullTypeSystem()
100 return type_systems[kind][threadNum]; in GetFullTypeSystem()
138 SortIdx TypeSystems::GetSort(TypeSystemKind kind, ThreadNum threadnum, const PandaString &name) in GetSort() argument
141 return impl->GetFullTypeSystem(kind, threadnum).GetSort(name); in GetSort()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_function.h11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
81 FunctionKind kind = FunctionKind::NORMAL_FUNCTION);
158 FunctionKind kind = GetFunctionKind(); in IsBase() local
159 return kind <= FunctionKind::CLASS_CONSTRUCTOR; in IsBase()
164 FunctionKind kind = GetFunctionKind(); in IsDerivedConstructor() local
165 return kind == FunctionKind::DERIVED_CONSTRUCTOR; in IsDerivedConstructor()
168 inline static bool IsArrowFunction(FunctionKind kind) in IsArrowFunction() argument
170 … return (kind >= FunctionKind::ARROW_FUNCTION) && (kind <= FunctionKind::ASYNC_ARROW_FUNCTION); in IsArrowFunction()
173 inline static bool IsClassConstructor(FunctionKind kind) in IsClassConstructor() argument
175 … return (kind == FunctionKind::CLASS_CONSTRUCTOR) || (kind == FunctionKind::DERIVED_CONSTRUCTOR); in IsClassConstructor()
[all …]
/arkcompiler/runtime_core/irtoc/lang/
Dfunction.rb12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24 attr_reader :kind, :depth accessor in CfBlock
26 module Kind module in CfBlock
32 def initialize(kind, depth) argument
33 @kind = kind
41 if @kind == Kind::While
49 …pc_map ||= { If: Kind::IfThen, IfImm: Kind::IfThen, Else: Kind::IfElse, While: Kind::While, AddOve…
141 … raise "Wrong place of `WhilePhi` instruction" unless @cf_stack[-1].kind == CfBlock::Kind::While
354 return block if block.depth == else_depth && block.kind == CfBlock::Kind::IfThen
381 … !last_block.nil? && @current_depth == last_block.depth && last_block.kind == CfBlock::Kind::IfElse
[all …]
/arkcompiler/runtime_core/verification/config/whitelist/
Dwhitelist.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24 bool InWhitelist(WhitelistKind kind, uint64_t id) in InWhitelist() argument
27 return whitelist.isNotEmpty && whitelist.Id[static_cast<size_t>(kind)]->count(id) > 0; in InWhitelist()
30 void AddWhitelistMethodConfig(WhitelistKind kind, const PandaString &name) in AddWhitelistMethodConfig() argument
33 whitelist.Names[static_cast<size_t>(kind)].push_back(name); in AddWhitelistMethodConfig()
43 for (auto kind : kindsToAdd) { in InsertIntoWhitelist() local
44 auto k = static_cast<size_t>(kind); in InsertIntoWhitelist()
/arkcompiler/ets_frontend/es2panda/ir/statements/
DvariableDeclaration.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
35 const char *kind = nullptr; in Dump() local
39 kind = "const"; in Dump()
43 kind = "let"; in Dump()
47 kind = "var"; in Dump()
57 {"kind", kind}, in Dump()
/arkcompiler/ets_frontend/ts2panda/src/
DsyntaxCheckHelper.ts11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34 return node.kind === ts.SyntaxKind.NewExpression || node.kind === ts.SyntaxKind.CallExpression;
77 export function isLeftHandSideExpressionKind(kind: ts.SyntaxKind) {
78 switch (kind) {
114 return isLeftHandSideExpressionKind(ts.skipPartiallyEmittedExpressions(node).kind);
135 switch (node.kind) {
154 switch (node.kind) {
187 switch (node.kind) {
209 while ((parent) && (parent.kind != ts.SyntaxKind.Block)) {
221 switch (node.kind) {
[all …]
DassemblyDumper.ts11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
91 if (node.kind === IRNodeKind.VREG || node.kind === IRNodeKind.IMM) {
94 if (node.kind === IRNodeKind.LABEL) {
109 let kind = format[j][0];
112 if (kind == OperandKind.Imm) {
115 } else if (kind == OperandKind.Id) {
117 } else if (kind == OperandKind.StringId) {
121 } else if (kind == OperandKind.DstVReg
122 || kind == OperandKind.SrcDstVReg
123 || kind == OperandKind.SrcVReg) {
[all …]
/arkcompiler/ets_frontend/es2panda/ir/base/
DmethodDefinition.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
49 const char *kind = nullptr; in Dump() local
53 kind = "constructor"; in Dump()
57 kind = "method"; in Dump()
61 kind = "get"; in Dump()
65 kind = "set"; in Dump()
75 {"kind", kind}, in Dump()
DmetaProperty.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28 const char *kind = nullptr; in Dump() local
32 kind = "new.Target"; in Dump()
36 kind = "import.Meta"; in Dump()
44 dumper->Add({{"type", "MetaProperty"}, {"kind", kind}}); in Dump()
Dproperty.h11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
48 …explicit Property(PropertyKind kind, Expression *key, Expression *value, bool isMethod, bool isCom… in Property() argument
50 kind_(kind), in Property()
79 PropertyKind Kind() const in Kind() function
104 static bool IsAccessorKind(PropertyKind kind) in IsAccessorKind() argument
106 return kind == PropertyKind::GET || kind == PropertyKind::SET; in IsAccessorKind()
Dproperty.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
98 const char *kind = nullptr; in Dump() local
102 kind = "init"; in Dump()
106 kind = "proto"; in Dump()
110 kind = "get"; in Dump()
114 kind = "set"; in Dump()
128 {"kind", kind}}); in Dump()
/arkcompiler/runtime_core/runtime/include/
Dstack_walker.h11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
209 template <FrameKind kind>
213 static_assert(BoundaryFrame<kind>::FP_OFFSET == 0); in GetPrevFromBoundary()
218 template <FrameKind kind>
221 auto frame_method = reinterpret_cast<uintptr_t>(GetMethodFromBoundary<kind>(ptr)); in GetBoundaryFrameMethod()
225 template <FrameKind kind>
228 if constexpr (kind == FrameKind::INTERPRETER) { // NOLINT in IsBoundaryFrame()
229 return GetBoundaryFrameMethod<kind>(ptr) == COMPILED_CODE_TO_INTERPRETER; in IsBoundaryFrame()
231 return GetBoundaryFrameMethod<kind>(ptr) == INTERPRETER_TO_COMPILED_CODE; in IsBoundaryFrame()
319 template <FrameKind kind>
[all …]
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Djs_pandafile.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
297 FunctionKind kind; in GetFunctionKind() local
301 kind = FunctionKind::BASE_CONSTRUCTOR; in GetFunctionKind()
304 kind = FunctionKind::ARROW_FUNCTION; in GetFunctionKind()
307 kind = FunctionKind::GENERATOR_FUNCTION; in GetFunctionKind()
310 kind = FunctionKind::ASYNC_FUNCTION; in GetFunctionKind()
313 kind = FunctionKind::ASYNC_GENERATOR_FUNCTION; in GetFunctionKind()
316 kind = FunctionKind::ASYNC_ARROW_FUNCTION; in GetFunctionKind()
319 kind = FunctionKind::CONCURRENT_FUNCTION; in GetFunctionKind()
324 return kind; in GetFunctionKind()
[all …]
Dliteral_data_extractor.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
52 FunctionKind kind; in ExtractObjectDatas() local
55 &methodId, &kind, &constpool, &entryPoint] in ExtractObjectDatas()
85 kind = FunctionKind::NORMAL_FUNCTION; in ExtractObjectDatas()
90 kind = FunctionKind::GENERATOR_FUNCTION; in ExtractObjectDatas()
97 methodLiteral->SetFunctionKind(kind); in ExtractObjectDatas()
108 DefineMethodInLiteral(thread, jsPandaFile, method, kind, length, entryPoint); in ExtractObjectDatas()
170 FunctionKind kind; in EnumerateLiteralVals() local
172 …index, [literals, &pos, vm, factory, thread, jsPandaFile, &methodId, &kind, &constpool, &entryPoin… in EnumerateLiteralVals()
198 kind = FunctionKind::NORMAL_FUNCTION; in EnumerateLiteralVals()
[all …]
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap_builder.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
96 … writer.WriteBuffer(reinterpret_cast<const uint8_t *>(&(deopt.kind)), sizeof(deopt.kind)); in SaveArkDeopt()
140 LocationTy::Kind kind; in ParseArkDeopt() local
148 … binBufparser.ParseBuffer(reinterpret_cast<uint8_t *>(&kind), sizeof(kind), ptr + deoptOffset); in ParseArkDeopt()
149 deoptOffset += sizeof(kind); in ParseArkDeopt()
150 deopt.kind = kind; in ParseArkDeopt()
151 switch (kind) { in ParseArkDeopt()
152 case LocationTy::Kind::CONSTANT: { in ParseArkDeopt()
160 case LocationTy::Kind::CONSTANTNDEX: { in ParseArkDeopt()
168 case LocationTy::Kind::INDIRECT: { in ParseArkDeopt()
[all …]
Dllvm_stackmap_parser.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26 std::string LocationTy::TypeToString(Kind loc) const in TypeToString()
29 case Kind::REGISTER: in TypeToString()
31 case Kind::DIRECT: in TypeToString()
33 case Kind::INDIRECT: in TypeToString()
35 case Kind::CONSTANT: in TypeToString()
37 case Kind::CONSTANTNDEX: in TypeToString()
70 ASSERT(loc.location == LocationTy::Kind::CONSTANT); in CalcCallSite()
73 if (loc.location == LocationTy::Kind::INDIRECT) { in CalcCallSite()
89 } else if (loc.location == LocationTy::Kind::CONSTANT) { in CalcCallSite()
[all …]
/arkcompiler/runtime_core/verification/config/handlers/
Dconfig_handler_whitelist.cpp11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
64 WhitelistKind kind; in RegisterConfigHandlerWhitelist() local
66 kind = WhitelistKind::CLASS; in RegisterConfigHandlerWhitelist()
68 kind = WhitelistKind::METHOD; in RegisterConfigHandlerWhitelist()
70 kind = WhitelistKind::METHOD_CALL; in RegisterConfigHandlerWhitelist()
84 if (kind == WhitelistKind::CLASS) { in RegisterConfigHandlerWhitelist()
89 AddWhitelistMethodConfig(kind, c); in RegisterConfigHandlerWhitelist()
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-ts-key-remapping-via-as.ts11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 type NameA = {name: "A", kind: string}
21 type NameB = {name: "B", kind: string}
22 type NameC = {name: "C", kind: string}
/arkcompiler/ets_frontend/ts2panda/src/base/
Diterator.ts11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34 private kind: IteratorType = IteratorType.Normal; property in Iterator
38 … pandaGen: PandaGen, node: ts.Node, kind ? : IteratorType, funcBuilder ? : FunctionBuilder) {
44 if (kind) {
45 this.kind = kind;
58 …this.kind == IteratorType.Normal ? pandaGen.getIterator(this.node) : pandaGen.getAsyncIterator(thi…
102 if (this.kind == IteratorType.Normal) {
137 // if (this.kind == IteratorType.Async) {
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgate_meta_data.h11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
289 enum class Kind : uint8_t { enum
350 Kind GetKind() const in GetKind()
355 void AssertKind([[maybe_unused]] Kind kind) const in AssertKind() argument
357 ASSERT(GetKind() == kind); in AssertKind()
362 … return GetKind() == Kind::IMMUTABLE_ONE_PARAMETER || GetKind() == Kind::MUTABLE_ONE_PARAMETER || in IsOneParameterKind()
363 GetKind() == Kind::TYPED_BINARY_OP; in IsOneParameterKind()
368 return GetKind() == Kind::MUTABLE_STRING; in IsStringType()
405 void SetKind(Kind kind) in SetKind() argument
407 kind_ = kind; in SetKind()
[all …]

12345678910>>...205