Home
last modified time | relevance | path

Searched refs:GetDoubleValue (Results 1 - 24 of 24) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
H A Dtype_converter.cpp43 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 Dtype_converter.h53 double GetDoubleValue() const;
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dtype_converter.cpp40 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 Dtype_converter.h53 PANDA_PUBLIC_API double GetDoubleValue() const;
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dconst_folding.cpp230 ? 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 Dpeepholes.cpp2176 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 Dgc_stats.cpp77 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 Dspill_fill_encoder.cpp169 auto imm = constInst->GetDoubleValue(); in EncodeImmWithCorrectType()
200 imm = Imm(constInst->GetDoubleValue()); in EncodeImmToX()
H A Dcodegen.cpp86 Imm(bit_cast<double>(inst->CastToConstant()->GetDoubleValue()))); in EncodeConstantMove()
H A Dencode_visitor.cpp321 enc->GetEncoder()->EncodeMov(dst, Imm(constInst->GetDoubleValue())); in VisitConstant()
/arkcompiler/runtime_core/bytecode_optimizer/
H A Dmodule_constant_analyzer.cpp102 auto val = const_inst->GetDoubleValue(); in GetConstantInstConstValue()
H A Dcodegen.cpp216 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 Dconst_array_resolver.cpp305 literal->value = valueInst->GetDoubleValue(); in FillPrimitiveLiteral()
H A Dcodegen.cpp334 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 Dconstant_propagation.cpp295 inst->GetDataFlowInput(0)->CastToConstant()->GetDoubleValue()); in VisitCastValueToAnyType()
328 auto val = const_inst->GetDoubleValue(); in VisitConstant()
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dinst.cpp347 new_cnst = targetGraph->CreateInstConstant(GetDoubleValue(), is_support_int32); in Clone()
H A Ddump.cpp262 (*out) << GetDoubleValue(); in DumpInputs()
H A Dinst.h2062 double GetDoubleValue() const in GetDoubleValue() function in ConditionMixin::ConstantInst
/arkcompiler/runtime_core/compiler/tests/
H A Dinst_test.cpp222 ASSERT_EQ(const1->GetDoubleValue(), val); in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dinst.cpp627 newCnst = targetGraph->CreateInstConstant(GetDoubleValue(), isSupportInt32); in Clone()
H A Ddump.cpp337 (*out) << GetDoubleValue(); in DumpInputs()
H A Dinst.h3414 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 Dinst_test.cpp228 ASSERT_EQ(const1->GetDoubleValue(), val); in TEST_F()
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
H A Dllvm_ir_constructor.cpp978 double value = constant->GetDoubleValue(); in GetInputValueFromConstant()

Completed in 55 milliseconds