| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.h | 53 virtual uint32_t getSize() { return BTF::CommonTypeSize; } in getSize() function 95 uint32_t getSize() override { return BTFTypeBase::getSize() + sizeof(uint32_t); } in getSize() function 107 uint32_t getSize() override { in getSize() function 108 return BTFTypeBase::getSize() + EnumValues.size() * BTF::BTFEnumSize; in getSize() 120 uint32_t getSize() override { return BTFTypeBase::getSize() + BTF::BTFArraySize; } in getSize() function 134 uint32_t getSize() override { in getSize() function 135 return BTFTypeBase::getSize() + Members.size() * BTF::BTFMemberSize; in getSize() 151 uint32_t getSize() override { in getSize() function 152 return BTFTypeBase::getSize() + Parameters.size() * BTF::BTFParamSize; in getSize() 164 uint32_t getSize() override { return BTFTypeBase::getSize(); } in getSize() function [all …]
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | SyntheticSections.h | 57 size_t getSize() const override { return size; } in getSize() function 108 size_t getSize() const override { return size; } in getSize() function 150 size_t getSize() const override { return 0; } in getSize() function 157 size_t getSize() const override; 169 size_t getSize() const override { return headerSize + hashSize; } in getSize() function 185 size_t getSize() const override { return size; } in getSize() function 197 size_t getSize() const override { return size; } in getSize() function 374 size_t getSize() const override; 394 size_t getSize() const override; 407 size_t getSize() const override { return size; } in getSize() function [all …]
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | Chunks.h | 68 size_t getSize() const; 163 virtual size_t getSize() const = 0; 253 size_t getSize() const { return header->SizeOfRawData; } in getSize() function 424 inline size_t Chunk::getSize() const { in getSize() function 426 return static_cast<const SectionChunk *>(this)->getSize(); in getSize() 427 return static_cast<const NonSectionChunk *>(this)->getSize(); in getSize() 505 size_t getSize() const override; 519 size_t getSize() const override { return sym.getValue(); } in getSize() function 531 size_t getSize() const override { return str.size() + 1; } in getSize() function 582 size_t getSize() const override { return sizeof(importThunkX86); } in getSize() function [all …]
|
| H A D | DLL.cpp | 44 size_t getSize() const override { in getSize() function in lld::coff::__anon0bfb8df40111::HintNameChunk 51 memset(buf, 0, getSize()); in writeTo() 68 size_t getSize() const override { return ctx.config.wordsize; } in getSize() function in lld::coff::__anon0bfb8df40111::LookupChunk 92 size_t getSize() const override { return ctx.config.wordsize; } in getSize() function in lld::coff::__anon0bfb8df40111::OrdinalOnlyChunk 114 size_t getSize() const override { return sizeof(ImportDirectoryTableEntry); } in getSize() function in lld::coff::__anon0bfb8df40111::ImportDirectoryChunk 117 memset(buf, 0, getSize()); in writeTo() 141 size_t getSize() const override { return size; } in getSize() function in lld::coff::__anon0bfb8df40111::NullChunk 157 size_t getSize() const override { return sizeof(uint64_t); } in getSize() function in lld::coff::__anon0bfb8df40111::AuxImportChunk 216 size_t getSize() const override { in getSize() function in lld::coff::__anon0bfb8df40111::DelayDirectoryChunk 221 memset(buf, 0, getSize()); in writeTo() [all …]
|
| H A D | Chunks.cpp | 412 size_t inputSize = getSize(); in writeTo() 818 write32le(buf + 2, impSymbol->getRVA() - rva - getSize()); in writeTo() 855 size_t RangeExtensionThunkARM::getSize() const { in getSize() function in lld::coff::RangeExtensionThunkARM 876 size_t RangeExtensionThunkARM64::getSize() const { return sizeof(arm64Thunk); } in getSize() function in lld::coff::RangeExtensionThunkARM64 893 size_t LocalImportChunk::getSize() const { return ctx.config.wordsize; } in getSize() function in lld::coff::LocalImportChunk 934 size_t ECCodeMapChunk::getSize() const { in getSize() function in lld::coff::ECCodeMapChunk 944 table[i].Length = entry.last->getRVA() + entry.last->getSize() - start; in writeTo() 949 size_t PseudoRelocTableChunk::getSize() const { in getSize() function in lld::coff::PseudoRelocTableChunk 1074 size_t MergeChunk::getSize() const { in getSize() function in lld::coff::MergeChunk 1075 return builder.getSize(); in getSize() [all …]
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | Writer.cpp | 94 uint32_t getSize() const override { return sizeof(dyld_info_command); } in getSize() function in __anoneb56ad3f0111::LCDyldInfo 99 c->cmdsize = getSize(); in writeTo() 133 uint32_t getSize() const override { in getSize() function in __anoneb56ad3f0111::LCSubFramework 143 c->cmdsize = getSize(); in writeTo() 159 uint32_t getSize() const override { return sizeof(linkedit_data_command); } in getSize() function in __anoneb56ad3f0111::LCFunctionStarts 164 c->cmdsize = getSize(); in writeTo() 178 uint32_t getSize() const override { return sizeof(linkedit_data_command); } in getSize() function in __anoneb56ad3f0111::LCDataInCode 183 c->cmdsize = getSize(); in writeTo() 199 uint32_t getSize() const override { return sizeof(dysymtab_command); } in getSize() function in __anoneb56ad3f0111::LCDysymtab 204 c->cmdsize = getSize(); in writeTo() [all …]
|
| H A D | ConcatOutputSection.cpp | 127 isecAddr = alignToPowerOf2(isecAddr, isec->align) + isec->getSize(); in needsThunks() 136 uint64_t branchTargetsSize = in.stubs->getSize(); in needsThunks() 140 branchTargetsSize += in.objcStubs->getSize(); in needsThunks() 192 isecEnd = alignToPowerOf2(isecEnd, isec->align) + isec->getSize(); in estimateBranchTargetThresholdVA() 229 branchTargetsSize += in.stubs->getSize(); in estimateBranchTargetThresholdVA() 233 branchTargetsSize += in.objcStubs->getSize(); in estimateBranchTargetThresholdVA() 245 ", stubs = " + std::to_string(in.stubs->getSize()) + in estimateBranchTargetThresholdVA() 247 ? ", objc_stubs = " + std::to_string(in.objcStubs->getSize()) in estimateBranchTargetThresholdVA() 261 size += isec->getSize(); in finalizeOne() 313 inputs[finalIdx]->getSize(); in finalize()
|
| H A D | SyntheticSections.h | 82 uint64_t getSize() const final { return llvm::alignTo(getRawSize(), align); } in getSize() function 90 uint64_t getSize() const override; 107 uint64_t getSize() const override { return target->pageZeroSize; } in getSize() function 121 uint64_t getSize() const override { in getSize() function 283 uint64_t getSize() const override; 309 uint64_t getSize() const override; 342 uint64_t getSize() const override; 362 uint64_t getSize() const override; 557 uint64_t getSize() const override { return size; } in getSize() function 571 uint64_t getSize() const override { return size; } in getSize() function [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | DirectX.cpp | 30 Value *AX = Builder.CreateExtractElement(A, Builder.getSize(0)); in EmitDirectXBuiltinExpr() 31 Value *AY = Builder.CreateExtractElement(A, Builder.getSize(1)); in EmitDirectXBuiltinExpr() 32 Value *BX = Builder.CreateExtractElement(B, Builder.getSize(0)); in EmitDirectXBuiltinExpr() 33 Value *BY = Builder.CreateExtractElement(B, Builder.getSize(1)); in EmitDirectXBuiltinExpr()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ArrayRecycler.h | 49 __asan_unpoison_memory_region(Entry, Capacity::get(Idx).getSize()); in pop() 51 __msan_allocated_memory(Entry, Capacity::get(Idx).getSize()); in pop() 63 __asan_poison_memory_region(Ptr, Capacity::get(Idx).getSize()); in push() 84 size_t getSize() const { return size_t(1u) << Index; } in getSize() function 130 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | quarantine.h | 71 uptr getSize() const { return atomic_load_relaxed(&Size); } in getSize() function 90 addToSize(From->getSize()); in transfer() 163 void addToSize(uptr add) { atomic_store_relaxed(&Size, getSize() + add); } in addToSize() 164 void subFromSize(uptr sub) { atomic_store_relaxed(&Size, getSize() - sub); } in subFromSize() 198 return Cache.getSize() == 0U; in isEmpty() 203 if (C->getSize() > getCacheSize()) in put() 212 needRecycle = Cache.getSize() > getMaxSize(); in drain() 267 const uptr CacheSize = Cache.getSize(); in recycle() 281 while (Cache.getSize() > MinSize) in recycle()
|
| H A D | list.h | 38 uptr getSize() const { return 0; } in getSize() function 63 LinkTy getSize() const { return Size; } in getSize() function 149 return Iterator(LinkOp<T>(this->getBase(), this->getSize()), First); in begin() 152 return Iterator(LinkOp<T>(this->getBase(), this->getSize()), nullptr); in end() 156 return ConstIterator(LinkOp<const T>(this->getBase(), this->getSize()), in begin() 160 return ConstIterator(LinkOp<const T>(this->getBase(), this->getSize()), in end()
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOUniversal.cpp | 169 bigSize += A.getSize(); in MachOUniversalBinary() 213 A.getOffset() < B.getOffset() + B.getSize()) || in MachOUniversalBinary() 214 (A.getOffset() + A.getSize() > B.getOffset() && in MachOUniversalBinary() 215 A.getOffset() + A.getSize() < B.getOffset() + B.getSize()) || in MachOUniversalBinary() 217 A.getOffset() + A.getSize() >= B.getOffset() + B.getSize())) { in MachOUniversalBinary() 221 Twine(A.getSize()) + ", overlaps cputype (" + Twine(B.getCPUType()) + in MachOUniversalBinary() 224 + Twine(B.getSize())); in MachOUniversalBinary()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | CompactUnwindSupport.cpp | 37 if (B->getSize() == 0) { in splitCompactUnwindBlocks() 45 unsigned NumBlocks = B->getSize() / RecordSize; in splitCompactUnwindBlocks() 52 if (B->getSize() % RecordSize) in splitCompactUnwindBlocks() 56 formatv("{0:x}", B->getSize()) + in splitCompactUnwindBlocks()
|
| H A D | JITLink.cpp | 98 if (B.getSize() == 0) // Empty blocks are not valid C-strings. in isCStringBlock() 103 return B.getSize() == 1; in isCStringBlock() 105 for (size_t I = 0; I != B.getSize() - 1; ++I) in isCStringBlock() 109 return B.getContent()[B.getSize() - 1] == '\0'; in isCStringBlock() 113 return OS << B.getAddress() << " -- " << (B.getAddress() + B.getSize()) in operator <<() 115 << "size = " << formatv("{0:x8}", B.getSize()) << ", " in operator <<() 125 << "): size: " << formatv("{0:x8}", Sym.getSize()) in operator <<() 219 if (Sym.getSize() > B.getSize()) in splitBlockImpl() 220 Sym.setSize(B.getSize() - Sym.getOffset()); in splitBlockImpl() 323 << " size = " << formatv("{0:x8}", B->getSize()) in dump()
|
| H A D | JITLinkMemoryManager.cpp | 47 return LHS->getSize() < RHS->getSize(); in BasicLayout() 59 Seg.ContentSize += B->getSize(); in BasicLayout() 66 SegEndOffset += B->getSize(); in BasicLayout() 116 Seg.Addr += B->getSize(); in apply() 121 B->getSize()); in apply() 123 {Seg.WorkingMem + Seg.NextWorkingMemOffset, B->getSize()}); in apply() 124 Seg.NextWorkingMemOffset += B->getSize(); in apply() 132 Seg.Addr += B->getSize(); in apply()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 152 (unsigned)Context.toBits(getSize(Type)))); in getStorageType() 161 CharUnits getSize(llvm::Type *Type) const { in getSize() function 283 CharUnits Size = NVBaseType ? Layout.getNonVirtualSize() : Layout.getSize(); in lower() 315 isNonVirtualBaseType ? Layout.getDataSize() : Layout.getSize(); in lowerUnion() 328 if (LayoutSize < getSize(FieldType)) in lowerUnion() 358 getSize(FieldType) > getSize(StorageType))) in lowerUnion() 366 if (LayoutSize < getSize(StorageType)) in lowerUnion() 369 appendPaddingBytes(LayoutSize - getSize(StorageType)); in lowerUnion() 372 assert((Layout.getSize() % StorageAlignment == 0 || in lowerUnion() 626 if (getSize(Type) == AccessSize) in accumulateBitFields() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenRecordLayoutBuilder.cpp | 100 CharUnits getSize(mlir::Type Ty) { in getSize() function 252 CharUnits size = astRecordLayout.getSize(); in lower() 427 CharUnits typeSize = getSize(type); in accumulateBitFields() 465 assert(getSize(getUIntNType(astContext.toBits(accessSize))) > in accumulateBitFields() 471 assert(getSize(type) == accessSize && in accumulateBitFields() 577 size = offset + getSize(member.data); in insertPadding() 601 lowering.astRecordLayout.getSize()) { in computeRecordLayout() 691 CharUnits layoutSize = astRecordLayout.getSize(); in lowerUnion() 736 getSize(fieldType) > getSize(storageType))) in lowerUnion() 748 if (layoutSize < getSize(storageType)) in lowerUnion() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | MemberPointer.cpp | 44 if (Offset > CastedBase.block()->getSize()) in toPointer() 63 if (Offset > CastedBase.block()->getSize()) in toPointer() 66 assert(Offset <= CastedBase.block()->getSize()); in toPointer()
|
| H A D | Pointer.h | 174 getDeclDesc()->getSize()); in atIndex() 245 asBlockPointer().Base + getSize() + Adjust); in expand() 377 return getDeclDesc()->getSize(); in elemSize() 381 size_t getSize() const { in getSize() function 383 return getFieldDesc()->getSize(); in getSize() 611 return getSize() / elemSize(); in getNumElems() 652 return isPastEnd() || (getSize() == getOffset() && !isZeroSizeArray()); in isOnePastEnd() 660 return !isZero() && Offset > PointeeStorage.BS.Pointee->getSize(); in isPastEnd() 781 assert(asBlockPointer().Base <= asBlockPointer().Pointee->getSize()); in getInlineDesc()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyTypeDumper.cpp | 46 return S1->getSize() < S2->getSize(); in CompareSizes() 54 double Pct1 = (double)S1->deepPaddingSize() / (double)S1->getSize(); in ComparePaddingPct() 55 double Pct2 = (double)S2->deepPaddingSize() / (double)S2->getSize(); in ComparePaddingPct() 65 double Pct1 = (double)S1->immediatePadding() / (double)S1->getSize(); in ComparePaddingPctImmediate() 66 double Pct2 = (double)S2->immediatePadding() / (double)S2->getSize(); in ComparePaddingPctImmediate()
|
| H A D | PrettyClassDefinitionDumper.cpp | 51 uint32_t Size = Layout.getSize(); in prettyPrintClassIntro() 99 (double)Layout.getSize()); in prettyPrintClassOutro() 107 (double)Layout.getSize()); in prettyPrintClassOutro()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsPreLegalizerCombiner.cpp | 70 if (!MMO->getSize().hasValue() || in tryCombineAll() 71 !isPowerOf2_64(MMO->getSize().getValue())) in tryCombineAll() 73 bool isUnaligned = MMO->getAlign() < MMO->getSize().getValue(); in tryCombineAll()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.cpp | 158 << "Size: " << hexValue(Section.getSize()) << ", " in mapVirtualAddress() 173 if (!Section.isText() || Section.isVirtual() || !Section.getSize()) in mapVirtualAddress() 210 << "Size: " << hexValue(Section.getSize()) << "\n" in mapVirtualAddress() 217 << hexValue(Entry.first + Entry.second.getSize()) in mapVirtualAddress() 218 << "] Size: " << hexValue(Entry.second.getSize()) << "\n"; in mapVirtualAddress() 234 if (!Section.isText() || Section.isVirtual() || !Section.getSize()) in mapVirtualAddress() 261 << "Size: " << hexValue(Section.getSize()) << "\n" in mapVirtualAddress() 272 << hexValue(Entry.first + Entry.second.getSize()) in mapVirtualAddress() 273 << "] Size: " << hexValue(Entry.second.getSize()) << "\n"; in mapVirtualAddress() 406 << ", Section Size: " << hexValue(Section.getSize()) << "\n"; in createInstructions() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | SectionSizes.cpp | 93 LLVM_DEBUG(dbgs() << SectionName.str() << ": " << Section.getSize() in calculateSectionSizes() 99 Sizes.TotalDebugSectionsSize += Section.getSize(); in calculateSectionSizes() 100 Sizes.DebugSectionSizes[std::string(SectionName)] += Section.getSize(); in calculateSectionSizes()
|