search for: 8148a0d0

Displaying 1 result from an estimated 1 matches for "8148a0d0".

2019 Jun 27
3
How to the get the PHI Nodes in a basic block?
Hi all, I have an Instruction object I from where I can correctly obtain the parent doing I.getParent(). Now I would like to understand how to obtain the PHI Nodes in that block. Do you suggest to iterate all over the instructions since the PHI nodes are always at the beginning or should I use another approach? What the best way to iterate over the instructions in a block? Thanks Alberto