Home
last modified time | relevance | path

Searched refs:type2 (Results 1 - 10 of 10) 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/optimizer/ir/
H A Dgraph_checker.h127 DataType::Type type2 = inst2->GetType(); in CheckCommonTypes() local
128 return DataType::GetCommonType(type1) == DataType::GetCommonType(type2); in CheckCommonTypes()
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
H A Dmeta_data_equal_test.cpp155 PGOSampleType type2 = PGOSampleType::CreateProfileType(0, 0); in HWTEST_F_L0() local
159 ->SetType(PGOTypeRef(static_cast<const PGOSampleType *>(&type2))); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
H A Djs_pandafile_test.cpp192 ConstPoolType type2 = constPoolValue2.GetConstpoolType(); in HWTEST_F_L0() local
198 EXPECT_EQ(type2, ConstPoolType::METHOD); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dgraph_checker.h278 DataType::Type type2 = inst2->GetType(); in CheckCommonTypes() local
279 return DataType::GetCommonType(type1) == DataType::GetCommonType(type2); in CheckCommonTypes()
H A Dgraph_checker.cpp1367 [[maybe_unused]] auto type2 = inst->GetInput(1).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()
1384 [[maybe_unused]] auto type2 = inst->GetInput(1).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.cpp244 DataViewType type2 = TypedArrayHelper::GetType(JSHandle<JSTypedArray>::Cast(bigUint64Array)); in HWTEST_F_L0() local
247 EXPECT_EQ(type2, DataViewType::BIGUINT64); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_MPIsel.cpp338 PrimType type2 = intrnNode.Opnd(1)->GetPrimType(); in SelectOverFlowCall() local
340 CHECK_FATAL(type2 == PTY_i32 || type2 == PTY_u32, "only support i32 or u32 here"); in SelectOverFlowCall()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_cgfunc.cpp4407 PrimType type2 = intrnNode.Opnd(1)->GetPrimType();
4409 CHECK_FATAL(type2 == PTY_i32 || type2 == PTY_u32, "only support i32 or u32 here");

Completed in 19 milliseconds