| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | isel.cpp | 70 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() 895 … GetPrimTypeBitSize(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 …]
|
| D | emit.cpp | 728 uint32 sizeInBits = GetPrimTypeBitSize(mirType.GetPrimType()); in EmitScalarConstant() 2657 uint32 sizeinbits = GetPrimTypeBitSize(mirConst->GetType().GetPrimType()); in EmitGlobalVariable()
|
| D | cgfunc.cpp | 283 GetPrimTypeBitSize(node.GetPrimType()) != k64BitSize && in HandleExtractBits()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
| D | x64_MPIsel.cpp | 38 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 …]
|
| D | x64_standardize.cpp | 170 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()
|
| D | x64_args.cpp | 192 uint32 opndSize = GetPrimTypeBitSize(stype); in LoadStackArgsToVReg()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_cgfunc.cpp | 194 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 …]
|
| D | aarch64_args.cpp | 362 …= 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()
|
| D | aarch64_color_ra.cpp | 161 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/ |
| D | x64_isa_tbl.h | 41 switch (GetPrimTypeBitSize(primType)) { in GetCmpMop()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/ |
| D | constantfold.cpp | 151 …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 …]
|
| D | simplify.cpp | 620 constPrimType = GetIntegerPrimTypeBySizeAndSign(GetPrimTypeBitSize(primType), false); in ConstructConstvalNode()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
| D | lower.cpp | 772 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/ |
| D | isel.h | 128 uint32 typeBitSize = GetPrimTypeBitSize(primType); in SelectLiteral()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
| D | mir_type.cpp | 1395 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/ |
| D | aarch64_cgfunc.h | 376 return CreateImmOperand(val, GetPrimTypeBitSize(ptyp), IsSignedInteger(ptyp)); in CreateImmOperand()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | mir_type.h | 77 inline uint32 GetPrimTypeBitSize(PrimType primType) in GetPrimTypeBitSize() function
|