Add a getAlignOf helper for getting the ABI alignment of a
authorDuncan Sands <baldrick@free.fr>
Thu, 21 May 2009 15:52:21 +0000 (15:52 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 21 May 2009 15:52:21 +0000 (15:52 +0000)
commitef854af5bd231ae0c059eb4f07d13352d2a50a9d
tree1ffe037dbd917d3dc1434c1947079f899fcf51d8
parente3e51c0038bd6ba2add82e2246e97edec0ab2204
Add a getAlignOf helper for getting the ABI alignment of a
type as a target independent constant expression.  I confess
that I didn't check that this method works as intended (though
I did test the equivalent hand-written IR a little).  But what
could possibly go wrong!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72213 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/ocaml/llvm/llvm.mli
include/llvm/Constants.h
lib/VMCore/Constants.cpp
lib/VMCore/Core.cpp