aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/EmitFunctions.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-19 22:35:00 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-19 22:35:00 +0000
commitf734ea21a37e27862ccf7570c2c64ad904568234 (patch)
treebecfedf87d66222b56544dce2d2bbd21e0f8a34b /lib/Transforms/Instrumentation/EmitFunctions.cpp
parent85f00083f54468afa796dfd003bf4cd45affd3f7 (diff)
Implement support for non-standard integer bit widths of any size. The
rules alignment is to pick the alignment that corresponds to the smallest specified alignment that is larger than the bit width of the type or the largest specified integer alignment if none are larger than the bitwidth of the type. For the byte size, the size returned is the next larger multiple of the alignment for that type (using the above rule). This patch also changes bit widths from "short" to "uint32_t" to ensure there are enough bits to specify any bit width that LLVM can handle (currently 2^23); 16-bits isn't enough. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/EmitFunctions.cpp')
0 files changed, 0 insertions, 0 deletions