hanchenye-llvm-project/llvm/include
Gabor Greif eb61fcf2a1 Simplify the logic of getting hold of a PHI predecessor block.
There is now a direct way from value-use-iterator to incoming block in PHINode's API.
This way we avoid the iterator->index->iterator trip, and especially the costly
getOperandNo() invocation. Additionally there is now an assertion that the iterator
really refers to one of the PHI's Uses.

llvm-svn: 62869
2009-01-23 19:40:15 +00:00
..
llvm Simplify the logic of getting hold of a PHI predecessor block. 2009-01-23 19:40:15 +00:00
llvm-c add getPointerToGlobal to the C bindings, patch by Lennart Augustsson! 2009-01-21 18:11:10 +00:00