home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!das-news.harvard.edu!spdcc!iecc!compilers-sender
- From: cse264ce@cs.ucsd.edu (What Is)
- Newsgroups: comp.compilers
- Subject: Code optimization questions
- Keywords: optimize, question, comment
- Message-ID: <92-11-015@comp.compilers>
- Date: 4 Nov 92 06:14:28 GMT
- Article-I.D.: comp.92-11-015
- Sender: compilers-sender@iecc.cambridge.ma.us
- Reply-To: cse264ce@cs.ucsd.edu (What Is)
- Organization: U.C. San Diego -- 1991 'Wannabe A Real College' finalist
- Lines: 26
- Approved: compilers@iecc.cambridge.ma.us
-
- [1] Is there any info on optimizers that take advantage of profiler
- information? That is, the compiler creates some code that generates
- profiler information, then the code is run, then the compiler is
- run again, and it used the generated profiler information to
- generate better code.
-
- [2] Is there any info on optimizers that take advantage of runtime
- assertions? This can help with anti dependencies, but it may have
- other advantages; for instance, if an integer is guaranteed to be
- within a certain range, then some operations on it may be cheaper,
- etc. etc.
-
- [3] If statement A has a def-use chain to statement B, does it follow
- that statement B has a use-def chain to statement A? Is this an
- "if and only if" relation? I've checked the Dragon book, but it
- seems to have no opinion on this.
-
- Thanks for any help,
-
- Steve Boswell
- whatis@ucsd.edu
- [Multiflow had a profiler-based optimizer and I'm sure that others do, too.
- -John]
- --
- Send compilers articles to compilers@iecc.cambridge.ma.us or
- {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.
-