aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-01-06 15:33:39 +0100
committerNikita Popov <npopov@redhat.com>2023-01-06 15:36:16 +0100
commita6a526ec5465d712db11fdbf5ed5fce8da0722cf (patch)
treed9f839d7467e15d6d85d0394ccb86448f65666b3 /llvm/lib/CodeGen/StackProtector.cpp
parentbf82070ea465969e9ae86a31dfcbf94c2a7b4c4c (diff)
downloadllvm-a6a526ec5465d712db11fdbf5ed5fce8da0722cf.zip
llvm-a6a526ec5465d712db11fdbf5ed5fce8da0722cf.tar.gz
llvm-a6a526ec5465d712db11fdbf5ed5fce8da0722cf.tar.bz2
[IR] Add AllocaInst::getAllocationSize() (NFC)
When fetching allocation sizes, we almost always want to have the size in bytes, but we were only providing an InBits API. Also add the corresponding byte-based conjugate to save some *8 and /8 juggling everywhere.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions