/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | spill_fill_data.h | 30 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 D | graph_checker.cpp | 2010 [[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 D | mcr_lowering.cpp | 304 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 D | share_gate_meta_data.h | 417 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 D | test_runtime_interface.h | 142 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 D | runtime_interface.h | 186 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 D | exceptions.h | 54 void ThrowClassCastException(const Class *dstType, const Class *srcType);
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | inst_generator.cpp | 1028 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 D | inst_generator.h | 174 void SetFlagsNoCseNoHoistIfReference(Inst *inst, DataType::Type dstType);
|
H A D | const_folding_test.cpp | 70 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 D | exceptions.cpp | 134 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 D | codegen.cpp | 2555 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 D | encode_visitor.cpp | 253 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 D | llvm_ir_builder.cpp | 525 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 D | x64_cgfunc.h | 96 RegOperand &SelectCopy(Operand &src, PrimType srcType, PrimType dstType) override;
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | peepholes.cpp | 1381 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 D | x64_cgfunc.cpp | 267 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 D | cgfunc.h | 231 virtual RegOperand &SelectCopy(Operand &src, PrimType srcType, PrimType dstType) = 0;
|
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
H A D | llvm_ir_constructor.cpp | 586 auto dstType = GetExactType(inst->GetType()); in EmitExclusiveLoadWithAcquire() local 589 load->addParamAttr(0, llvm::Attribute::get(ctx, llvm::Attribute::ElementType, dstType)); in EmitExclusiveLoadWithAcquire()
|