Displaying 2 results from an estimated 2 matches for "specialisiation".
Did you mean:
specialisation
2007 Mar 18
4
[LLVMdev] idf_iterator and MachineFunctions
...blocks in
a machine function (i.e. starting from the last block and following
predecessor edges) for a liveness analysis I'm writing.
idf_iterator seems like it's almost the class I need, but it starts at
the first block in the function at present, rather than the last one
(because of the specialisiation of GraphTraits for
Inverse<MachineFunction*> - getEntryNode returns mf->front()). That
seems odd to me - you can only ever get to the first block with it
(incrementing the iterator once yields idf_end(mf), and there's no
decrement operation).
Is this behaviour intentional?
If it is I...
2007 Mar 19
0
[LLVMdev] idf_iterator and MachineFunctions
...ing.
As Gordon mentioned, there isn't a trivial way to do this, as there isn't
a single exit node in the MBB CFG.
> idf_iterator seems like it's almost the class I need, but it starts at
> the first block in the function at present, rather than the last one
> (because of the specialisiation of GraphTraits for
> Inverse<MachineFunction*> - getEntryNode returns mf->front()). That
> seems odd to me - you can only ever get to the first block with it
> (incrementing the iterator once yields idf_end(mf), and there's no
> decrement operation).
That seems odd to me t...