summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-28 21:48:06 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-28 21:48:06 +0000
commit8d01d5da78d9cd672ff0bfc431a149bc12560355 (patch)
tree4f3f5b6e609f3c34918555df9c09dfb3100c0ca2 /llvm/lib/IR/Function.cpp
parent72235d084dceac9126d793bb0bd8c1a07a050f16 (diff)
downloadbcm5719-llvm-8d01d5da78d9cd672ff0bfc431a149bc12560355.tar.gz
bcm5719-llvm-8d01d5da78d9cd672ff0bfc431a149bc12560355.zip
[APInt] Add an isNullValue method to check for all bits being zero. Use it in a couple internal methods where it makes more sense than isMinValue or !getBoolValue. NFC
I used Null rather than Zero to match the getNullValue method name. There are some other places outside APInt where isNullValue would be more readable than isMinValue even though they do the same thing. I'll update those in future patches. llvm-svn: 301695
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud