[Alignment] Move OffsetToAlignment to Alignment.h
commitfff5baa19a1f5353d8e02d18943bb05cf9316ad8
authorGuillaume Chatelet <gchatelet@google.com>
Thu, 12 Sep 2019 15:20:36 +0000 (12 15:20 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Thu, 12 Sep 2019 15:20:36 +0000 (12 15:20 +0000)
tree006e724da95476c10b64f491e2cbc1a4d9d5e4fb
parent6dfd00e174adfc86b8291c46a06251c42329daa7
[Alignment] Move OffsetToAlignment to Alignment.h

Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet, JDevlieghere, alexshap, rupprecht, jhenderson

Subscribers: sdardis, nemanjai, hiraditya, kbarton, jakehehrlich, jrtc27, MaskRay, atanasyan, jsji, seiya, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D67499

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371742 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
include/llvm/Support/Alignment.h
include/llvm/Support/MathExtras.h
include/llvm/Support/OnDiskHashTable.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/BranchRelaxation.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
lib/MC/ELFObjectWriter.cpp
lib/MC/MCAssembler.cpp
lib/MC/MachObjectWriter.cpp
lib/Object/ArchiveWriter.cpp
lib/Target/ARM/ARMConstantIslandPass.cpp
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MipsConstantIslandPass.cpp
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
lib/Target/Mips/MipsSERegisterInfo.cpp
lib/Target/PowerPC/PPCBranchSelector.cpp
tools/dsymutil/DwarfStreamer.cpp
tools/llvm-cov/TestingSupport.cpp
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp