/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | doclet.py | 363 tp = cls(src, parsed.name) 365 tp.generator = parsed.generator if parsed.generator else '' 366 tp.config = {x[0]: x[1] for x in f} 369 tp.method_name = b.name 370 tp.method_rettype = b.return_type if b.return_type else '' 372 tp.state_params = "\n ".join([ 374 tp.fixture = fix_str 375 tp.fix_id = fix_id 376 tp.bench_name = f'{parsed.name}_{b.name}' 377 if tp [all...] |
H A D | report.py | 473 score, tp, avg, mx = 0.0, 0.0, 0.0, 0.0 491 tp = (vm - total_sum) / vm if vm > 0 else 0.0 494 'throughput': tp,
|
/arkcompiler/runtime_core/static_core/verification/type/ |
H A D | type_type.cpp | 198 [[maybe_unused]] bool InvariantHolds(Type tp, TypeSystem const *tsys) in InvariantHolds() argument 200 if (tp.IsBuiltin() || tp.IsClass()) { in InvariantHolds() 203 if (tp.IsIntersection()) { in InvariantHolds() 204 auto members = tp.GetIntersectionMembers(tsys); in InvariantHolds() 215 if (tp.IsUnion()) { in InvariantHolds() 216 auto members = tp.GetUnionMembers(tsys); in InvariantHolds() 590 static Span<Type const> ToIntersectionSpan(Type const *tp, TypeSystem const *tsys) in ToIntersectionSpan() argument 592 if (tp->IsBuiltin() || tp in ToIntersectionSpan() 601 ToUnionSpan(Type const *tp, TypeSystem const *tsys) ToUnionSpan() argument [all...] |
H A D | type_type.h | 237 size_t operator()(ark::verifier::Type tp) const in operator ()() 239 return hash<uintptr_t>()(tp.content_); in operator ()()
|
/arkcompiler/ets_frontend/ets2panda/public/ |
H A D | es2panda_lib.cpp | 94 for (auto *tp = table; tp->str != nullptr; tp++) { in StrToToken() 95 if (strcmp(str, tp->str) == 0) { in StrToToken() 96 return tp->token; in StrToToken() 105 for (auto *tp = table; tp->str != nullptr; tp++) { in TokenToStr() 106 if (tp->token == token) { in TokenToStr() 107 return tp in TokenToStr() [all...] |
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | spill_fill_data.h | 30 SpillFillData(LocationType src_type, LocationType dst_type, unsigned src_val, unsigned dst_val, DataType::Type tp) in SpillFillData() argument 31 : src_(src_type, src_val), dst_(dst_type, dst_val), type_(tp) in SpillFillData()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | spill_fill_data.h | 30 SpillFillData(LocationType srcType, LocationType dstType, unsigned srcVal, unsigned dstVal, DataType::Type tp) in SpillFillData() argument 31 : src_(srcType, srcVal), dst_(dstType, dstVal), type_(tp) in SpillFillData()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | scoped_tmp_reg.h | 91 void ChangeType(TypeInfo tp) in ChangeType() argument 93 ASSERT(tp.IsScalar() == reg_.IsScalar()); in ChangeType() 94 reg_ = Reg(reg_.GetId(), tp); in ChangeType()
|
/arkcompiler/ets_frontend/ets2panda/checker/types/ |
H A D | type.cpp | 171 bool IsTypeError(Type const *tp) in IsTypeError() argument 173 return tp != nullptr && tp->IsTypeError(); in IsTypeError()
|
H A D | type.h | 298 bool IsTypeError(Type const *tp);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | mir_type.h | 102 inline bool IsPossible64BitAddress(PrimType tp) in IsPossible64BitAddress() argument 104 return (tp == PTY_ptr || tp == PTY_ref || tp == PTY_u64 || tp == PTY_a64); in IsPossible64BitAddress() 107 inline bool IsPossible32BitAddress(PrimType tp) in IsPossible32BitAddress() argument 109 return (tp == PTY_ptr || tp == PTY_ref || tp == PTY_u32); in IsPossible32BitAddress()
|
/arkcompiler/ets_runtime/ecmascript/intl/ |
H A D | global_intl_helper.cpp | 58 auto tp = std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds>(mTime); in ConvertDateToUnit() local 59 auto tt = std::chrono::system_clock::to_time_t(tp); in ConvertDateToUnit()
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | typed.h | 24 bool IsTypeError(Type const *tp);
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/scripts/micro-benchmarks/ |
H A D | run_micro_benchmarks.py | 107 def dump_stdout(self, pipe, tp): 108 self.dump_output_to_file(pipe, f"{tp}_out") 110 def dump_stderr(self, pipe, tp): 111 self.dump_output_to_file(pipe, f"{tp}_err")
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | variable.h | 31 bool IsTypeError(Type const *tp);
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | function.cpp | 996 Type *tp; in CheckObjectLiteralArguments() local 999 tp = signature->RestVar()->TsType(); in CheckObjectLiteralArguments() 1001 tp = signature->Params()[index]->TsType(); in CheckObjectLiteralArguments() 1004 arguments[index]->AsObjectExpression()->SetPreferredType(tp); in CheckObjectLiteralArguments()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | lambdaLowering.cpp | 656 for (auto *tp : lciInfo->classDefinition->TypeParams()->Params()) { in CreateCallForLambdaClassInvoke() 657 typeArgs.push_back(allocator->New<ir::OpaqueTypeNode>(tp->Name()->AsIdentifier()->Variable()->TsType())); in CreateCallForLambdaClassInvoke()
|
/arkcompiler/runtime_core/static_core/verification/absint/ |
H A D | abs_int_inl.h | 207 PandaString ToString(Type tp) const in ToString() 209 return tp.ToString(GetTypeSystem()); in ToString()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | 25732 const tp = Math.acos; 25765 const s = tp(i < -1 ? -1 : i > 1 ? 1 : i); [all...] |