/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | gc_bitset.h | 51 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 D | region-inl.h | 27 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 D | bit_set.h | 33 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 D | x64_MPIsel.cpp | 522 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 D | x64_standardize.cpp | 126 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 D | x64_reg_info.cpp | 132 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 D | aarch64_args.cpp | 93 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 D | aarch64_reg_info.cpp | 102 MemOperand *AArch64RegInfo::GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) in GetOrCreatSpillMem() argument 105 return a64CGFunc->GetOrCreatSpillMem(vrNum, bitSize); in GetOrCreatSpillMem()
|
H A D | aarch64_fixshortbranch.cpp | 139 ImmOperand &bitSize = aarch64CGFunc->CreateImmOperand(1, k8BitSize, false); in FixShortBranches() local 168 cgFunc->GetInsnBuilder()->BuildInsn(ubfxOp, tmp, reg, bitPos, bitSize)); in FixShortBranches()
|
H A D | aarch64_cgfunc.cpp | 80 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 D | aarch64_peep.cpp | 1861 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 D | isel.cpp | 70 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 D | cgfunc.cpp | 140 uint8 bitSize = node.GetBitsSize(); in HandleExtractBits() local 141 if (!CGOptions::IsBigEndian() && (bitSize == k8BitSize || bitSize == k16BitSize) && in HandleExtractBits()
|
H A D | reg_alloc_lsra.cpp | 1216 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 D | x64_isa_tbl.h | 117 static inline X64MOP_t GetCMovCCMop(maple::Opcode opcode, int32 bitSize, bool isSigned) 124 return iter->second[GetBitIndex(bitSize)];
|
H A D | x64_reg_info.h | 42 MemOperand *GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) override;
|
H A D | x64_cgfunc.h | 110 MemOperand *GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) override;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
H A D | aarch64_reg_info.h | 139 MemOperand *GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) override;
|
H A D | aarch64_cgfunc.h | 182 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 D | bitmap.h | 453 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 D | isa.h | 516 static inline BitIndex GetBitIndex(uint32 bitSize) 518 switch (bitSize) {
|
H A D | isel.h | 131 PrimType GetIntegerPrimTypeFromSize(bool isSigned, uint32 bitSize); 154 void SelectExtractbits(RegOperand &resOpnd, RegOperand &opnd0, uint8 bitOffset, uint8 bitSize, PrimType primType);
|
H A D | reg_info.h | 259 virtual MemOperand *GetOrCreatSpillMem(regno_t vrNum, uint32 bitSize) = 0;
|
H A D | reg_alloc_lsra.h | 436 uint32 bitSize) const;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/ |
H A D | constantfold.cpp | 1184 // 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()
|