Re: Helper for replaceAllUses in gcc gimple

2016-02-11 Thread Richard Biener
On February 11, 2016 6:39:02 PM GMT+01:00, Cristina Georgiana Opriceana wrote: >Hello, > >Is there any implementation for replacing all uses of a variable with >another variable in gimple? > >If I want to replace the uses of a variable with another one, do I >have to do this by hand, investigate

Helper for replaceAllUses in gcc gimple

2016-02-11 Thread Cristina Georgiana Opriceana
Hello, Is there any implementation for replacing all uses of a variable with another variable in gimple? If I want to replace the uses of a variable with another one, do I have to do this by hand, investigate the type of the instruction and perform a replacement where necessary or is there any so