aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-08 11:57:05 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-08 12:04:13 +0000
commitfd2bb51f1ec3f53e5dd1e69eb48bf191b49edda4 (patch)
treee7d98c9374e34954036564ef7b0083c3d387d0c2 /llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp
parent83f9b13d8cc2dd148c8ff7c1c71584e1eb634b75 (diff)
downloadllvm-fd2bb51f1ec3f53e5dd1e69eb48bf191b49edda4.zip
llvm-fd2bb51f1ec3f53e5dd1e69eb48bf191b49edda4.tar.gz
llvm-fd2bb51f1ec3f53e5dd1e69eb48bf191b49edda4.tar.bz2
[ADT] Add APInt/MathExtras isShiftedMask variant returning mask offset/length
In many cases, calls to isShiftedMask are immediately followed with checks to determine the size and position of the bitmask. This patch adds variants of APInt::isShiftedMask, isShiftedMask_32 and isShiftedMask_64 that return these values as additional arguments. I've updated a number of cases that were either performing seperate size/position calculations or had created their own local wrapper versions of these. Differential Revision: https://reviews.llvm.org/D119019
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp')
0 files changed, 0 insertions, 0 deletions