Home
last modified time | relevance | path

Searched refs:const0 (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/
H A Dconstantfold.h54 const MIRConst &const0, const MIRConst &const1) const;
72 ConstvalNode *FoldConstComparison(Opcode opcode, PrimType resultType, PrimType opndType, const ConstvalNode &const0,
74 ConstvalNode *FoldConstBinary(Opcode opcode, PrimType resultType, const ConstvalNode &const0,
77 const ConstvalNode &const0, const ConstvalNode &const1) const;
80 ConstvalNode *FoldIntConstBinary(Opcode opcode, PrimType resultType, const ConstvalNode &const0,
83 const ConstvalNode &const0, const ConstvalNode &const1) const;
93 ConstvalNode *FoldFPConstBinary(Opcode opcode, PrimType resultType, const ConstvalNode &const0,
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
H A Dconstantfold.cpp321 const ConstvalNode &const0, const ConstvalNode &const1) const in FoldIntConstComparison()
323 const MIRIntConst *intConst0 = safe_cast<MIRIntConst>(const0.GetConstVal()); in FoldIntConstComparison()
407 ConstvalNode *ConstantFold::FoldIntConstBinary(Opcode opcode, PrimType resultType, const ConstvalNode &const0, in FoldIntConstBinary() argument
410 const MIRIntConst *intConst0 = safe_cast<MIRIntConst>(const0.GetConstVal()); in FoldIntConstBinary()
422 ConstvalNode *ConstantFold::FoldFPConstBinary(Opcode opcode, PrimType resultType, const ConstvalNode &const0, in FoldFPConstBinary() argument
425 DEBUG_ASSERT(const0.GetPrimType() == const1.GetPrimType(), "The types of the operands must match"); in FoldFPConstBinary()
430 bool useDouble = (const0.GetPrimType() == PTY_f64); in FoldFPConstBinary()
434 doubleConst0 = safe_cast<MIRDoubleConst>(const0.GetConstVal()); in FoldFPConstBinary()
439 floatConst0 = safe_cast<MIRFloatConst>(const0.GetConstVal()); in FoldFPConstBinary()
618 const ConstvalNode &const0, cons in FoldFPConstComparison()
320 FoldIntConstComparison(Opcode opcode, PrimType resultType, PrimType opndType, const ConstvalNode &const0, const ConstvalNode &const1) const FoldIntConstComparison() argument
617 FoldFPConstComparison(Opcode opcode, PrimType resultType, PrimType opndType, const ConstvalNode &const0, const ConstvalNode &const1) const FoldFPConstComparison() argument
628 FoldConstComparisonMIRConst(Opcode opcode, PrimType resultType, PrimType opndType, const MIRConst &const0, const MIRConst &const1) const FoldConstComparisonMIRConst() argument
646 FoldConstComparison(Opcode opcode, PrimType resultType, PrimType opndType, const ConstvalNode &const0, const ConstvalNode &const1) const FoldConstComparison() argument
698 FoldConstBinary(Opcode opcode, PrimType resultType, const ConstvalNode &const0, const ConstvalNode &const1) const FoldConstBinary() argument
[all...]
/arkcompiler/runtime_core/compiler/tests/
H A Dliveness_analyzer_test.cpp327 auto const0 = liveness_analyzer->GetInstLifeIntervals(&INS(0)); in TEST_F() local
342 EXPECT_EQ(const0->GetRanges()[0], LiveRange(b0_lifetime.GetBegin() + 2, b3_lifetime.GetEnd())); in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dliveness_analyzer_test.cpp304 auto const0 = livenessAnalyzer->GetInstLifeIntervals(&INS(0U)); in TEST_F() local
319 EXPECT_EQ(const0->GetRanges()[0U], LiveRange(b0Lifetime.GetBegin() + 2U, b3Lifetime.GetEnd())); in TEST_F()
H A Dreg_alloc_linear_scan_test.cpp1623 auto const0 = la.GetInstLifeIntervals(&INS(0U)); in TEST_F() local
1626 EXPECT_EQ(const0->GetSibling(), nullptr); in TEST_F()
1629 EXPECT_EQ(const0->GetReg(), zeroReg); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/
H A Dlitecg_ir_builder.cpp2399 Expr const0 = lmirBuilder_->ConstVal(lmirBuilder_->CreateIntConst(i64, 0)); in VisitInitVreg() local
2405 const0, IntCmpCondition::kNE)); in VisitInitVreg()

Completed in 15 milliseconds