Hi, is it possible to implement a pass which creates new modules or deletes old ones (which kind of pass could do this)? Perhaps there is already a pass which implements that - but I didn't found it. Ciao, Nico BTW: will there be one day the Cell BE slides on the dev-meeting webpages?
On Mon, 13 Aug 2007, nico wrote:> is it possible to implement a pass which creates new modules or > deletes old ones (which kind of pass could do this)? > Perhaps there is already a pass which implements that - but I didn't > found it.Nope, passes work within a module, they can't create/delete them.> BTW: will there be one day the Cell BE slides on the dev-meeting > webpages?I don't know. Pester Scott about it :) -Chris -- http://nondot.org/sabre/ http://llvm.org/
On Aug 13, 2007, at 9:11 PM, Chris Lattner wrote:> Nope, passes work within a module, they can't create/delete them.So there is no possibility to write a pass to arrange functions and globals in a different than the given way? No way to partition the structure new? I would really like to know how code is generated for heterogeneous architectures like Cell? I thought they use a kind of (module?) partition to difference between the parts that should be mapped on SPU and PPU ... :-( Time to think about again ;-) Nico