[llvm-commits] Patch to the Lexicon

Jonathan Brandmeyer jbrandmeyer at earthlink.net
Thu Nov 6 18:58:27 PST 2008


On Wed, 2008-11-05 at 19:53 -0800, Nick Lewycky wrote:
> Jonathan Brandmeyer wrote:
> 
> > PS: What is RAUW?  I'll volunteer the clerical work of adding it to the
> > Lexicon if you'd be kind enough to hand me a small dose of clue :)
> 
> ReplaceAllUsesWith. It can be used to substitute any one Value for 
> another (except that on a Constant, replaceUsesOfWithOnConstant should 
> be used instead).
> 
> For example, given:
> 
>    %x = add i32 %i, 0
> 
> an optimization would call %x->RAUW(%i).

Patch as promised.

Thanks,

-Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Lexicon.html.patch
Type: text/x-patch
Size: 1237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20081106/7386a880/attachment.bin>


More information about the llvm-commits mailing list