[Alignment][NFC] Move and type functions from MathExtras to Alignment
commitb25891efdac48571c3c3e6317ebb984a25ed93f4
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 14 Oct 2019 13:14:34 +0000 (14 13:14 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 14 Oct 2019 13:14:34 +0000 (14 13:14 +0000)
treec39a478e3638cbdc640bd2967e05ec8377e2ebad
parentf97817880dbbdb9d9b5e022e65ef7fc7507328d4
[Alignment][NFC] Move and type functions from MathExtras to Alignment

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

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374773 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Alignment.h
include/llvm/Support/Allocator.h
include/llvm/Support/BinaryStreamArray.h
include/llvm/Support/BinaryStreamReader.h
include/llvm/Support/MathExtras.h
include/llvm/Support/TrailingObjects.h
lib/ProfileData/Coverage/CoverageMappingReader.cpp
lib/Support/Unix/Memory.inc
unittests/Support/AlignmentTest.cpp
unittests/Support/AllocatorTest.cpp
unittests/Support/TrailingObjectsTest.cpp