Home
last modified time | relevance | path

Searched refs:REFERENCE (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/runtime_core/compiler/tests/
Dinst_generator.h139 …DataType::REFERENCE, DataType::BOOL, DataType::UINT8, DataType::INT8, DataType::UINT16, DataTy…
142 …std::vector<DataType::Type> ref_int_types_ {DataType::REFERENCE, DataType::BOOL, DataType::UINT8,…
146 …std::vector<DataType::Type> all_types_ {DataType::REFERENCE, DataType::BOOL, DataType::UINT8, D…
193 {Opcode::NewArray, {DataType::REFERENCE}},
207 {Opcode::NewObject, {DataType::REFERENCE}},
212 {Opcode::LoadString, {DataType::REFERENCE}},
213 {Opcode::LoadType, {DataType::REFERENCE}},
220 {Opcode::NullPtr, {DataType::REFERENCE}},
223 DataType::REFERENCE}},
226 DataType::REFERENCE}},
[all …]
Dcompiler_inst_test.cpp619 auto str = DataType::Type::REFERENCE;
640 auto str = DataType::Type::REFERENCE;
661 auto str = DataType::Type::REFERENCE;
688 auto type = DataType::Type::REFERENCE;
718 auto type = DataType::Type::REFERENCE;
Dir_builder_test.cpp42 if (data_type == DataType::Type::REFERENCE) { in CheckSimple()
127 if (data_type == DataType::Type::REFERENCE) { in CheckCmp()
224 type = DataType::REFERENCE; in CheckCondJump()
291 type = DataType::REFERENCE; in CheckCondJumpWithZero()
870 DataType::Type data_type = DataType::Type::REFERENCE; in TEST_F()
967 DataType::Type data_type = DataType::Type::REFERENCE; in TEST_F()
1113 DataType::Type data_type = DataType::Type::REFERENCE; in TEST_F()
4305 … INST(3, Opcode::CallStatic).v0id().Inputs({{DataType::REFERENCE, 2}, {DataType::NO_TYPE, 4}}); in TEST_F()
4338 ….Inputs({{DataType::REFERENCE, 3}, {DataType::INT32, 1}, {DataType::INT32, 0}, {DataType::NO_TYPE,… in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_type.h29 …ASSERT(GetCommonType(type) == DataType::INT64 || type == DataType::REFERENCE || type == DataType::… in ConvertRegType()
31 if (type == DataType::REFERENCE) { in ConvertRegType()
/arkcompiler/runtime_core/libpandafile/templates/
Dtype.h.erb34 static_assert(TypeId::I64 < TypeId::REFERENCE);
39 static_assert(TypeId::U64 < TypeId::REFERENCE);
43 static_assert(TypeId::F64 < TypeId::REFERENCE);
48 return type_ != TypeId::REFERENCE;
52 return type_ == TypeId::REFERENCE;
147 case panda_file::Type::TypeId::REFERENCE:
186 return Type(panda_file::Type::TypeId::REFERENCE);
219 uint8_t ref_encoding = Type(TypeId::REFERENCE).GetFieldEncoding();
228 return Type(TypeId::REFERENCE);
/arkcompiler/ets_frontend/es2panda/ir/expressions/
Didentifier.h40 REFERENCE = 1 << 1, enumerator
96 return (flags_ & IdentifierFlags::REFERENCE) != 0; in DEFINE_BITOPS()
101 flags_ |= IdentifierFlags::REFERENCE; in DEFINE_BITOPS()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Ddatatype.h31 REFERENCE, enumerator
210 case REFERENCE: in Is32Bits()
250 return type == REFERENCE; in IsReference()
278 case REFERENCE: in ShiftByType()
Dgraph_checker.cpp203 if (inst->GetType() == DataType::REFERENCE) { in CheckDataFlow()
227 user_input_type == DataType::POINTER && inst->GetType() == DataType::REFERENCE; in CheckDataFlow()
674 if (inst->GetType() == DataType::REFERENCE) { in CheckSaveStateInputs()
776 if (inst->GetInputType(0) == DataType::REFERENCE) { in VisitIf()
784 …ASSERT_DO(op1->GetType() == DataType::REFERENCE, (std::cerr << "If 1st operand type is not a refer… in VisitIf()
791 …ASSERT_DO(op2->GetType() == DataType::REFERENCE, (std::cerr << "If 2nd operand type is not a refer… in VisitIf()
806 if (inst->GetInputType(0) == DataType::REFERENCE) { in VisitIfImm()
814 ASSERT_DO(op1->GetType() == DataType::REFERENCE, in VisitIfImm()
Dir_constructor.h547 CurrentInst()->SetType(DataType::REFERENCE); in ref()
971 if (inst->GetType() == DataType::REFERENCE) { in UpdateSpecialFlags()
Ddump.cpp253 case DataType::Type::REFERENCE: in DumpInputs()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_builder-inl.h35 inst = GetGraph()->CreateInstLoadString(DataType::REFERENCE, GetPc(bc_inst->GetAddress())); in BuildLoadFromPool()
50 ASSERT(input->GetType() == DataType::REFERENCE); in BuildCastToAnyString()
Dphi_resolver.h99 inst->SetType(DataType::REFERENCE); in SetTypeByInputs()
Dinst_builder.cpp153 reg_type = DataType::REFERENCE; in SetParamSpillFill()
/arkcompiler/runtime_core/assembler/
Dassembly-type.cpp53 return panda_file::Type::TypeId::REFERENCE; in GetId()
57 return panda_file::Type::TypeId::REFERENCE; in GetId()
Dassembly-type.h87 return elem != panda_file::Type::TypeId::REFERENCE; in IsArrayContainsPrimTypes()
102 return type_id_ == panda_file::Type::TypeId::REFERENCE; in IsObject()
/arkcompiler/runtime_core/bytecode_optimizer/
Druntime_adapter.h225 case panda_file::Type::TypeId::REFERENCE: in ToCompilerType()
226 return compiler::DataType::REFERENCE; in ToCompilerType()
Dreg_encoder.cpp135 if (type == panda::compiler::DataType::REFERENCE) { in GetRegType()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dcommon.h428 if (data_type == compiler::DataType::Type::REFERENCE) { in CheckSimple()
512 if (data_type == compiler::DataType::Type::REFERENCE) { in CheckCmp()
609 type = compiler::DataType::REFERENCE; in CheckCondJumpWithZero()
678 type = compiler::DataType::REFERENCE; in CheckCondJump()
Druntime_adapter_test.cpp147 EXPECT_EQ(adapter.GetMethodTotalArgumentType(ctor, 0), compiler::DataType::Type::REFERENCE); in TEST()
/arkcompiler/runtime_core/libpandafile/
Dfile_reader.cpp425 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::REFERENCE), std::move(items))); in CreateAnnotationItem()
443 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::REFERENCE), std::move(items))); in CreateAnnotationItem()
456 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::REFERENCE), std::move(items))); in CreateAnnotationItem()
469 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::REFERENCE), std::move(items))); in CreateAnnotationItem()
487 … container_.CreateItem<ArrayValueItem>(Type(Type::TypeId::REFERENCE), std::move(items))); in CreateAnnotationItem()
777 case Type::TypeId::REFERENCE: in CreateFieldItem()
Dmethod_data_accessor-inl.h320 cb(panda_file::Type {panda_file::Type::TypeId::REFERENCE}, GetClassId()); in EnumerateTypesInProto()
/arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/
DREADME.md120 Assertion inst->GetType() != DataType::REFERENCE && cond_val' failed."
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb68 'ref' => 'DataType::REFERENCE',
82 'ref[]' => 'DataType::REFERENCE',
/arkcompiler/runtime_core/assembler/tests/
Dassembler_ins_test.cpp232 … EXPECT_EQ(panda::pandasm::Type::GetId(component_name, true), panda_file::Type::TypeId::REFERENCE);
Demitter_test.cpp550 {"f_str", panda_file::Type::TypeId::REFERENCE, "str"}}; in TEST()
653 case panda_file::Type::TypeId::REFERENCE: { in TEST()

12