Home
last modified time | relevance | path

Searched refs:GetOrCreateIntConst (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Dconstantfold.cpp407 constValue = GlobalTables::GetIntConstTable().GetOrCreateIntConst(0, type); in FoldIntConstComparisonMIRConst()
410 constValue = GlobalTables::GetIntConstTable().GetOrCreateIntConst(result, type); in FoldIntConstComparisonMIRConst()
514 constValue = GlobalTables::GetIntConstTable().GetOrCreateIntConst(0, type); in FoldIntConstBinaryMIRConst()
517 … constValue = GlobalTables::GetIntConstTable().GetOrCreateIntConst(result.GetExtValue(), type); in FoldIntConstBinaryMIRConst()
737 MIRIntConst *resultConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(result, type); in FoldFPConstComparisonMIRConst()
878 constValue = GlobalTables::GetIntConstTable().GetOrCreateIntConst(0, type); in FoldIntConstUnary()
881 … constValue = GlobalTables::GetIntConstTable().GetOrCreateIntConst(result.GetExtValue(), type); in FoldIntConstUnary()
961 …constValueNode->SetConstVal(GlobalTables::GetIntConstTable().GetOrCreateIntConst(size, resultType)… in FoldSizeoftype()
1099 … GlobalTables::GetIntConstTable().GetOrCreateIntConst(static_cast<int64>(floatValue), resultType)); in FoldCeil()
1108 …GlobalTables::GetIntConstTable().GetOrCreateIntConst(static_cast<int64>(doubleValue), resultType)); in FoldCeil()
[all …]
Dsimplify.cpp78 return GlobalTables::GetIntConstTable().GetOrCreateIntConst(val, fieldCst->GetType()); in TruncateUnionConstant()
623 MIRConst *mirConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(val, *constType); in ConstructConstvalNode()
1378 … GlobalTables::GetIntConstTable().GetOrCreateIntConst(static_cast<int64>(i), *u32Type)); in ExpandMemcpy()
1413 …MIRConst *mirConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(errorNumber, *constType); in GenMemopRetAssign()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dglobal_tables.cpp342 MIRIntConst *IntConstTable::GetOrCreateIntConst(const IntVal &val, MIRType &type) in GetOrCreateIntConst() function in maple::IntConstTable
350 MIRIntConst *IntConstTable::GetOrCreateIntConst(uint64 val, MIRType &type) in GetOrCreateIntConst() function in maple::IntConstTable
Dmir_builder.cpp24 … GlobalTables::GetIntConstTable().GetOrCreateIntConst(constValue, *sType.GetElemType(fieldID - 1)); in AddIntFieldConst()
45 …fieldConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(0, *structType.GetElemType(field… in AddAddroffuncFieldConst()
546 …GlobalTables::GetIntConstTable().GetOrCreateIntConst(val, *GlobalTables::GetTypeTable().GetPrimTyp… in CreateIntConst()
574 …GlobalTables::GetIntConstTable().GetOrCreateIntConst(val, *GlobalTables::GetTypeTable().GetInt64()… in GetConstInt()
Dmir_lower.cpp724 …MIRIntConst *eleConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(eleOffset, arrayType); in LowerFarray()
Dmir_parser.cpp1842 … MIRIntConst *intConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(2, *intType); in ParseNaryStmt()
3308 stype = GlobalTables::GetIntConstTable().GetOrCreateIntConst(lexer.GetTheIntVal(), type); in ParseScalarValue()
Dbin_mpl_import.cpp120 return GlobalTables::GetIntConstTable().GetOrCreateIntConst(ReadNum(), *type); in ImportConst()
Dmir_nodes.cpp619 …GlobalTables::GetIntConstTable().GetOrCreateIntConst(i, *tt.GetTypeFromTyIdx(arrayType->GetElemTyI… in GetDim()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/src/
Dcast_opt.cpp358 auto *zero = GlobalTables::GetIntConstTable().GetOrCreateIntConst(0, *fromMIRType); in TransformCvtU1ToNe()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
Dlower.cpp198 MIRIntConst *offsetConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst( in LowerIaddrof()
440 …MIRIntConst *eleConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(eleOffset, arrayType); in LowerFarray()
458 …MIRIntConst *eConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(idx * eSize, arrayType); in LowerFarray()
463 … GlobalTables::GetIntConstTable().GetOrCreateIntConst(static_cast<int64>(eSize), arrayType); in LowerFarray()
476 MIRIntConst *arrayHeaderNode = GlobalTables::GetIntConstTable().GetOrCreateIntConst( in LowerFarray()
581 …MIRIntConst *eConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(idx * eSize, arrayTypes… in LowerArray()
589 … GlobalTables::GetIntConstTable().GetOrCreateIntConst(static_cast<int64>(eSize), arrayTypes); in LowerArray()
2609 MIRIntConst *arrayHeaderNode = GlobalTables::GetIntConstTable().GetOrCreateIntConst( in GetLenNode()
2714 auto *zero = GlobalTables::GetIntConstTable().GetOrCreateIntConst(0, *fromMIRType); in LowerExpr()
2935 MIRConst *constVal = GlobalTables::GetIntConstTable().GetOrCreateIntConst(0, type); in LowerResetStmt()
[all …]
Dswitch_lowerer.cpp142 …MIRConst *constVal = GlobalTables::GetIntConstTable().GetOrCreateIntConst(stmt->GetCasePair(idx).f… in BuildCmpNode()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dglobal_tables.h746 MIRIntConst *GetOrCreateIntConst(const IntVal &val, MIRType &type);
747 MIRIntConst *GetOrCreateIntConst(uint64 val, MIRType &type);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Demit.cpp1397 …elemConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst(index >> 2, elemConst->GetType()); in EmitIntConst()
1813 … MIRIntConst *zeroFill = GlobalTables::GetIntConstTable().GetOrCreateIntConst(0, *elemType); in EmitStructConstant()
2138 tabConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst( in MarkVtabOrItabEndFlag()
2142 tabConst = GlobalTables::GetIntConstTable().GetOrCreateIntConst( in MarkVtabOrItabEndFlag()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/
Dlmir_builder.cpp423 return *GlobalTables::GetIntConstTable().GetOrCreateIntConst(val, *type); in CreateIntConst()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_emitter.cpp1644 … MIRIntConst *zeroFill = GlobalTables::GetIntConstTable().GetOrCreateIntConst(0, *elemType); in EmitStructure()