Home
last modified time | relevance | path

Searched refs:resultConst (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
H A Dconstantfold.cpp329 ConstvalNode *resultConst = mirModule->CurFuncCodeMemPool()->New<ConstvalNode>(); in FoldIntConstComparison() local
330 resultConst->SetPrimType(resultType); in FoldIntConstComparison()
331 resultConst->SetConstVal(constValue); in FoldIntConstComparison()
332 return resultConst; in FoldIntConstComparison()
416 ConstvalNode *resultConst = mirModule->CurFuncCodeMemPool()->New<ConstvalNode>(); in FoldIntConstBinary() local
417 resultConst->SetPrimType(resultType); in FoldIntConstBinary()
418 resultConst->SetConstVal(constValue); in FoldIntConstBinary()
419 return resultConst; in FoldIntConstBinary()
431 ConstvalNode *resultConst = mirModule->CurFuncCodeMemPool()->New<ConstvalNode>(); in FoldFPConstBinary() local
432 resultConst in FoldFPConstBinary()
613 MIRIntConst *resultConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(static_cast<uint64>(result), type); FoldFPConstComparisonMIRConst() local
621 ConstvalNode *resultConst = mirModule->CurFuncCodeMemPool()->New<ConstvalNode>(); FoldFPConstComparison() local
786 auto *resultConst = mirModule->CurFuncCodeMemPool()->New<ConstvalNode>(); FoldFPConstUnary() local
926 ConstvalNode *resultConst = mirModule->CurFuncCodeMemPool()->New<ConstvalNode>(); FoldCeil() local
1013 ConstvalNode *resultConst = mirModule->CurFuncCodeMemPool()->New<ConstvalNode>(); FoldFloor() local
1073 ConstvalNode *resultConst = mirModule->CurFuncCodeMemPool()->New<ConstvalNode>(); FoldRound() local
1081 ConstvalNode *resultConst = mirModule->CurFuncCodeMemPool()->New<ConstvalNode>(); FoldTrunc() local
1326 ConstvalNode *resultConst = mirModule->CurFuncCodeMemPool()->New<ConstvalNode>(); FoldSignExtend() local
[all...]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dconst_folding.cpp1065 bool resultConst {}; in ConstFoldingCompareFloatNan()
1070 resultConst = true; in ConstFoldingCompareFloatNan()
1078 resultConst = false; in ConstFoldingCompareFloatNan()
1083 inst->ReplaceUsers(ConstFoldingCompareCreateConst(inst, resultConst)); in ConstFoldingCompareFloatNan()

Completed in 4 milliseconds