Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DValueSymbolTable.cpp45 unsigned BaseSize = UniqueName.size(); in makeUniqueName() local
61 UniqueName.resize(BaseSize); in makeUniqueName()
69 assert(BaseSize >= UniqueName.size() - (size_t)MaxNameSize && in makeUniqueName()
71 BaseSize -= UniqueName.size() - (size_t)MaxNameSize; in makeUniqueName()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DRecord.cpp17 unsigned VirtualSize, unsigned BaseSize) in Record() argument
19 BaseSize(BaseSize), VirtualSize(VirtualSize), IsUnion(Decl->isUnion()), in Record()
22 VirtualBases.push_back({V.Decl, V.Offset + BaseSize, V.Desc, V.R}); in Record()
H A DRecord.h61 unsigned getSize() const { return BaseSize; } in getSize()
63 unsigned getFullSize() const { return BaseSize + VirtualSize; } in getFullSize()
114 unsigned BaseSize);
135 unsigned BaseSize; variable
H A DProgram.cpp303 unsigned BaseSize = 0; in getOrCreateRecord() local
336 BaseSize += align(sizeof(InlineDescriptor)); in getOrCreateRecord()
337 Bases.push_back({BD, BaseSize, Desc, BR}); in getOrCreateRecord()
338 BaseSize += align(BR->getSize()); in getOrCreateRecord()
368 BaseSize += align(sizeof(InlineDescriptor)); in getOrCreateRecord()
385 Fields.push_back({FD, BaseSize, Desc}); in getOrCreateRecord()
386 BaseSize += align(Desc->getAllocSize()); in getOrCreateRecord()
390 std::move(VirtBases), VirtSize, BaseSize); in getOrCreateRecord()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlist.h35 LinkOp(UNUSED T *BaseT, UNUSED uptr BaseSize) {} in LinkOp() argument
56 LinkOp(T *BaseT, uptr BaseSize) in LinkOp() argument
57 : Base(BaseT), Size(static_cast<LinkTy>(BaseSize)) {} in LinkOp()
58 void init(T *LinkBase, uptr BaseSize) { in init() argument
60 Size = static_cast<LinkTy>(BaseSize); in init()
130 void init(T *Base, uptr BaseSize) { LinkOp<T>::init(Base, BaseSize); } in init()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DLowLevelType.h202 TypeSize BaseSize = getSizeInBits(); in getSizeInBytes() local
203 return {(BaseSize.getKnownMinValue() + 7) / 8, BaseSize.isScalable()}; in getSizeInBytes()
H A DMachineValueType.h359 TypeSize BaseSize = getSizeInBits(); in getStoreSize() local
360 return {(BaseSize.getKnownMinValue() + 7) / 8, BaseSize.isScalable()}; in getStoreSize()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h391 TypeSize BaseSize = getSizeInBits(); in getStoreSize() local
392 return {(BaseSize.getKnownMinValue() + 7) / 8, BaseSize.isScalable()}; in getStoreSize()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h482 TypeSize BaseSize = getTypeSizeInBits(Ty); in getTypeStoreSizeInBits() local
484 alignToPowerOf2(BaseSize.getKnownMinValue(), 8); in getTypeStoreSizeInBits()
485 return {AlignedSizeInBits, BaseSize.isScalable()}; in getTypeStoreSizeInBits()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp457 uint64_t BaseSize = MemoryLocation::UnknownSize; in visitMemoryReference() local
463 BaseSize = DL->getTypeAllocSize(ATy).getFixedValue(); in visitMemoryReference()
471 BaseSize = DL->getTypeAllocSize(GTy); in visitMemoryReference()
481 BaseSize == MemoryLocation::UnknownSize || in visitMemoryReference()
482 (Offset >= 0 && Offset + Loc.Size.getValue() <= BaseSize), in visitMemoryReference()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp839 std::optional<llvm::APSInt> BaseSize; in ActOnArraySectionExpr() local
842 BaseSize = ArrayTy->getSize(); in ActOnArraySectionExpr()
865 } else if (BaseSize.has_value() && in ActOnArraySectionExpr()
866 llvm::APSInt::compareValues(*LowerBoundValue, *BaseSize) >= 0) { in ActOnArraySectionExpr()
870 << toString(*BaseSize, /*Radix=*/10); in ActOnArraySectionExpr()
883 } else if (BaseSize.has_value() && in ActOnArraySectionExpr()
884 llvm::APSInt::compareValues(*LengthValue, *BaseSize) > 0) { in ActOnArraySectionExpr()
888 << toString(*BaseSize, /*Radix=*/10); in ActOnArraySectionExpr()
905 if (BaseSize.has_value() && LowerBoundValue.has_value() && in ActOnArraySectionExpr()
908 *BaseSize) > 0) { in ActOnArraySectionExpr()
[all …]
H A DSemaType.cpp9975 uint64_t BaseSize = S.Context.getTypeSize(BaseType); in ChangeIntegralSignedness() local
9977 llvm::find_if(*Consider, [&S, BaseSize](const CanQual<Type> *T) { in ChangeIntegralSignedness()
9978 return BaseSize == S.Context.getTypeSize(T->getTypePtr()); in ChangeIntegralSignedness()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp546 std::optional<uint64_t> BaseSize = in getTypeSizeImpl() local
548 if (!BaseSize) in getTypeSizeImpl()
550 uint64_t Size = *BaseSize; in getTypeSizeImpl()
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingFile.c1338 uint32_t DirSize = DirEnd + 1, BaseSize = FilenameLength - DirSize; in __llvm_write_custom_profile() local
1347 BaseSize); in __llvm_write_custom_profile()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp2107 size_t BaseSize = 0; in getOptionWidth() local
2109 BaseSize = std::max(BaseSize, getOption(i).size() + 8); in getOptionWidth()
2110 return BaseSize; in getOptionWidth()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp1420 CharUnits BaseSize = Ctx.getTypeSizeInChars(ArrayTy->getElementType()); in emitCountedByMemberSize() local
1422 llvm::ConstantInt::get(ResType, BaseSize.getQuantity(), IsSigned); in emitCountedByMemberSize()
1438 CharUnits BaseSize = in emitCountedByMemberSize() local
1441 llvm::ConstantInt::get(ResType, BaseSize.getQuantity(), IsSigned); in emitCountedByMemberSize()
1466 CharUnits BaseSize; in emitCountedByMemberSize() local
1469 BaseSize = in emitCountedByMemberSize()
1473 BaseSize = Ctx.getTypeSizeInChars(ArrayTy->getElementType()); in emitCountedByMemberSize()
1477 llvm::ConstantInt::get(ResType, BaseSize.getQuantity(), IsSigned); in emitCountedByMemberSize()
H A DCGClass.cpp1727 CharUnits BaseSize = BaseLayout.getSize(); in Emit() local
1729 if (!BaseSize.isPositive()) in Emit()
1736 BaseSize.getQuantity()); in Emit()