- Oct 10, 2003
-
-
Misha Brukman authored
llvm-svn: 9027
-
Misha Brukman authored
llvm-svn: 9023
-
Misha Brukman authored
* Doxygenified function comments * Added FIXMEs to solicit documentation for other functions llvm-svn: 9022
-
Misha Brukman authored
llvm-svn: 9021
-
Misha Brukman authored
* Wrap code at 80 columns * Ordered includes according to LLVM style guide llvm-svn: 9020
-
Brian Gaeke authored
Never call setjmp(), longjmp() or strsignal(). llvm-svn: 9014
-
Brian Gaeke authored
In lookupFunction(): Change to use "F" for Function argument instead of ancient "M". Remove commented-out code. Change to use GetAddressOfSymbol instead of dlsym. llvm-svn: 9013
-
Brian Gaeke authored
llvm-svn: 9012
-
Brian Gaeke authored
llvm-svn: 9011
-
Brian Gaeke authored
llvm-svn: 9010
-
Misha Brukman authored
llvm-svn: 9009
-
Brian Gaeke authored
llvm-svn: 9008
-
Chris Lattner authored
llvm-svn: 9007
-
Chris Lattner authored
are ordered by name, not by slot, so the previous solution wasn't any good. On a large testcase, this reduces time to parse from 2.17s to 1.58s. llvm-svn: 9002
-
Chris Lattner authored
llvm-svn: 8998
-
Chris Lattner authored
llvm-svn: 8996
-
Chris Lattner authored
llvm-svn: 8994
-
Chris Lattner authored
tasty 15% speedup on the testcase from Bill. llvm-svn: 8993
-
Chris Lattner authored
if possible. This provides a consistent 8.5% speedup. llvm-svn: 8991
-
- Oct 09, 2003
-
-
Chris Lattner authored
Throw the RawInst class in an anon namespace llvm-svn: 8990
-
Chris Lattner authored
llvm-svn: 8988
-
Chris Lattner authored
llvm-svn: 8986
-
Chris Lattner authored
in practice though llvm-svn: 8985
-
Chris Lattner authored
changes: * BytecodeReader::getType(...) used to return a null pointer on error. This was only checked about half the time. Now we convert it to throw an exception, and delete the half that checked for error. This was checked in before, but psmith crashed and lost the change :( * insertValue no longer returns -1 on error, so callers don't need to check for it. * Substantial rewrite of InstructionReader.cpp, to use more efficient, simpler, data structures. This provides another 5% speedup. This also makes the code much easier to read and understand. llvm-svn: 8984
-
Chris Lattner authored
simplifies the control flow a bit. This provides a small (~3%) speedup, but it's primarily a cleanup exercise. llvm-svn: 8983
-
Chris Lattner authored
This results in no significant speedup, but does provide simpler code llvm-svn: 8980
-
Chris Lattner authored
new, simpler, ForwardReferences data structure. This is just the first simple replacement, subsequent changes will improve the code more. This simple change improves the performance of loading a file from HDF5 (contributed by Bill) from 2.36s to 1.93s, a 22% improvement. This presumably has to do with the fact that we only create ONE placeholder for a particular forward referenced values, and also may be because the data structure is much simpler. llvm-svn: 8979
-
Chris Lattner authored
llvm-svn: 8978
-
Chris Lattner authored
in the bytecode parser. Before we tried to shoehorn basic blocks into the "getValue" code path with other types of values. For a variety of reasons this was a bad idea, so this patch separates it out into its own data structure. This simplifies the code, makes it fit in 80 columns, and is also much faster. In a testcase provided by Bill, which has lots of PHI nodes, this patch speeds up bytecode parsing from taking 6.9s to taking 2.32s. More speedups to follow later. llvm-svn: 8977
-
- Oct 08, 2003
-
-
Chris Lattner authored
llvm-svn: 8976
-
Chris Lattner authored
Bill gave me from 8.69s to 6.90s. llvm-svn: 8971
-
Misha Brukman authored
llvm-svn: 8969
-
Chris Lattner authored
llvm-svn: 8965
-
Chris Lattner authored
to avoid reprocessing PHI nodes needlessly. This speeds up the big bad PHI testcase 43%: from 104.9826 to 73.5157s llvm-svn: 8964
-
Chris Lattner authored
llvm-svn: 8963
-
Chris Lattner authored
of a test that Bill Wendling sent me from 228.5s to 105s. Obviously there is more improvement to be had, but this is a nice speedup which should be "felt" by many programs. llvm-svn: 8962
-
Alkis Evlogimenos authored
and TargetInstrDescriptor::ImplicitUses to always point to a null terminated array and never be null. So there is no need to check for pointer validity when iterating over those sets. Code that looked like: if (const unsigned* AS = TID.ImplicitDefs) { for (int i = 0; AS[i]; ++i) { // use AS[i] } } was changed to: for (const unsigned* AS = TID.ImplicitDefs; *AS; ++AS) { // use *AS } llvm-svn: 8960
-
Chris Lattner authored
llvm-svn: 8955
-
Chris Lattner authored
llvm-svn: 8954
-
Chris Lattner authored
llvm-svn: 8952
-