Home
last modified time | relevance | path

Searched refs:IsPrimitiveInteger (Results 1 – 21 of 21) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/src/
Dcast_opt.cpp35 if (IsPrimitiveInteger(fromType) && IsPrimitiveInteger(toType)) { in GetCastKindByTwoType()
55 if (IsPrimitiveInteger(fromType) && IsPrimitiveFloat(toType)) { in GetCastKindByTwoType()
59 if (IsPrimitiveFloat(fromType) && IsPrimitiveInteger(toType)) { in GetCastKindByTwoType()
170 if (IsPrimitiveInteger(srcType) && IsPrimitiveInteger(dstType) && in DoComputeCastInfo()
238 if (IsPrimitiveInteger(dstType)) { in IsEliminableCastPair()
250 if (IsPrimitiveInteger(srcType)) { in IsEliminableCastPair()
263 if (IsPrimitiveInteger(srcType) && dstSize >= midSize1) { in IsEliminableCastPair()
328 if (IsPrimitiveInteger(srcType)) { in IsEliminableCastPair()
420 if (IsPrimitiveInteger(castInfo.dstType) && IsCompareOp(opndOp)) { in SimplifyCastSingle()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Dext_constantfold.cpp178 (IsPrimitiveInteger(bNode->Opnd(1)->GetPrimType()))) { in ExtFoldIor()
243 …(IsPrimitiveInteger(lnode->Opnd(0)->Opnd(1)->GetPrimType())) && (lnode->Opnd(1)->GetOpCode() == OP… in ExtFoldXand()
244 … (IsPrimitiveInteger(lnode->Opnd(1)->GetPrimType())) && (rnode->Opnd(0)->GetOpCode() == OP_band) && in ExtFoldXand()
246 …(IsPrimitiveInteger(rnode->Opnd(0)->Opnd(1)->GetPrimType())) && (rnode->Opnd(1)->GetOpCode() == OP… in ExtFoldXand()
247 (IsPrimitiveInteger(rnode->Opnd(1)->GetPrimType())) && in ExtFoldXand()
Djava_eh_lower.cpp45 if (!IsPrimitiveInteger(ptype)) { in DoLowerDiv()
198 … CHECK_FATAL(IsPrimitiveInteger(opnd0->GetPrimType()), "must be integer or something wrong"); in DoLowerBlock()
Dconstantfold.cpp756 if (IsPrimitiveInteger(opndType) || IsPrimitiveDynInteger(opndType)) { in FoldConstComparisonMIRConst()
774 if (IsPrimitiveInteger(opndType) || IsPrimitiveDynInteger(opndType)) { in FoldConstComparison()
826 if (IsPrimitiveInteger(resultType) || IsPrimitiveDynInteger(resultType)) { in FoldConstBinary()
938 if (IsPrimitiveInteger(resultType) || IsPrimitiveDynInteger(resultType)) { in FoldConstUnary()
1005 bool isInt = IsPrimitiveInteger(node->GetPrimType()); in FoldUnary()
1185 } else if (toType == PTY_f32 && IsPrimitiveInteger(fromType)) { in FoldRoundMIRConst()
1200 } else if (toType == PTY_f64 && IsPrimitiveInteger(fromType)) { in FoldRoundMIRConst()
1260 if (IsPrimitiveInteger(fromType) && IsPrimitiveInteger(toType)) { in FoldTypeCvtMIRConst()
1306 if (IsPrimitiveFloat(fromType) && IsPrimitiveInteger(toType)) { in FoldTypeCvtMIRConst()
1309 if (IsPrimitiveInteger(fromType) && IsPrimitiveFloat(toType)) { in FoldTypeCvtMIRConst()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Disel.cpp71 bool isInteger = IsPrimitiveInteger(type); in GetFastIselMop()
480 …if ((IsPrimitiveInteger(targetPtyp) || IsPrimitiveFloat(targetPtyp)) && targetPtyp != expr.GetPrim… in HandleCmp()
848 if (IsPrimitiveInteger(primType)) { in SelectShift()
1054 if (IsPrimitiveInteger(toType)) { in SelectExtractbits()
1079 if (IsPrimitiveInteger(toType) && IsPrimitiveInteger(fromType)) { in SelectCvt()
1081 } else if (IsPrimitiveFloat(toType) && IsPrimitiveInteger(fromType)) { in SelectCvt()
1085 } else if (IsPrimitiveInteger(toType) && IsPrimitiveFloat(fromType)) { in SelectCvt()
1196 if (IsPrimitiveInteger(primType)) { in SelectSub()
1209 if (IsPrimitiveInteger(primType)) { in SelectBand()
1222 if (IsPrimitiveInteger(primType)) { in SelectAdd()
[all …]
Dpeep.cpp270 } else if (IsPrimitiveInteger(returnType)) { in CheckRegLiveinReturnBB()
490 } else if (IsPrimitiveInteger(returnType)) { in CheckRegLiveinReturnBB()
Dreaching.cpp921 } else if (IsPrimitiveInteger(returnType)) { in CheckRegLiveinReturnBB()
Dcgfunc.cpp413 if (IsPrimitiveInteger(targetPtyp) && targetPtyp != expr.GetPrimType()) { in HandleCmp()
1293 if (IsPrimitiveInteger(primType)) { in HandleCondbr()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_live.cpp28 } else if (IsPrimitiveInteger(returnType)) { in GenerateReturnBBDefUse()
Daarch64_cgfunc.cpp113 if ((IsPrimitiveInteger(primType) || primType == PTY_agg) && !IsPrimitiveVector(primType)) { in PickLdStInsn()
197 if (IsPrimitiveInteger(stype) && IsPrimitiveInteger(dtype)) { in PickExtInsn()
222 if (IsPrimitiveInteger(destType) && IsPrimitiveInteger(srcType)) { in PickMovBetweenRegs()
228 if (IsPrimitiveInteger(destType) && IsPrimitiveFloat(srcType)) { in PickMovBetweenRegs()
231 if (IsPrimitiveFloat(destType) && IsPrimitiveInteger(srcType)) { in PickMovBetweenRegs()
234 if (IsPrimitiveInteger(destType) && IsPrimitiveVector(srcType)) { in PickMovBetweenRegs()
372 if (IsPrimitiveInteger(dType) != IsPrimitiveInteger(sType)) { in SelectCopyImm()
384 DEBUG_ASSERT(IsPrimitiveInteger(dtype), "The type of destination operand must be Integer"); in SelectCopyImm()
1076 …Operand &stOpnd = LoadIntoRegister(opnd0, IsPrimitiveInteger(rhsPType) || IsPrimitiveVectorInteger… in SelectDassign()
1195 } else if (IsPrimitiveInteger(pType)) { in GetRegPrefixFromPrimType()
[all …]
Daarch64_regsaves.cpp95 } else if (IsPrimitiveInteger(returnType)) { in GenerateReturnBBDefUse()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/
Dorig_symbol.h290 if (IsPrimitiveInteger(mirtype->GetPrimType()) && (mirtype->GetKind() != kTypeBitField)) { in IsIVCandidate()
293 return IsPrimitiveInteger(GetMIRSymbol()->GetType()->GetPrimType()); in IsIVCandidate()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dmir_const.h129 IsPrimitiveInteger(pType) && GetPrimTypeActualBitSize(pType) <= value.GetBitWidth(), in MIRIntConst()
Dmir_type.h142 inline bool IsPrimitiveInteger(PrimitiveType primitiveType) in IsPrimitiveInteger() function
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
Dmpl_int_val.h37 DEBUG_ASSERT(IsPrimitiveInteger(type), "Type must be integral"); in IntVal()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
Dlower.cpp1249 if (is64x1vec && IsPrimitiveInteger(mirPreg->GetPrimType())) { // not f64 in GenBlockNode()
2562 CHECK_FATAL(IsPrimitiveInteger(dType) || IsPrimitiveFloat(dType), in MergeToCvtType()
2564 CHECK_FATAL(IsPrimitiveInteger(sType) || IsPrimitiveFloat(sType), in MergeToCvtType()
2568 (IsPrimitiveInteger(sType) && IsPrimitiveFloat(dType) && in MergeToCvtType()
2570 (IsPrimitiveInteger(sType) && IsPrimitiveInteger(dType)), in MergeToCvtType()
2577 if (IsPrimitiveInteger(sType) && IsPrimitiveFloat(dType) && in MergeToCvtType()
2580 } else if (IsPrimitiveInteger(sType) && IsPrimitiveInteger(dType)) { in MergeToCvtType()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dmir_parser.cpp624 if (!IsPrimitiveInteger(expr->GetPrimType())) { in ParseStmtSwitch()
672 if (!IsPrimitiveInteger(expr->GetPrimType())) { in ParseStmtRangegoto()
2683 if (!IsPrimitiveInteger(ptyp)) { in ParseExprDepositbits()
3073 if (!IsPrimitiveInteger(ptyp)) { in ParseExprExtractbits()
3303 if (IsPrimitiveInteger(ptp) || IsPrimitiveDynType(ptp) || ptp == PTY_gen) { in ParseScalarValue()
Dmir_nodes.cpp1757 bool verifyResult = IsPrimitiveInteger(pType); in CompareTypeVerify()
1962 if (!IsPrimitiveInteger(GetPrimType())) { in Verify()
2400 bool opnd0TypeVerf = IsPrimitiveInteger(topnd[kFirstOpnd]->GetPrimType()); in Verify()
2539 if (!IsPrimitiveInteger(UnaryStmtNode::Opnd(0)->GetPrimType())) { in Verify()
Dmir_lower.cpp851 if (!IsPrimitiveInteger(resNode->GetPrimType())) { in LowerCArray()
892 if (!IsPrimitiveInteger(resNode->GetPrimType())) { in LowerCArray()
Dparser.cpp355 if (!IsPrimitiveInteger(primType)) { in ParseBitFieldType()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_MPIsel.cpp1357 if (IsPrimitiveInteger(primType)) { in SelectCmp()
1464 if (IsPrimitiveInteger(primType)) { in SelectMinOrMax()