LLVM backend for 6502
Go to file
Reid Spencer a1b4390938 Implement the fprintf optimization which converts calls like this:
fprintf(F,"hello") -> fwrite("hello",strlen("hello"),1,F)
  fprintf(F,"%s","hello") -> fwrite("hello",strlen("hello"),1,F)
  fprintf(F,"%c",'x') -> fputc('c',F)

This optimization fires severals times in llvm-test:

313 MultiSource/Applications/Burg
302 MultiSource/Benchmarks/Prolangs-C/TimberWolfMC
189 MultiSource/Benchmarks/Prolangs-C/mybison
175 MultiSource/Benchmarks/Prolangs-C/football
130 MultiSource/Benchmarks/Prolangs-C/unix-tbl


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21657 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-02 23:59:26 +00:00
autoconf Build the `Skeleton' target when building "all" targets 2005-04-22 18:00:34 +00:00
docs Mention that arguments to functions must be first class types. 2005-05-01 22:22:57 +00:00
examples
include/llvm Add accessor method, 2005-05-01 16:22:41 +00:00
lib Implement the fprintf optimization which converts calls like this: 2005-05-02 23:59:26 +00:00
projects Eliminate tabs and trailing spaces 2005-04-23 21:26:11 +00:00
runtime
test Add a test case for testing the FPrintFOptimization. 2005-05-02 23:07:14 +00:00
tools Add the simplify-libcalls pass. 2005-04-27 02:22:47 +00:00
utils import fix and plot multiple lines at once 2005-04-27 17:32:41 +00:00
win32 Add SimplyLibCalls.cpp to VC++ build 2005-04-26 02:57:49 +00:00
.cvsignore
configure Build the `Skeleton' target when building "all" targets 2005-04-22 18:00:34 +00:00
CREDITS.TXT
LICENSE.TXT
llvm.spec
llvm.spec.in
Makefile
Makefile.common
Makefile.config.in Two changes: 2005-04-22 17:14:14 +00:00
Makefile.rules
README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level 
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments. 

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.