Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
H A Dconstantfold.cpp1253 static bool IsCvtEliminatable(PrimType fromPtyp, PrimType destPtyp, Opcode op, Opcode opndOp) in IsCvtEliminatable() argument
1258 if (GetPrimTypeSize(fromPtyp) != GetPrimTypeSize(destPtyp)) { in IsCvtEliminatable()
1261 return (IsPossible64BitAddress(fromPtyp) && IsPossible64BitAddress(destPtyp)) || in IsCvtEliminatable()
1262 (IsPossible32BitAddress(fromPtyp) && IsPossible32BitAddress(destPtyp)) || in IsCvtEliminatable()
1263 (IsPrimitivePureScalar(fromPtyp) && IsPrimitivePureScalar(destPtyp)); in IsCvtEliminatable()
1276 PrimType fromPtyp = node->FromType(); in FoldTypeCvt() local
1280 result = FoldCeil(*cst, fromPtyp, destPtyp); in FoldTypeCvt()
1284 result = FoldTypeCvt(*cst, fromPtyp, destPtyp); in FoldTypeCvt()
1288 result = FoldFloor(*cst, fromPtyp, destPtyp); in FoldTypeCvt()
1292 result = FoldTrunc(*cst, fromPtyp, destPty in FoldTypeCvt()
[all...]

Completed in 3 milliseconds