Searched refs:AlignedSize (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MemoryTaggingSupport.cpp | 166 uint64_t AlignedSize = alignTo(Size, Alignment); in alignAndPadAlloca() local 167 if (Size == AlignedSize) in alignAndPadAlloca() 177 Type *PaddingType = ArrayType::get(Type::getInt8Ty(Ctx), AlignedSize - Size); in alignAndPadAlloca()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator.cpp | 327 const uptr AlignedSize = (Alignment > MinAlignment) ? in allocate() local 330 UNLIKELY(AlignedSize >= MaxAllowedMallocSize)) { in allocate() 333 reportAllocationSizeTooBig(Size, AlignedSize, MaxAllowedMallocSize); in allocate() 348 if (PrimaryT::CanAllocate(AlignedSize, MinAlignment)) { in allocate() 349 BackendSize = AlignedSize; in allocate()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeStreamMerger.cpp | 363 unsigned AlignedSize = alignTo(Type.RecordData.size(), 4); in remapType() local 369 DestIdx = Dest.insertRecordAs(H, AlignedSize, DoSerialize); in remapType() 374 RemapStorage.resize(AlignedSize); in remapType()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 982 size_t AlignedSize = alignTo(Size, Mapping.getObjectAlignment()); in tagAlloca() local 984 Size = AlignedSize; in tagAlloca() 990 ConstantInt::get(IntptrTy, AlignedSize)}); in tagAlloca() 1002 if (Size != AlignedSize) { in tagAlloca() 1008 AlignedSize - 1)); in tagAlloca() 1310 size_t AlignedSize = alignTo(Size, Mapping.getObjectAlignment()); in instrumentStack() local 1325 II->setArgOperand(0, ConstantInt::get(Int64Ty, AlignedSize)); in instrumentStack() 1355 tagAlloca(IRB, AI, UARTag, AlignedSize); in instrumentStack()
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/ |
| H A D | MCJITCAPITest.cpp | 100 uintptr_t AlignedSize = (Size + Alignment - 1) / Alignment * Alignment; in useSpace() local 102 *UsedSize = AlignedBegin + AlignedSize; in useSpace()
|
| /llvm-project-15.0.7/openmp/libomptarget/src/ |
| H A D | omptarget.cpp | 1162 const int64_t AlignedSize; member 1169 HstPtrEnd(HstPtrBegin + Size), AlignedSize(Size + Size % Alignment), in FirstPrivateArgInfoTy() 1250 FirstPrivateArgSize += FirstPrivateArgInfo.back().AlignedSize; in addArg() 1267 Itr = std::next(Itr, Info.AlignedSize); in packAndTransfer() 1292 TP += Info.AlignedSize; in packAndTransfer()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCAssembler.cpp | 1075 uint64_t AlignedSize = 0; in relaxBoundaryAlign() local 1078 AlignedSize += computeFragmentSize(Layout, *F); in relaxBoundaryAlign() 1081 uint64_t NewSize = needPadding(AlignedOffset, AlignedSize, BoundaryAlignment) in relaxBoundaryAlign()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 147 CharUnits AlignedSize = Size.alignTo(Align); in add() local 148 if (AlignedSize > Offset || Offset.alignTo(Align) != Offset) in add() 150 else if (AlignedSize < Offset) { in add() 457 CharUnits AlignedSize = Size.alignTo(Align); in buildFrom() local 462 if (DesiredSize < AlignedSize || DesiredSize.alignTo(Align) != DesiredSize) { in buildFrom() 466 } else if (DesiredSize > AlignedSize) { in buildFrom()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyld.cpp | 463 uint64_t AlignedSize = in computeAllocationSizeForSections() local 465 TotalSize += AlignedSize; in computeAllocationSizeForSections()
|