Home
last modified time | relevance | path

Searched refs:dstType (Results 1 - 19 of 19) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dspill_fill_data.h30 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()
H A Dgraph_checker.cpp2010 [[maybe_unused]] auto dstType = inst->GetType(); in CheckUserOfInt32() local
2015 v, DataType::IsTypeNumeric(dstType), in CheckUserOfInt32()
2027 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, !(DataType::IsFloatType(srcType) && DataType::IsLessInt32(dstType)), in CheckUserOfInt32()
2030 << DataType::internal::TYPE_NAMES.at(dstType) << " don't support\n", in CheckUserOfInt32()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dmcr_lowering.cpp304 ValueType dstType = acc_.GetDstType(gate); in LowerConvert() local
309 ASSERT(dstType == ValueType::TAGGED_BOOLEAN); in LowerConvert()
313 if (dstType == ValueType::TAGGED_INT) { in LowerConvert()
315 } else if (dstType == ValueType::FLOAT64) { in LowerConvert()
318 ASSERT(dstType == ValueType::BOOL); in LowerConvert()
323 if (dstType == ValueType::TAGGED_NUMBER) { in LowerConvert()
325 } else if (dstType == ValueType::FLOAT64) { in LowerConvert()
328 ASSERT(dstType == ValueType::BOOL); in LowerConvert()
333 if (dstType == ValueType::TAGGED_DOUBLE) { in LowerConvert()
335 } else if (dstType in LowerConvert()
626 ValueType dstType = acc_.GetDstType(gate); LowerCheckSupportAndConvert() local
[all...]
H A Dshare_gate_meta_data.h417 static uint64_t ToValue(ValueType srcType, ValueType dstType, ConvertSupport support = ConvertSupport::ENABLE) in ToValue() argument
420 uint8_t dstVlaue = static_cast<uint8_t>(dstType); in ToValue()
/arkcompiler/runtime_core/static_core/runtime/tests/interpreter/
H A Dtest_runtime_interface.h142 Class *dstType {};
334 static void ThrowClassCastException(Class *dstType, Class *srcType) in ThrowClassCastException() argument
337 ASSERT_EQ(classCastExceptionData_.dstType, dstType); in ThrowClassCastException()
/arkcompiler/runtime_core/static_core/runtime/interpreter/
H A Druntime_interface.h186 static void ThrowClassCastException(Class *dstType, Class *srcType) in ThrowClassCastException() argument
188 ark::ThrowClassCastException(dstType, srcType); in ThrowClassCastException()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dexceptions.h54 void ThrowClassCastException(const Class *dstType, const Class *srcType);
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dinst_generator.cpp1028 void InstGenerator::SetFlagsNoCseNoHoistIfReference(Inst *inst, DataType::Type dstType) in SetFlagsNoCseNoHoistIfReference() argument
1030 if (dstType == DataType::REFERENCE) { in SetFlagsNoCseNoHoistIfReference()
1047 auto dstType = opcodeXPossibleTypes_[opCode][j]; in GenerateOperations() local
1050 inst->SetType(dstType); in GenerateOperations()
1052 SetFlagsNoCseNoHoistIfReference(inst, dstType); in GenerateOperations()
1071 auto dstType = opcodeXPossibleTypes_[opCode][j]; in GenerateOperationsImm() local
1074 inst->SetType(dstType); in GenerateOperationsImm()
1077 SetFlagsNoCseNoHoistIfReference(inst, dstType); in GenerateOperationsImm()
H A Dinst_generator.h174 void SetFlagsNoCseNoHoistIfReference(Inst *inst, DataType::Type dstType);
H A Dconst_folding_test.cpp70 void CastTest(From src, To dst, DataType::Type dstType) in CastTest() argument
79 INS(1U).SetType(dstType); in CastTest()
81 INS(2U).SetType(dstType); in CastTest()
88 if (DataType::GetCommonType(dstType) == DataType::INT64) { in CastTest()
90 } else if (dstType == DataType::FLOAT32) { in CastTest()
92 } else if (dstType == DataType::FLOAT64) { in CastTest()
/arkcompiler/runtime_core/static_core/runtime/
H A Dexceptions.cpp134 void ThrowClassCastException(const Class *dstType, const Class *srcType) in ThrowClassCastException() argument
138 PandaString msg {srcType->GetName() + " cannot be cast to " + dstType->GetName()}; in ThrowClassCastException()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dcodegen.cpp2555 auto dstType = inst->GetType(); in InstEncodedWithLibCall() local
2557 return dstType == DataType::FLOAT32 || dstType == DataType::FLOAT64; in InstEncodedWithLibCall()
2562 auto dstType = inst->GetType(); in InstEncodedWithLibCall() local
2563 return dstType == DataType::INT64 || dstType == DataType::UINT64; in InstEncodedWithLibCall()
2566 auto dstType = inst->GetType(); in InstEncodedWithLibCall() local
2568 if (dstType == DataType::FLOAT32 || dstType == DataType::FLOAT64) { in InstEncodedWithLibCall()
2572 return dstType in InstEncodedWithLibCall()
[all...]
H A Dencode_visitor.cpp253 auto dstType = inst->GetType(); in VisitCast() local
254 ASSERT(dstType != DataType::ANY); in VisitCast()
256 bool dstSigned = IsTypeSigned(dstType); in VisitCast()
258 auto dst = enc->GetCodegen()->ConvertRegister(inst->GetDstReg(), dstType); in VisitCast()
259 if (dstType == DataType::BOOL) { in VisitCast()
290 auto dstType = inst->GetType(); in VisitBitcast() local
291 auto dst = codegen->ConvertRegister(inst->GetDstReg(), dstType); in VisitBitcast()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_ir_builder.cpp525 LLVMTypeRef dstType; in GetMachineRepType() local
528 dstType = GetInt1T(); in GetMachineRepType()
531 dstType = GetInt8T(); in GetMachineRepType()
534 dstType = GetInt16T(); in GetMachineRepType()
537 dstType = GetInt32T(); in GetMachineRepType()
540 dstType = GetDoubleT(); in GetMachineRepType()
543 dstType = GetInt64T(); in GetMachineRepType()
546 dstType = GetTaggedHPtrT(); in GetMachineRepType()
549 dstType = LLVMMetadataTypeInContext(context_); in GetMachineRepType()
556 return dstType; in GetMachineRepType()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
H A Dx64_cgfunc.h96 RegOperand &SelectCopy(Operand &src, PrimType srcType, PrimType dstType) override;
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dpeepholes.cpp1381 auto dstType = cav->GetType(); in VisitCastAnyTypeValue() local
1382 auto isDoubleToInt = dstType == DataType::INT32 && inputType == DataType::FLOAT64; in VisitCastAnyTypeValue()
1383 if (IsTypeNumeric(inputType) && IsTypeNumeric(dstType) && (!isDoubleToInt || cav->IsIntegerWasSeen())) { in VisitCastAnyTypeValue()
1397 cast->SetType(dstType); in VisitCastAnyTypeValue()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_cgfunc.cpp267 RegOperand &X64CGFunc::SelectCopy(Operand &src, PrimType srcType, PrimType dstType) in SelectCopy() argument
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dcgfunc.h231 virtual RegOperand &SelectCopy(Operand &src, PrimType srcType, PrimType dstType) = 0;
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
H A Dllvm_ir_constructor.cpp586 auto dstType = GetExactType(inst->GetType()); in EmitExclusiveLoadWithAcquire() local
589 load->addParamAttr(0, llvm::Attribute::get(ctx, llvm::Attribute::ElementType, dstType)); in EmitExclusiveLoadWithAcquire()

Completed in 52 milliseconds