Home
last modified time | relevance | path

Searched refs:type1 (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/types/
H A Dsignature.cpp205 bool Signature::CheckParameter(TypeRelation *relation, Type *type1, Type *type2) in CheckParameter() argument
207 relation->IsIdenticalTo(type1, type2); in CheckParameter()
209 relation->IsSupertypeOf(type1, type2); in CheckParameter()
214 bool Signature::CheckReturnType(TypeRelation *relation, Type *type1, Type *type2) in CheckReturnType() argument
220 relation->IsSupertypeOf(type2, type1); in CheckReturnType()
222 relation->IsIdenticalTo(type1, type2); in CheckReturnType()
H A Dsignature.h278 bool CheckParameter(TypeRelation *relation, Type *type1, Type *type2);
279 bool CheckReturnType(TypeRelation *relation, Type *type1, Type *type2);
/arkcompiler/runtime_core/compiler/tests/
H A Dcompiler_inst_test.cpp631 auto type1 = DataType::Type::UINT16; in HWTEST_F() local
636 auto value1 = GetCommonType(type1); in HWTEST_F()
652 auto type1 = DataType::Type::UINT16; in HWTEST_F() local
657 auto value1 = IsInt32Bit(type1); in HWTEST_F()
673 auto type1 = DataType::Type::UINT16; in HWTEST_F() local
680 auto value = Is32Bits(type1, Arch::NONE); in HWTEST_F()
705 auto type1 = DataType::Type::UINT16; in HWTEST_F() local
706 auto value1 = IsTypeCollectable(type1); in HWTEST_F()
735 auto type1 = DataType::Type::INT8; in HWTEST_F() local
736 auto value1 = IsTypeSigned(type1); in HWTEST_F()
[all...]
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dgraph_checker.h126 DataType::Type type1 = inst1->GetType(); in CheckCommonTypes() local
128 return DataType::GetCommonType(type1) == DataType::GetCommonType(type2); in CheckCommonTypes()
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
H A Djs_pandafile_test.cpp191 ConstPoolType type1 = constPoolValue1.GetConstpoolType(); in HWTEST_F_L0() local
197 EXPECT_EQ(type1, ConstPoolType::METHOD); in HWTEST_F_L0()
/arkcompiler/runtime_core/assembler/tests/
H A Dassembler_ins_test.cpp248 panda::pandasm::Type type1(component_name, rank); in HWTEST_F()
249 bo = type1.IsArrayContainsPrimTypes(); in HWTEST_F()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dgraph_checker.h277 DataType::Type type1 = inst1->GetType(); in CheckCommonTypes() local
279 return DataType::GetCommonType(type1) == DataType::GetCommonType(type2); in CheckCommonTypes()
H A Dgraph_checker.cpp1366 [[maybe_unused]] auto type1 = inst->GetInput(0).GetInst()->GetType(); in CheckUserOfInt32() local
1369 v, type1 != type2, (std::cerr << "\nptr Add must have ptr and int input types\n", inst->Dump(&std::cerr))); in CheckUserOfInt32()
1372 (type1 == DataType::POINTER && IsIntWithPointerSize(type2, graph)) || in CheckUserOfInt32()
1373 (type2 == DataType::POINTER && IsIntWithPointerSize(type1, graph)), in CheckUserOfInt32()
1383 [[maybe_unused]] auto type1 = inst->GetInput(0).GetInst()->GetType(); in CheckUserOfInt32() local
1387 v, type1 != type2, in CheckUserOfInt32()
1390 v, (type1 == DataType::POINTER && IsIntWithPointerSize(type2, graph)), in CheckUserOfInt32()
1394 if (type1 == DataType::POINTER && type2 == DataType::POINTER) { in CheckUserOfInt32()
/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Dtyped_array_helper_test.cpp243 DataViewType type1 = TypedArrayHelper::GetType(int8Array); in HWTEST_F_L0() local
246 EXPECT_EQ(type1, DataViewType::INT8); in HWTEST_F_L0()

Completed in 12 milliseconds