- Nov 16, 2004
-
-
Reid Spencer authored
* Adjust indentation\ * Ensure memory do not leak if exceptions happen (std::auto_ptr use) llvm-svn: 17885
-
Reid Spencer authored
* Make the numVbrBytes function more efficient and better documented \ * Fix a bug in name truncation \ * Add comments before functions \ * Get rid of functions that are now inlined into the header \ * Do not have Archive doing symbol table printing \ * Put assert comments into the assert so they print out \ * Make sure foreign symbol tables are written llvm-svn: 17884
-
Reid Spencer authored
* Make sure we write out the foreign symbol table if we read one \ * Make the padding calculation more efficiently and avoid Solaris warnings llvm-svn: 17883
-
Reid Spencer authored
* Make sure all members are initialized upon construction llvm-svn: 17882
-
Chris Lattner authored
llvm-svn: 17880
-
Reid Spencer authored
* Get rid of memory leaks on exception \ * Provide better comments of how the memory handling works llvm-svn: 17876
-
Chris Lattner authored
llvm-svn: 17875
-
Reid Spencer authored
* get rid of (void) construct in function declarations * make toString a const member * add a default implementation of toString for Win32 llvm-svn: 17873
-
Reid Spencer authored
* Clean up the StatusInfo constructor to construct all members and give them reasonable values. * Get rid of the Vector typedef and make the interface to getDirectoryContent use a std::set instead of a std::vector so the dir content is sorted. * Make the getStatusInfo method const and not return a useless boolean. llvm-svn: 17872
-
Reid Spencer authored
*Implement/Document the cl::extrahelp feature instead of the MoreHelp ptr. llvm-svn: 17871
-
Chris Lattner authored
llvm-svn: 17870
-
Chris Lattner authored
hold your nose!) llvm-svn: 17869
-
Chris Lattner authored
already been emitted, we don't have to remember it and deal with it later, just emit it directly. llvm-svn: 17868
-
Chris Lattner authored
* Get rid of "emitMaybePCRelativeValue", either we want to emit a PC relative value or not: drop the maybe BS. As it turns out, the only places where the bool was a variable coming in, the bool was a dynamic constant. llvm-svn: 17867
-
Chris Lattner authored
immediately instead of lazily. In this program, for example: int main() { printf("hello world\n"); printf("hello world\n"); printf("hello world\n"); printf("hello world\n"); } We used to have to go through compilation callback 4 times (once for each call to printf), now we don't go to it at all. Thanks to Misha for noticing this, and for adding the initial ghost linkage patches. llvm-svn: 17864
-
Chris Lattner authored
already has been. This may be a small speedup. llvm-svn: 17863
-
Chris Lattner authored
set up. llvm-svn: 17862
-
Chris Lattner authored
llvm-svn: 17861
-
- Nov 15, 2004
-
-
Chris Lattner authored
bytecode files by about 8 bytes per external function llvm-svn: 17859
-
Chris Lattner authored
body for the function. llvm-svn: 17858
-
Chris Lattner authored
llvm-svn: 17857
-
Chris Lattner authored
the dtor for the BytecodeReader class will try to free it again! llvm-svn: 17856
-
Chris Lattner authored
llvm-svn: 17855
-
Chris Lattner authored
AT ALL. This saves 11 bytes per external function from the bytecode file, and is also required to make GhostLinkage work. llvm-svn: 17854
-
Chris Lattner authored
FunctionBlock. llvm-svn: 17853
-
Misha Brukman authored
llvm-svn: 17851
-
Misha Brukman authored
llvm-svn: 17834
-
Reid Spencer authored
Patch contributed by Morten Ofstad. llvm-svn: 17830
-
Reid Spencer authored
Patch contributed by Morten Ofstad llvm-svn: 17827
-
Reid Spencer authored
Patch provided by Morten Ofstad llvm-svn: 17826
-
Chris Lattner authored
llvm-svn: 17825
-
Chris Lattner authored
llvm-svn: 17824
-
Brian Gaeke authored
llvm-svn: 17823
-
Brian Gaeke authored
llvm-svn: 17822
-
Chris Lattner authored
llvm-svn: 17821
-
Chris Lattner authored
1. Speedup getValueState by having it not consider Arguments. It's better to just add them before we start SCCP'ing. 2. SCCP can delete the contents of dead blocks. No really, it's ok! This reduces the size of the IR for subsequent passes, even though simplifycfg would do the same job. In practice, simplifycfg does not run until much later than sccp in gccas llvm-svn: 17820
-
Chris Lattner authored
llvm-svn: 17818
-
Reid Spencer authored
llvm-svn: 17817
-
Chris Lattner authored
class. The only changes are minor: * Do not try to SCCP instructions that return void in the rewrite loop. This is silly and fool hardy, wasting a map lookup and adding an entry to the map which is never used. * If we decide something has an undefined value, rewrite it to undef, potentially leading to further simplications. llvm-svn: 17816
-
Reid Spencer authored
llvm-svn: 17815
-