search for: a380559e99b47632a34f74de7c1d03cc0

Displaying 1 result from an estimated 1 matches for "a380559e99b47632a34f74de7c1d03cc0".

2017 Jan 20
2
Get Num of Uses in only dominated blocks?
...hat requires counting the number of uses of a value only in all dominated blocks in a function. I checked the manual for llvm::User class, but only get this unsigned <http://llvm.org/test-doxygen/api/classunsigned.html> getNumUses <http://llvm.org/test-doxygen/api/classllvm_1_1Value.html#a380559e99b47632a34f74de7c1d03cc0> () const This gives me all the uses of a value. Is there any simple way, like an API to do this? Or I have to manually write a method to traverse dominated basic blocks and count the number of uses? Thanks, Tianyu Cheng -------------- next part -------------- An HTML attachment was scrubbed.....