Home
last modified time | relevance | path

Searched refs:bitSize (Results 1 - 25 of 26) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/mem/
H A Dgc_bitset.h51 size_t bitSize = AlignUp(heapSize, TAGGED_TYPE_SIZE) >> TAGGED_TYPE_SIZE_LOG; in SizeOfGCBitset() local
52 return AlignUp(AlignUp(bitSize, BIT_PER_BYTE) >> BIT_PER_BYTE_LOG2, BYTE_PER_WORD); in SizeOfGCBitset()
75 void Clear(size_t bitSize) in Clear() argument
78 uint32_t wordCount = static_cast<uint32_t>(WordCount(bitSize)); in Clear()
84 void SetAllBits(size_t bitSize) in SetAllBits() argument
87 uint32_t wordCount = static_cast<uint32_t>(WordCount(bitSize)); in SetAllBits()
131 void IterateMarkedBits(uintptr_t begin, size_t bitSize, Visitor visitor) in IterateMarkedBits() argument
134 uint32_t wordCount = WordCount(bitSize); in IterateMarkedBits()
151 void IterateMarkedBitsConst(uintptr_t begin, size_t bitSize, Visitor visitor) const
154 uint32_t wordCount = WordCount(bitSize);
[all...]
H A Dregion-inl.h27 auto bitSize = GCBitset::SizeOfGCBitset(GetCapacity()); in CreateRememberedSet() local
28 auto setAddr = nativeAreaAllocator_->Allocate(bitSize + RememberedSet::GCBITSET_DATA_OFFSET); in CreateRememberedSet()
29 auto ret = new (setAddr) RememberedSet(bitSize); in CreateRememberedSet()
/arkcompiler/ets_runtime/ecmascript/compiler/base/
H A Dbit_set.h33 explicit BitSet(Chunk* chunk, size_t bitSize) in BitSet() argument
35 wordCount_ = SizeOf(bitSize); in BitSet()
173 static size_t SizeOf(size_t bitSize) in SizeOf() argument
175 ASSERT(bitSize > 0); in SizeOf()
177 return ((bitSize - 1) >> BIT_PER_WORD_LOG2) + 1; in SizeOf()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_MPIsel.cpp522 uint32 bitSize = GetPrimTypeBitSize(primType); in GetTargetRetOperand() local
536 cgFunc->GetOpndBuilder()->CreatePReg(retReg, bitSize, cgFunc->GetRegTyFromPrimTy(primType)); in GetTargetRetOperand()
553 uint32 bitSize = GetPrimTypeBitSize(primType); in SelectMpy() local
557 X64MOP_t mOp = (bitSize == k64BitSize) ? x64::MOP_imulq_r_r in SelectMpy()
558 : (bitSize == k32BitSize) ? x64::MOP_imull_r_r in SelectMpy()
559 : (bitSize == k16BitSize) ? x64::MOP_imulw_r_r in SelectMpy()
566 X64MOP_t mOp = (bitSize == k64BitSize) ? x64::MOP_mulfd_r_r in SelectMpy()
567 : (bitSize == k32BitSize) ? x64::MOP_mulfs_r_r in SelectMpy()
610 uint32 bitSize = GetPrimTypeBitSize(primType); in SelectDivRem() local
613 cgFunc->GetOpndBuilder()->CreatePReg(x64::RAX, bitSize, cgFun in SelectDivRem()
645 uint32 bitSize = GetPrimTypeBitSize(primType); SelectDivRem() local
773 uint32 bitSize = GetPrimTypeBitSize(primType); SelectSelect() local
900 auto bitSize = GetPrimTypeBitSize(dtype); SelectSqrt() local
[all...]
H A Dx64_standardize.cpp126 uint32 bitSize = mOp == abstract::MOP_neg_f_32 ? k32BitSize : k64BitSize; in StdzFloatingNeg() local
130 RegOperand *tmpOperand0 = &cgFunc.GetOpndBuilder()->CreateVReg(bitSize, kRegTyInt); in StdzFloatingNeg()
139 ImmOperand &imm = cgFunc.GetOpndBuilder()->CreateImm(bitSize, (static_cast<int64>(1) << (bitSize - 1))); in StdzFloatingNeg()
H A Dx64_reg_info.cpp132 MemOperand *X64RegInfo::GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) in GetOrCreatSpillMem() argument
135 return x64CGFunc->GetOrCreatSpillMem(vrNum, bitSize); in GetOrCreatSpillMem()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_args.cpp93 uint32 bitSize = byteSize * kBitsPerByte; in MoveLocalRefVarToRefLocals() local
94 MemOperand &memOpnd = aarFunc->GetOrCreateMemOpnd(mirSym, 0, bitSize, true); in MoveLocalRefVarToRefLocals()
105 MemOperand &memOpnd1 = aarFunc->GetOrCreateMemOpnd(mirSym, 0, bitSize, false); in MoveLocalRefVarToRefLocals()
117 uint32 bitSize = byteSize * kBitsPerByte; in LoadStackArgsToVReg() local
118 MemOperand &memOpnd = aarFunc->GetOrCreateMemOpnd(mirSym, 0, bitSize); in LoadStackArgsToVReg()
H A Daarch64_reg_info.cpp102 MemOperand *AArch64RegInfo::GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) in GetOrCreatSpillMem() argument
105 return a64CGFunc->GetOrCreatSpillMem(vrNum, bitSize); in GetOrCreatSpillMem()
H A Daarch64_fixshortbranch.cpp139 ImmOperand &bitSize = aarch64CGFunc->CreateImmOperand(1, k8BitSize, false); in FixShortBranches() local
168 cgFunc->GetInsnBuilder()->BuildInsn(ubfxOp, tmp, reg, bitPos, bitSize)); in FixShortBranches()
H A Daarch64_cgfunc.cpp80 MOperator PickLdStInsn(bool isLoad, uint32 bitSize, PrimType primType) in PickLdStInsn() argument
82 DEBUG_ASSERT(bitSize >= k8BitSize, "PTY_u1 should have been lowered?"); in PickLdStInsn()
83 DEBUG_ASSERT(__builtin_popcount(bitSize) == 1, "PTY_u1 should have been lowered?"); in PickLdStInsn()
91 uint32 size = static_cast<uint32>(__builtin_ffs(static_cast<int32>(bitSize))) - k4BitSize; in PickLdStInsn()
92 DEBUG_ASSERT(size <= 3, "wrong bitSize"); // size must <= 3 in PickLdStInsn()
97 uint32 size = static_cast<uint32>(__builtin_ffs(static_cast<int32>(bitSize))) - k6BitSize; in PickLdStInsn()
122 MOperator AArch64CGFunc::PickLdInsn(uint32 bitSize, PrimType primType) const in PickLdInsn() argument
124 return PickLdStInsn(true, bitSize, primType); in PickLdInsn()
127 MOperator AArch64CGFunc::PickStInsn(uint32 bitSize, PrimType primType) const in PickStInsn() argument
129 return PickLdStInsn(false, bitSize, primTyp in PickStInsn()
946 uint32 bitSize = GetPrimTypeBitSize(destType); SelectIread() local
[all...]
H A Daarch64_peep.cpp1861 ImmOperand &bitSize = aarch64CGFunc->CreateImmOperand(1, k8BitSize, false); in Run() local
1862 Insn &ubfxInsn = cgFunc.GetInsnBuilder()->BuildInsn(ubfxOp, dstReg, srcReg, bitPos, bitSize); in Run()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Disel.cpp70 uint32 bitSize = GetPrimTypeBitSize(type); in GetFastIselMop() local
72 auto tableDriven = fastIselMappingTable.find(bitSize); in GetFastIselMop()
123 [](uint32 bitSize)->MOperator { \
128 return fastMapping_##TYPE[GetBitIndex(bitSize)]; \
132 [](uint32 bitSize)->MOperator { \
137 return fastMapping_f_##TYPE[GetBitIndex(bitSize)]; \
534 PrimType MPISel::GetIntegerPrimTypeFromSize(bool isSigned, uint32 bitSize) in GetIntegerPrimTypeFromSize() argument
538 BitIndex index = GetBitIndex(bitSize); in GetIntegerPrimTypeFromSize()
828 void MPISel::SelectExtractbits(RegOperand &resOpnd, RegOperand &opnd0, uint8 bitOffset, uint8 bitSize, in SelectExtractbits() argument
835 * resOpnd = opnd0 & ((1 << bitSize) in SelectExtractbits()
859 uint8 bitSize = node.GetBitsSize(); SelectExtractbits() local
1128 uint32 bitSize = GetPrimTypeBitSize(primType); SelectAbs() local
[all...]
H A Dcgfunc.cpp140 uint8 bitSize = node.GetBitsSize(); in HandleExtractBits() local
141 if (!CGOptions::IsBigEndian() && (bitSize == k8BitSize || bitSize == k16BitSize) && in HandleExtractBits()
H A Dreg_alloc_lsra.cpp1216 bool &isOutOfRange, uint32 bitSize) const in GetSpillMem()
1218 MemOperand *memOpnd = regInfo->GetOrCreatSpillMem(vRegNO, bitSize); in GetSpillMem()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
H A Dx64_isa_tbl.h117 static inline X64MOP_t GetCMovCCMop(maple::Opcode opcode, int32 bitSize, bool isSigned)
124 return iter->second[GetBitIndex(bitSize)];
H A Dx64_reg_info.h42 MemOperand *GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) override;
H A Dx64_cgfunc.h110 MemOperand *GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) override;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
H A Daarch64_reg_info.h139 MemOperand *GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) override;
H A Daarch64_cgfunc.h182 MemOperand *GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize = k64BitSize) override;
411 MOperator PickStInsn(uint32 bitSize, PrimType primType) const;
412 MOperator PickLdInsn(uint32 bitSize, PrimType primType) const;
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
H A Dbitmap.h453 size_t bitSize = heapSize / BYTESPERCHUNK;
454 return (AlignUp(bitSize, BITSPERWORD) >> Bitmap::LOG_BITSPERWORD) * sizeof(BitmapWordType);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Disa.h516 static inline BitIndex GetBitIndex(uint32 bitSize)
518 switch (bitSize) {
H A Disel.h131 PrimType GetIntegerPrimTypeFromSize(bool isSigned, uint32 bitSize);
154 void SelectExtractbits(RegOperand &resOpnd, RegOperand &opnd0, uint8 bitOffset, uint8 bitSize, PrimType primType);
H A Dreg_info.h259 virtual MemOperand *GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) = 0;
H A Dreg_alloc_lsra.h436 uint32 bitSize) const;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
H A Dconstantfold.cpp1184 // return a primType with bit size >= bitSize (and the nearest one),
1186 PrimType GetNearestSizePtyp(uint8 bitSize, PrimType ptyp) in GetNearestSizePtyp() argument
1190 if (bitSize == 1) { // 1 bit in GetNearestSizePtyp()
1193 if (bitSize <= 8) { // 8 bit in GetNearestSizePtyp()
1196 if (bitSize <= 16) { // 16 bit in GetNearestSizePtyp()
1199 if (bitSize <= 32) { // 32 bit in GetNearestSizePtyp()
1202 if (bitSize <= 64) { // 64 bit in GetNearestSizePtyp()

Completed in 32 milliseconds

12