| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | free_object_set.h | 25 using SetType = int8_t; variable 35 explicit FreeObjectSet(SetType type) : setType_(type) in FreeObjectSet() 39 explicit FreeObjectSet(SetType type, MemDescPool *pool) : setType_(type), memDescPool_(pool) in FreeObjectSet() 72 static constexpr SetType INVALID_SET_TYPE = -1; 77 SetType setType_ = INVALID_SET_TYPE;
|
| D | free_object_list.cpp | 64 SetType type = SelectSetType(size); in Allocate() 69 SetType lastType = type - 1; in Allocate() 110 SetType type = SelectSetType(size); in LookupSuitableFreeObject() 115 SetType lastType = type - 1; in LookupSuitableFreeObject() 153 SetType type = SelectSetType(size); in Free() 192 SetType type = SelectSetType(size); in Free() 236 SetType type = SelectSetType(size); in MatchFreeObjectInSet() 257 SetType type = set->setType_; in AddSet() 287 SetType type = set->setType_; in RemoveSet() 319 SetType type = set->setType_; in Merge() [all …]
|
| D | free_object_list.h | 54 void EnumerateSets(SetType type, const Callback &cb) const; 98 inline SetType SelectSetType(size_t size) const in SelectSetType() 119 inline void SetNoneEmptyBit(SetType type) in SetNoneEmptyBit() 123 inline void ClearNoneEmptyBit(SetType type) in ClearNoneEmptyBit() 127 inline size_t CalcNextNoneEmptyIndex(SetType start) in CalcNextNoneEmptyIndex()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
| D | js_value.h | 185 void SetType(napi_valuetype type) in SetType() function 242 SetType(napi_undefined); in SetUndefined() 247 SetType(napi_null); in SetNull() 252 SetType(napi_boolean); in SetBoolean() 258 SetType(napi_number); in SetNumber() 264 SetType(napi_string); in SetString() 270 SetType(napi_bigint); in SetBigInt() 279 SetType(type); in SetRefValue()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/refstorage/ |
| D | reference.h | 101 return SetType(addr, type); in Create() 110 static Reference *SetType(Reference *ref, ObjectType type) in SetType() function 113 return SetType(addr, type); in SetType() 116 static Reference *SetType(uintptr_t addr, ObjectType type) in SetType() function
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | GenericsTest.ets | 21 intType.SetType(testInt); 22 doubleType.SetType(testDouble); 28 aType.SetType(aClass); 59 SetType(a0: TT): void{
|
| /arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/checker/migration/ |
| D | InteropDeprecatedBuiltInAPICheck.ts | 112 static readonly SetType = new ClassType(new ClassSignature('Set', FileSignature.DEFAULT)); property in APIComplicatedType 122 predicateValueParam.setType(APIBasicType.genericTypeT); 125 predicateIndexParam.setType(APIBasicType.numberType); 128 predicateArrayParam.setType(APIBasicType.arrayT); 140 predicateThisParam.setType(APIBasicType.voidType); 143 predicateValueParam.setType(APIBasicType.genericTypeT); 146 predicateIndexParam.setType(APIBasicType.numberType); 149 predicateObjParam.setType(APIBasicType.arrayT); 165 mapfnParamV.setType(APIBasicType.genericTypeT); 168 mapfnParamK.setType(APIBasicType.numberType); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/ |
| D | global_ts_type_ref.h | 102 void SetType(uint32_t type) in SetType() function 179 SetType(LocalIdBits::Update(GetType(), value)); in SetLocalId() 189 SetType(ModuleIdBits::Update(GetType(), value)); in SetModuleId()
|
| /arkcompiler/ets_frontend/ets2panda/checker/ets/ |
| D | typeCreation.cpp | 300 auto const setType = [checker](GlobalTypeId slotId, Type *type) { in InitializeGlobalBuiltinObjectType() local 312 auto *objType = setType(GlobalTypeId::ETS_OBJECT_BUILTIN, create())->AsETSObjectType(); in InitializeGlobalBuiltinObjectType() 315 …setType(GlobalTypeId::ETS_UNION_UNDEFINED_NULL_OBJECT, checker->CreateETSUnionType({objType, null,… in InitializeGlobalBuiltinObjectType() 316 … setType(GlobalTypeId::ETS_UNION_UNDEFINED_NULL, checker->CreateETSUnionType({null, undef})); in InitializeGlobalBuiltinObjectType() 320 auto *stringObj = setType(GlobalTypeId::ETS_STRING_BUILTIN, in InitializeGlobalBuiltinObjectType() 323 setType(GlobalTypeId::ETS_STRING, in InitializeGlobalBuiltinObjectType() 329 …setType(GlobalTypeId::ETS_BIG_INT_BUILTIN, create(ETSObjectFlags::BUILTIN_BIGINT))->AsETSObjectTyp… in InitializeGlobalBuiltinObjectType() 330 …setType(GlobalTypeId::ETS_BIG_INT, programAllocator->New<ETSBigIntType>(programAllocator, bigIntOb… in InitializeGlobalBuiltinObjectType() 338 …setType(GlobalTypeId::ETS_ARRAY_BUILTIN, create(ETSObjectFlags::BUILTIN_ARRAY))->AsETSObjectType(); in InitializeGlobalBuiltinObjectType() 339 …setType(GlobalTypeId::ETS_ARRAY, programAllocator->New<ETSResizableArrayType>(programAllocator, ar… in InitializeGlobalBuiltinObjectType()
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | ir_constructor.h | 486 CurrentInst()->SetType(DataType::UINT8); in u8() 491 CurrentInst()->SetType(DataType::UINT16); in u16() 496 CurrentInst()->SetType(DataType::UINT32); in u32() 501 CurrentInst()->SetType(DataType::UINT64); in u64() 506 CurrentInst()->SetType(DataType::INT8); in s8() 511 CurrentInst()->SetType(DataType::INT16); in s16() 516 CurrentInst()->SetType(DataType::INT32); in s32() 521 CurrentInst()->SetType(DataType::INT64); in s64() 542 CurrentInst()->SetType(DataType::BOOL); in b() 547 CurrentInst()->SetType(DataType::REFERENCE); in ref() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | inst_generator.cpp | 264 callInst->SetType(DataType::VOID); in PopulateReturnInlined() 569 pack.inst->SetType(DataType::NO_TYPE); in CreateCheckInstByPackArgs() 594 newInst->SetType(type); in CreateCheckInstByPackArgs() 599 ret->SetType(DataType::UINT32); in CreateCheckInstByPackArgs() 602 ret->SetType(type); in CreateCheckInstByPackArgs() 642 inst->SetType(type); in GenerateCheckOperation() 679 inst->SetType(type); in GenerateSSOperation() 708 boundsCheck->SetType(DataType::INT32); in GenerateBoundaryCheckOperation() 800 add->SetType(inst->GetType()); in GeneratePhiOperation() 805 sub->SetType(inst->GetType()); in GeneratePhiOperation() [all …]
|
| D | live_registers_test.cpp | 52 li->SetType(DataType::UINT64); in TEST_F() 104 li->SetType(DataType::UINT64); in TEST_F() 140 li->SetType(DataType::UINT64); in TEST_F() 167 li->SetType(DataType::UINT64); in TEST_F() 218 interval->SetType(DataType::Type::UINT64); in TEST_F()
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/ |
| D | pgo_method_type_set.h | 47 const_cast<ScalarOpTypeInfo &>(*result).SetType(combineType); in AddType() 58 const_cast<ScalarOpTypeInfo &>(*result).SetType(combineType); in AddCallTargetType() 239 void SetType(SampleType type) in SetType() function 249 SetType(combineType); in Merge()
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/ |
| D | common.h | 457 INS(0).SetType(data_type); in CheckSimple() 462 INS(1).SetType(data_type); in CheckSimple() 497 INS(0).SetType(data_type); in CheckSimpleWithImm() 502 INS(1).SetType(data_type); in CheckSimpleWithImm() 531 INS(0).SetType(data_type); in CheckCmp() 533 INS(1).SetType(data_type); in CheckCmp() 563 INS(0).SetType(data_type); in CheckFloatCmp() 565 INS(1).SetType(data_type); in CheckFloatCmp() 625 INS(0).SetType(type); in CheckCondJumpWithZero() 694 INS(0).SetType(type); in CheckCondJump() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | ir_constructor.h | 603 CurrentInst()->SetType(DataType::UINT8); in u8() 608 CurrentInst()->SetType(DataType::UINT16); in u16() 613 CurrentInst()->SetType(DataType::UINT32); in u32() 618 CurrentInst()->SetType(DataType::UINT64); in u64() 623 CurrentInst()->SetType(DataType::INT8); in s8() 628 CurrentInst()->SetType(DataType::INT16); in s16() 633 CurrentInst()->SetType(DataType::INT32); in s32() 638 CurrentInst()->SetType(DataType::INT64); in s64() 659 CurrentInst()->SetType(DataType::BOOL); in b() 664 CurrentInst()->SetType(DataType::REFERENCE); in ref() [all …]
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
| D | common.h | 501 INS(0).SetType(dataType); in CheckSimple() 506 INS(1).SetType(dataType); in CheckSimple() 541 INS(0).SetType(dataType); in CheckSimpleWithImm() 546 INS(1).SetType(dataType); in CheckSimpleWithImm() 575 INS(0).SetType(dataType); in CheckCmp() 577 INS(1).SetType(dataType); in CheckCmp() 608 INS(0).SetType(dataType); in CheckFloatCmp() 610 INS(1).SetType(dataType); in CheckFloatCmp() 647 INS(0).SetType(type); in CheckCondJumpWithZero() 694 INS(0).SetType(type); in CheckCondJump() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
| D | meta_data_equal_test.cpp | 157 ->SetType(PGOTypeRef(static_cast<const PGOSampleType *>(&type))); in HWTEST_F_L0() 159 ->SetType(PGOTypeRef(static_cast<const PGOSampleType *>(&type2))); in HWTEST_F_L0() 164 ->SetType(PGOTypeRef(static_cast<const PGOSampleType *>(&type))); in HWTEST_F_L0() 166 ->SetType(PGOTypeRef(static_cast<const PGOSampleType *>(&type3))); in HWTEST_F_L0()
|
| /arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
| D | opaqueTypeNodeBuilder.h | 29 OpaqueTypeNodeBuilder &SetType(checker::Type *type) in SetType() function
|
| D | prefixAssertionExpressionBuilder.h | 35 PrefixAssertionExpressionBuilder &SetType(TypeNode *type) in SetType() function
|
| D | tsTypeOperatorBuilder.h | 29 TSTypeOperatorBuilder &SetType(TypeNode *type) in SetType() function
|
| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | phi_resolver.h | 106 inst->SetType(DataType::REFERENCE); in SetTypeByInputs() 112 inst->SetType(input_type); in SetTypeByInputs() 214 phi_inst->SetType(type); in CheckPhiInputs()
|
| /arkcompiler/toolchain/test/fuzztest/pttypesremoteobjectgettype_fuzzer/ |
| D | pttypesremoteobjectgettype_fuzzer.cpp | 34 obj.SetType(std::string((const char*)data, size)); in PtTypesRemoteObjectGetTypeFuzzTest()
|
| /arkcompiler/toolchain/tooling/dynamic/test/ |
| D | debugger_returns_test.cpp | 97 result->SetType("idle"); in HWTEST_F_L0() 120 breakLocation->SetScriptId(11).SetLine(1).SetColumn(44).SetType("idel5"); in HWTEST_F_L0() 154 res->SetType("idle2"); in HWTEST_F_L0() 204 res->SetType("idle5"); in HWTEST_F_L0() 238 result->SetType("idle2"); in HWTEST_F_L0() 284 remoteObjectResult->SetType("idle5"); in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
| D | reg_alloc_base.cpp | 151 void RegAllocBase::SetType(LifeIntervals *interval) in SetType() function in panda::compiler::RegAllocBase 159 interval->SetType(ConvertRegType(GetGraph(), type)); in SetType() 200 SetType(interval); in PrepareIntervals()
|
| /arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/ |
| D | phi_resolver_dyn.h | 103 inst->SetType(ark::compiler::DataType::REFERENCE); in SetTypeByInputs() 109 inst->SetType(inputType); in SetTypeByInputs() 223 phiInst->SetType(type); in CheckPhiInputs()
|