Home
last modified time | relevance | path

Searched refs:GetPrimTypeBitSize (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Disel.cpp70 uint32 bitSize = GetPrimTypeBitSize(type); in GetFastIselMop()
796 uint32 bitSize = GetPrimTypeBitSize(primType); in SelectDassignoff()
813 … cgFunc->GetOpndBuilder()->CreateMem(lhsBaseOpnd, symbolInfo.offset, GetPrimTypeBitSize(memType)); in SelectIassign()
829 uint32 bitSize = GetPrimTypeBitSize(primType); in SelectIassignoff()
839 … return &cgFunc->GetOpndBuilder()->CreateImm(GetPrimTypeBitSize(primType), intConst.GetExtValue()); in SelectIntConst()
850 …&(cgFunc->GetOpndBuilder()->CreateVReg(GetPrimTypeBitSize(primType), cgFunc->GetRegTyFromPrimTy(pr… in SelectShift()
867 uint32 dsize = GetPrimTypeBitSize(opnd0Type); in SelectShift()
895GetPrimTypeBitSize(regType), cgFunc->GetRegTyFromPrimTy(regType)); in SelectRegassign()
977 …cgFunc->GetOpndBuilder()->CreateVReg(GetPrimTypeBitSize(primType), cgFunc->GetRegTyFromPrimTy(prim… in SelectDread()
991 …cgFunc->GetOpndBuilder()->CreateVReg(GetPrimTypeBitSize(primType), cgFunc->GetRegTyFromPrimTy(prim… in SelectAdd()
[all …]
Demit.cpp728 uint32 sizeInBits = GetPrimTypeBitSize(mirType.GetPrimType()); in EmitScalarConstant()
2657 uint32 sizeinbits = GetPrimTypeBitSize(mirConst->GetType().GetPrimType()); in EmitGlobalVariable()
Dcgfunc.cpp283 GetPrimTypeBitSize(node.GetPrimType()) != k64BitSize && in HandleExtractBits()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_MPIsel.cpp38 uint32 opndSz = (symType == PTY_agg) ? k64BitSize : GetPrimTypeBitSize(symType); in GetOrCreateMemOpndFromSymbol()
86 …RegOperand &retOpnd = cgFunc->GetOpndBuilder()->CreatePReg(retReg, GetPrimTypeBitSize(oriPrimType), in SelectReturn()
99 …RegOperand &retOpnd0 = cgFunc->GetOpndBuilder()->CreatePReg(retReg0, GetPrimTypeBitSize(oriPrimTyp… in SelectReturn()
101 … MemOperand &rhsMemOpnd0 = cgFunc->GetOpndBuilder()->CreateMem(GetPrimTypeBitSize(oriPrimType0)); in SelectReturn()
110 …RegOperand &retOpnd1 = cgFunc->GetOpndBuilder()->CreatePReg(retReg1, GetPrimTypeBitSize(oriPrimTyp… in SelectReturn()
112 … MemOperand &rhsMemOpnd1 = cgFunc->GetOpndBuilder()->CreateMem(GetPrimTypeBitSize(oriPrimType1)); in SelectReturn()
275 …perand &parmRegOpnd = cgFunc->GetOpndBuilder()->CreatePReg(ploc.reg0, GetPrimTypeBitSize(primType), in SelectParmList()
286 … cgFunc->GetOpndBuilder()->CreateMem(baseOpnd, ploc.memOffset, GetPrimTypeBitSize(primType)); in SelectParmList()
563 … MemOperand &rhsMemOpnd = cgFunc->GetOpndBuilder()->CreateMem(GetPrimTypeBitSize(retPrimType)); in SelectAggIassign()
569 … result[i] = &cgFunc->GetOpndBuilder()->CreatePReg(regNo, GetPrimTypeBitSize(retPrimType), in SelectAggIassign()
[all …]
Dx64_standardize.cpp170 if (countOpnd->GetSize() != GetPrimTypeBitSize(PTY_u8)) { in StdzShiftOp()
171 … = &cgFunc.GetOpndBuilder()->CreateVReg(countOpnd->GetRegisterNumber(), GetPrimTypeBitSize(PTY_u8), in StdzShiftOp()
175 …RegOperand &clOpnd = cgFunc.GetOpndBuilder()->CreatePReg(x64::RCX, GetPrimTypeBitSize(PTY_u8), kRe… in StdzShiftOp()
Dx64_args.cpp192 uint32 opndSize = GetPrimTypeBitSize(stype); in LoadStackArgsToVReg()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_cgfunc.cpp194 int32 sBitSize = static_cast<int32>(GetPrimTypeBitSize(stype)); in PickExtInsn()
195 int32 dBitSize = static_cast<int32>(GetPrimTypeBitSize(dtype)); in PickExtInsn()
265 uint32 ssize = isDirect ? src.GetSize() : GetPrimTypeBitSize(dtype); in SelectLoadAcquire()
266 uint32 dsize = GetPrimTypeBitSize(dtype); in SelectLoadAcquire()
327 uint32 dsize = isDirect ? dest.GetSize() : GetPrimTypeBitSize(stype); in SelectStoreRelease()
383 uint32 dsize = GetPrimTypeBitSize(dtype); in SelectCopyImm()
724 …GetOrCreateMemOpnd(MemOperand::kAddrModeBOi, GetPrimTypeBitSize(dtype), memOpnd->GetBaseRegister()… in SelectCopyRegOpnd()
742 uint32 dsize = GetPrimTypeBitSize(dtype); in SelectCopy()
1074 uint32 regSize = GetPrimTypeBitSize(rhsPType); in SelectDassign()
1087 uint32 dataSize = GetPrimTypeBitSize(type->GetPrimType()); in SelectDassign()
[all …]
Daarch64_args.cpp362 …= aarchCGFunc->GetInsnBuilder()->BuildInsn(aarchCGFunc->PickLdInsn(GetPrimTypeBitSize(stype), styp… in MoveLocalRefVarToRefLocals()
365 …= aarchCGFunc->GetInsnBuilder()->BuildInsn(aarchCGFunc->PickStInsn(GetPrimTypeBitSize(stype), styp… in MoveLocalRefVarToRefLocals()
381 …= aarchCGFunc->GetInsnBuilder()->BuildInsn(aarchCGFunc->PickLdInsn(GetPrimTypeBitSize(stype), styp… in LoadStackArgsToVReg()
Daarch64_color_ra.cpp161 uint32 dataSize = GetPrimTypeBitSize(symType); in IsRematerializable()
208 uint32 dataSize = GetPrimTypeBitSize(symType); in Rematerialize()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_isa_tbl.h41 switch (GetPrimTypeBitSize(primType)) { in GetCmpMop()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Dconstantfold.cpp151 …if ((!pair.second->GetSignBit() && pair.second->GetSXTValue(GetPrimTypeBitSize(resultType)) > 0) || in PairToExpr()
459 … result = intVal0.AShr(intVal1.GetZXTValue() % GetPrimTypeBitSize(resultType), resultType); in FoldIntConstBinaryMIRConst()
463 … result = intVal0.LShr(intVal1.GetZXTValue() % GetPrimTypeBitSize(resultType), resultType); in FoldIntConstBinaryMIRConst()
467 … result = intVal0.Shl(intVal1.GetZXTValue() % GetPrimTypeBitSize(resultType), resultType); in FoldIntConstBinaryMIRConst()
1262 uint32 fromSize = GetPrimTypeBitSize(fromType); in FoldTypeCvtMIRConst()
1263 uint32 toSize = GetPrimTypeBitSize(toType); in FoldTypeCvtMIRConst()
1289 if (GetPrimTypeBitSize(toType) < GetPrimTypeBitSize(fromType)) { in FoldTypeCvtMIRConst()
1290 … DEBUG_ASSERT(GetPrimTypeBitSize(toType) == 32, "We suppot F32 and F64"); // just support 32 or 64 in FoldTypeCvtMIRConst()
1297 … DEBUG_ASSERT(GetPrimTypeBitSize(toType) == 64, "We suppot F32 and F64"); // just support 32 or 64 in FoldTypeCvtMIRConst()
1680 auto rightShiftNumToGetSignFlag = GetPrimTypeBitSize(primType) - 1; in IntegerOpIsOverflow()
[all …]
Dsimplify.cpp620 constPrimType = GetIntegerPrimTypeBySizeAndSign(GetPrimTypeBitSize(primType), false); in ConstructConstvalNode()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
Dlower.cpp772 auto primTypeBitSize = GetPrimTypeBitSize(primType); in WriteBitField()
813 auto primTypeBitSize = GetPrimTypeBitSize(primType); in ReadBitField()
2569 (GetPrimTypeBitSize(sType) == GetPrimTypeBitSize(dType))) || in MergeToCvtType()
2578 (GetPrimTypeBitSize(sType) == GetPrimTypeBitSize(dType))) { in MergeToCvtType()
2581 if (GetPrimTypeBitSize(sType) >= GetPrimTypeBitSize(dType)) { in MergeToCvtType()
2586 } else if (GetPrimTypeBitSize(sType) > GetPrimTypeBitSize(dType)) { in MergeToCvtType()
2597 } else if (GetPrimTypeBitSize(sType) < GetPrimTypeBitSize(dType)) { in MergeToCvtType()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Disel.h128 uint32 typeBitSize = GetPrimTypeBitSize(primType); in SelectLiteral()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dmir_type.cpp1395 bitOfst = RoundUp(bitOfst, GetPrimTypeBitSize(bitfType->GetPrimType())); in GetSize()
1398 …if (RoundDown(bitOfst + bitfType->GetFieldSize() - 1, GetPrimTypeBitSize(bitfType->GetPrimType()))… in GetSize()
1399 RoundDown(bitOfst, GetPrimTypeBitSize(bitfType->GetPrimType()))) { in GetSize()
1400 bitOfst = RoundUp(bitOfst, GetPrimTypeBitSize(bitfType->GetPrimType())); in GetSize()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_cgfunc.h376 return CreateImmOperand(val, GetPrimTypeBitSize(ptyp), IsSignedInteger(ptyp)); in CreateImmOperand()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dmir_type.h77 inline uint32 GetPrimTypeBitSize(PrimType primType) in GetPrimTypeBitSize() function