[PATCH] standardize {pred, succ, use, user}_{size, empty} like in MBB
Ramkumar Ramachandra
artagnon at gmail.com
Mon Jan 12 18:58:38 PST 2015
Drop .size() functions, because they don't make any sense; it's
cheaper to do std::distance(.begin(), .end()). Put in a bunch of
usecases to support the .empty().
http://reviews.llvm.org/D6944
Files:
include/llvm/IR/CFG.h
include/llvm/IR/Value.h
lib/Analysis/CFG.cpp
lib/IR/Verifier.cpp
lib/Transforms/IPO/PruneEH.cpp
lib/Transforms/Scalar/JumpThreading.cpp
lib/Transforms/Scalar/Reg2Mem.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6944.18066.patch
Type: text/x-patch
Size: 5713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150113/1d073463/attachment.bin>
More information about the llvm-commits
mailing list