- Apr 25, 2005
-
-
Chris Lattner authored
llvm-svn: 21534
-
Reid Spencer authored
strcat when its called. llvm-svn: 21533
-
Reid Spencer authored
llvm-svn: 21532
-
Reid Spencer authored
* Fix comments at top of file * Change algorithm for running the call optimizations from n*n to something closer to n. * Use a hash_map to store and lookup the optimizations since there will eventually (or potentially) be a large number of them. This gets lookup based on the name of the function to O(1). Each CallOptimizer now has a std::string member named func_name that tracks the name of the function that it applies to. It is this string that is entered into the hash_map for fast comparison against the function names encountered in the module. * Cleanup some style issues pertaining to iterator invalidation * Don't pass the Function pointer to the OptimizeCall function because if the optimization needs it, it can get it from the CallInst passed in. * Add the skeleton for a new CallOptimizer, StrCatOptimizer which will eventually replace strcat's of constant strings with direct copies. llvm-svn: 21526
-
Reid Spencer authored
llvm-dis output don't go blind. llvm-svn: 21525
-
Reid Spencer authored
destructor. Just add the do-nothing virtual destructor. llvm-svn: 21524
-
Reid Spencer authored
llvm-svn: 21523
-
Reid Spencer authored
calls. The pass visits all external functions in the module and determines if such function calls can be optimized. The optimizations are specific to the library calls involved. This initial version only optimizes calls to exit(3) when they occur in main(): it changes them to ret instructions. llvm-svn: 21522
-
Reid Spencer authored
llvm-svn: 21521
-
Reid Spencer authored
so we put the destructor in Pass.cpp and make it non-inline. llvm-svn: 21520
-
Chris Lattner authored
llvm-svn: 21515
-
Reid Spencer authored
instruction is added to the original block, not the new block. llvm-svn: 21513
-
Reid Spencer authored
destructor. llvm-svn: 21510
-
Reid Spencer authored
don't have virtual destructors. llvm-svn: 21507
-
- Apr 24, 2005
-
-
Reid Spencer authored
grammar rules for the English language. llvm-svn: 21503
-
Misha Brukman authored
llvm-svn: 21501
-
Chris Lattner authored
llvm-svn: 21500
-
Misha Brukman authored
regardless of the tab size/stop settings on the developer side llvm-svn: 21499
-
Misha Brukman authored
llvm-svn: 21498
-
Misha Brukman authored
llvm-svn: 21497
-
Misha Brukman authored
llvm-svn: 21496
-
Chris Lattner authored
llvm-svn: 21495
-
Chris Lattner authored
llvm-svn: 21494
-
Chris Lattner authored
const_cast instead of c casts. llvm-svn: 21493
-
Chris Lattner authored
llvm-svn: 21492
-
Chris Lattner authored
Completely rework the 'setcc (cast x to larger), y' code. This code has the advantage of implementing setcc.ll:test19 (being more general than the previous code) and being correct in all cases. This allows us to unxfail 2004-11-27-SetCCForCastLargerAndConstant.ll, and close PR454. llvm-svn: 21491
-
Chris Lattner authored
llvm-svn: 21490
-
Chris Lattner authored
llvm-svn: 21489
-
Misha Brukman authored
* ... but it wasn't so busy as to not smell the roses and doxygenify comments llvm-svn: 21487
-
Chris Lattner authored
llvm-svn: 21486
-
Chris Lattner authored
llvm-svn: 21485
-
Chris Lattner authored
llvm-svn: 21484
-
Chris Lattner authored
llvm-svn: 21483
-
- Apr 23, 2005
-
-
Chris Lattner authored
llvm-svn: 21482
-
Chris Lattner authored
llvm-svn: 21481
-
Jeff Cohen authored
llvm-svn: 21480
-
Jeff Cohen authored
llvm-svn: 21479
-
Chris Lattner authored
a crash of the sfv on 188.ammp llvm-svn: 21478
-
Chris Lattner authored
llvm-svn: 21475
-
Reid Spencer authored
USEDLIB as the variable to which "CBackend" is appended. The surrounding if clause is safe because currently the configure script ensures that the CBackend target is always added to TARGETS_TO_BUILD. By using a non-hard coded construct in the makefile, we gain uniformity and the ability to change the default set of targets by only changing the configure script. llvm-svn: 21474
-