| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | TestingSupport.cpp | 115 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in convertForTestingMain() 119 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in convertForTestingMain()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | AlignmentTest.cpp | 160 TEST(AlignmentTest, offsetToAlignment) { in TEST() argument 176 EXPECT_EQ(offsetToAlignment(T.offset, A), T.alignedOffset); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Alignment.h | 198 inline uint64_t offsetToAlignment(uint64_t Value, Align Alignment) { in offsetToAlignment() function 205 return offsetToAlignment(reinterpret_cast<uintptr_t>(Addr), Alignment); in offsetToAlignedAddr()
|
| H A D | OnDiskHashTable.h | 211 uint64_t N = offsetToAlignment(TableOff, Align(alignof(offset_type))); in Emit()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | ArchiveWriter.cpp | 224 unsigned Pad = offsetToAlignment(PosAfterHeader, Align(8)); in printBSDMemberHeader() 317 unsigned Pad = offsetToAlignment(Size, Align(2)); in computeStringTable() 378 : offsetToAlignment(Size, Align(isBSDLike(Kind) ? 8 : 2)); in computeSymbolTableSize() 565 isDarwin(Kind) ? offsetToAlignment(Data.size(), Align(8)) : 0; in computeMemberData() 567 offsetToAlignment(Data.size() + MemberPadding, Align(2)); in computeMemberData()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCBranchSelector.cpp | 94 return offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment() 100 return Alignment.value() + offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | LongJmp.cpp | 298 offsetToAlignment(DotAddress, llvm::Align(Func->getAlignment())); in tentativeLayoutRelocColdPart() 357 offsetToAlignment(DotAddress, llvm::Align(Func->getAlignment())); in tentativeLayoutRelocMode() 405 offsetToAlignment(DotAddress, llvm::Align(opts::AlignText)); in tentativeLayout()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCDXContainerWriter.cpp | 135 W.OS.write_zeros(offsetToAlignment(Size, Align(4))); in writeObject()
|
| H A D | MachObjectWriter.cpp | 132 return offsetToAlignment(EndAddr, Align(NextSec.getAlignment())); in getPaddingSize() 451 offsetToAlignment(BytesWritten, is64Bit() ? Align(8) : Align(4))); in writeLinkerOptionsLoadCommand() 882 offsetToAlignment(SectionDataFileSize, is64Bit() ? Align(8) : Align(4)); in writeObject() 1053 offsetToAlignment(LOHRawSize, is64Bit() ? Align(8) : Align(4))); in writeObject()
|
| H A D | MCAssembler.cpp | 334 unsigned Size = offsetToAlignment(Offset, AF.getAlignment()); in computeFragmentSize() 1082 ? offsetToAlignment(AlignedOffset, BoundaryAlignment) in relaxBoundaryAlign()
|
| H A D | WasmObjectWriter.cpp | 396 uint64_t Paddings = offsetToAlignment(Offset, Align(Alignment)); in writeStringWithAlignment()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVFrameLowering.cpp | 278 offsetToAlignment(ScalarLocalVarSize, RVFI->getRVVStackAlign())) in determineFrameLayout() 946 if (auto AlignmentPadding = offsetToAlignment(StackSize, RVVStackAlign)) { in assignRVVStackObjectOffsets()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOLayoutBuilder.cpp | 162 offsetToAlignment(SegFileSize, Align(1ull << Sec->Align)); in layoutSegments()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | DeadStoreElimination.cpp | 503 offsetToAlignment(uint64_t(KillingStart - DeadStart), PrefAlign); in tryToShorten() 515 uint64_t Off = offsetToAlignment(ToRemoveSize, PrefAlign); in tryToShorten()
|
| /llvm-project-15.0.7/llvm/lib/DWARFLinker/ |
| H A D | DWARFStreamer.cpp | 394 unsigned Padding = offsetToAlignment(HeaderSize, Align(TupleSize)); in emitUnitRangesEntries()
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/ |
| H A D | CSKYConstantIslandPass.cpp | 761 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/AsmParser/ |
| H A D | MipsAsmParser.cpp | 1905 if (offsetToAlignment(Offset.getImm(), in processInstruction() 1935 if (offsetToAlignment(Offset.getImm(), in processInstruction() 1951 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction() 1964 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction() 1975 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction() 1988 if (offsetToAlignment(Offset.getImm(), Align(2))) in processInstruction() 3591 if (offsetToAlignment(Offset.getImm(), Align(2))) in expandUncondBranchMMPseudo()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyld.cpp | 778 offsetToAlignment((uint64_t)Addr, Align(Alignment)); in emitCommonSymbols()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsConstantIslandPass.cpp | 952 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclBase.cpp | 103 llvm::offsetToAlignment(sizeof(Module *), llvm::Align(alignof(Decl))); in operator new()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMConstantIslandPass.cpp | 1134 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 529 offsetToAlignment(MaxFrameAlignment->value(), FieldAlignment); in addField()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 3023 unsigned Padding = offsetToAlignment( in emitDebugARanges()
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | RewriteInstance.cpp | 3977 offsetToAlignment(Offset, llvm::Align(Alignment)); in appendPadding()
|