/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | type_converter.cpp | 43 double ValueUnit::GetDoubleValue() const in GetDoubleValue() function in panda::helpers::ValueUnit 73 return std::fabs(lhs.GetDoubleValue() - rhs.GetDoubleValue()) < in operator ==() 90 os << std::fixed << std::setprecision(static_cast<int>(element.GetPrecision())) << element.GetDoubleValue() in operator <<()
|
H A D | type_converter.h | 53 double GetDoubleValue() const;
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | type_converter.cpp | 40 double ValueUnit::GetDoubleValue() const in GetDoubleValue() function in ark::helpers::ValueUnit 70 return std::fabs(lhs.GetDoubleValue() - rhs.GetDoubleValue()) < in operator ==() 87 os << std::fixed << std::setprecision(static_cast<int>(element.GetPrecision())) << element.GetDoubleValue() in operator <<()
|
H A D | type_converter.h | 53 PANDA_PUBLIC_API double GetDoubleValue() const;
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | const_folding.cpp | 230 ? ConvertFloatToIntDyn(cnst->GetDoubleValue(), graph->GetRuntime(), in ConstFoldingCastConst() 232 : ConvertFloatToInt(cnst->GetDoubleValue(), inst->GetType()); in ConstFoldingCastConst() 240 return graph->FindOrCreateConstant(static_cast<float>(cnst->GetDoubleValue())); in ConstFoldingCastConst() 280 newCnst = graph->FindOrCreateConstant(-cnst->GetDoubleValue()); in ConstFoldingNeg() 315 newCnst = graph->FindOrCreateConstant(std::abs(cnst->GetDoubleValue())); in ConstFoldingAbs() 359 newCnst = graph->FindOrCreateConstant(cnst0->GetDoubleValue() + cnst1->GetDoubleValue()); in ConstFoldingAdd() 389 newCnst = graph->FindOrCreateConstant(cnst0->GetDoubleValue() - cnst1->GetDoubleValue()); in ConstFoldingSub() 425 newCnst = graph->FindOrCreateConstant(cnst0->GetDoubleValue() * cnst in ConstFoldingMul() [all...] |
H A D | peepholes.cpp | 2176 double value = (*constInst)->CastToConstant()->GetDoubleValue(); in TryReplaceFloatConstToIntConst() 2386 newCnst = graph->FindOrCreateConstant(combine(cnst1->GetDoubleValue(), cnst2->GetDoubleValue())); in TryCombineConst()
|
/arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
H A D | gc_stats.cpp | 77 statistic << "Mean GC size throughput " << helpers::MemoryConverter(totalAllocated / totalTimeGc.GetDoubleValue()) in GetFinalStatistics() 79 statistic << "Mean GC object throughput: " << std::scientific << totalObjects / totalTimeGc.GetDoubleValue() in GetFinalStatistics() 329 << youngTotalFreedObj / youngTotalTime.GetDoubleValue() << "objects/" << youngTotalTime.GetLiteral() in GetYoungSpaceDump() 330 << " / " << helpers::MemoryConverter(youngTotalFreedBytes / youngTotalTime.GetDoubleValue()) << "/" in GetYoungSpaceDump() 354 << totalFreedObj / totalTime.GetDoubleValue() << "objects/" << totalTime.GetLiteral() << " / " in GetAllSpacesDump() 355 << helpers::MemoryConverter(totalFreedBytes / totalTime.GetDoubleValue()) << "/" << totalTime.GetLiteral() in GetAllSpacesDump()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | spill_fill_encoder.cpp | 169 auto imm = constInst->GetDoubleValue(); in EncodeImmWithCorrectType() 200 imm = Imm(constInst->GetDoubleValue()); in EncodeImmToX()
|
H A D | codegen.cpp | 86 Imm(bit_cast<double>(inst->CastToConstant()->GetDoubleValue()))); in EncodeConstantMove()
|
H A D | encode_visitor.cpp | 321 enc->GetEncoder()->EncodeMov(dst, Imm(constInst->GetDoubleValue())); in VisitConstant()
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
H A D | module_constant_analyzer.cpp | 102 auto val = const_inst->GetDoubleValue(); in GetConstantInstConstValue()
|
H A D | codegen.cpp | 216 enc->result_.emplace_back(pandasm::Create_FLDAI(inst->CastToConstant()->GetDoubleValue())); in VisitConstant() 290 return coretypes::TaggedValue(const_inst->GetDoubleValue()); in IsEcmaConstTemplate() 451 enc->result_.emplace_back(pandasm::Create_FLDAI(input->GetDoubleValue())); in VisitCastValueToAnyType()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
H A D | const_array_resolver.cpp | 305 literal->value = valueInst->GetDoubleValue(); in FillPrimitiveLiteral()
|
H A D | codegen.cpp | 334 res.emplace_back(pandasm::Create_FLDAI_DYN(inst->CastToConstant()->GetDoubleValue())); in VisitConstant64() 338 pandasm::Ins ldai = pandasm::Create_FLDAI_64(inst->CastToConstant()->GetDoubleValue()); in VisitConstant64() 341 movi = pandasm::Create_FMOVI_64(dstReg, inst->CastToConstant()->GetDoubleValue()); in VisitConstant64() 793 return coretypes::TaggedValue(constInst->GetDoubleValue()); in IsEcmaConstTemplate() 1504 pandasm::Create_FLDAI_DYN(cvat->GetInput(0U).GetInst()->CastToConstant()->GetDoubleValue())); in VisitCastValueToAnyType()
|
/arkcompiler/runtime_core/bytecode_optimizer/constant_propagation/ |
H A D | constant_propagation.cpp | 295 inst->GetDataFlowInput(0)->CastToConstant()->GetDoubleValue()); in VisitCastValueToAnyType() 328 auto val = const_inst->GetDoubleValue(); in VisitConstant()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | inst.cpp | 347 new_cnst = targetGraph->CreateInstConstant(GetDoubleValue(), is_support_int32); in Clone()
|
H A D | dump.cpp | 262 (*out) << GetDoubleValue(); in DumpInputs()
|
H A D | inst.h | 2062 double GetDoubleValue() const in GetDoubleValue() function in ConditionMixin::ConstantInst
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | inst_test.cpp | 222 ASSERT_EQ(const1->GetDoubleValue(), val); in TEST_F()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | inst.cpp | 627 newCnst = targetGraph->CreateInstConstant(GetDoubleValue(), isSupportInt32); in Clone()
|
H A D | dump.cpp | 337 (*out) << GetDoubleValue(); in DumpInputs()
|
H A D | inst.h | 3414 double GetDoubleValue() const in GetDoubleValue() function in DynObjectAccessType::ConstantInst 3505 return std::isnan(GetDoubleValue()); in IsNaNConst()
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | inst_test.cpp | 228 ASSERT_EQ(const1->GetDoubleValue(), val); in TEST_F()
|
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
H A D | llvm_ir_constructor.cpp | 978 double value = constant->GetDoubleValue(); in GetInputValueFromConstant()
|