commit | e6948280ffb8e4f257f6010c2c13b417ace77c28 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Thu Jan 09 02:29:41 2014 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Sep 30 23:35:09 2020 -0700 |
tree | 77aed3e451050c08fe443b73e42ccac2fc13d366 | |
parent | 1774c15660ba42eb5246e119bca2b2555aac816b [diff] |
Put the functionality for printing a value to a raw_ostream as an operand into the Value interface just like the core print method is. That gives a more conistent organization to the IR printing interfaces -- they are all attached to the IR objects themselves. Also, update all the users. This removes the 'Writer.h' header which contained only a single function declaration. llvm-svn: 198836 GitOrigin-RevId: d48cdbf0c3ee31bcac2d8304da2ee5dc16c35056