| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 13900
|
|
|
|
|
|
|
|
|
|
| |
This change removes the BuildBytecodeInfo flag from the SlotCalculator
class. This flag was needed to distinguish between the Bytecode/Writer
and the AsmWriter. Now that AsmWriter doesn't use SlotCalculator, we can
remove this flag and simplify some code. Also, some minor name changes
to CachedWriter.h needed to be committed (missed in previous commit).
llvm-svn: 13785
|
|
|
|
| |
llvm-svn: 13754
|
|
|
|
|
|
| |
patch was graciously contributed by Vladimir Prus.
llvm-svn: 13185
|
|
|
|
| |
llvm-svn: 11474
|
|
|
|
|
|
| |
Have I ever mentioned how much I _hate_ constantpointerrefs?
llvm-svn: 11212
|
|
|
|
| |
llvm-svn: 10931
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fact "profitable" to do so. This makes compactification "free" for small
programs (ie, it is completely disabled) and even helps large programs by
not having to encode pointless compactification planes.
On 176.gcc, this saves 50K from the bytecode file, which is, alas only
a couple percent.
This concludes my head bashing against the bytecode format, at least for
now.
llvm-svn: 10922
|
|
|
|
|
|
|
|
| |
the bytecode file for 176.gcc by about 200K (10%), and 254.gap by about 167K,
a 25% reduction. There is still a lot of room for improvement in the encoding
of the compaction table.
llvm-svn: 10913
|
|
|
|
|
|
|
| |
type planes. This saves about 5k on 176.gcc, and is needed for a subsequent
patch of mine I'm working on.
llvm-svn: 10908
|
|
|
|
| |
llvm-svn: 10888
|
|
|
|
|
|
| |
asmwriter never did!
llvm-svn: 10885
|
|
|
|
|
|
| |
that make up the strings to the slotcalculator.
llvm-svn: 10862
|
|
|
|
|
|
|
|
| |
Since this really only makes sense for these two, change hte instance variable
to reflect whether we are writing a bytecode file or not. This makes it
reasonable to add bcwriter specific stuff to it as necessary.
llvm-svn: 10837
|
|
|
|
| |
llvm-svn: 10757
|
|
|
|
| |
llvm-svn: 10756
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The first change (which is disabled) compactifies all of the function constant
pools into the global constant pool, in an attempt to reduce the amount of
duplication and overhead. Unfortunately, as the comment indicates, this is
not yet a win, so it is disabled.
The second change sorts the typeid's so that those types that can be used
by instructions in the program appear earlier in the table than those that
cannot (such as structures and arrays). This causes the instructions to
be able to use the dense encoding more often, saving about 5K on 254.gap.
This is only a .65% savings though, unfortunately. :(
llvm-svn: 10754
|
|
|
|
| |
llvm-svn: 10131
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
| |
llvm-svn: 9629
|
|
|
|
|
|
|
| |
to create the minimum number of opaque types for each type with a
cycle in its type graph.
llvm-svn: 9615
|
|
|
|
| |
llvm-svn: 9575
|
|
|
|
|
|
| |
occur in the module
llvm-svn: 9336
|
|
|
|
| |
llvm-svn: 9335
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
| |
llvm-svn: 9297
|
|
|
|
|
|
|
|
|
| |
Rename SlotCalculator::getValSlot() to SlotCalculator::getSlot(),
SlotCalculator::insertValue() to SlotCalculator::getOrCreateSlot(),
SlotCalculator::insertVal() to SlotCalculator::insertValue(), and
SlotCalculator::doInsertVal() to SlotCalculator::doInsertValue().
llvm-svn: 9190
|
|
|
|
| |
llvm-svn: 9081
|
|
|
|
| |
llvm-svn: 9071
|
|
|
|
| |
llvm-svn: 7253
|
|
|
|
|
|
| |
* Add support for implicit zero initializers
llvm-svn: 5750
|
|
|
|
|
|
| |
wasn't an optimization and it was causing lots of bugs.
llvm-svn: 4779
|
|
|
|
| |
llvm-svn: 4157
|
|
|
|
| |
llvm-svn: 3065
|
|
|
|
|
|
| |
For details, See: docs/2002-06-25-MegaPatchInfo.txt
llvm-svn: 2779
|
|
|
|
| |
llvm-svn: 2378
|
|
|
|
| |
llvm-svn: 2270
|
|
|
|
|
|
| |
be 'Argument' instead of FunctionArgument.
llvm-svn: 2216
|
|
|
|
|
|
|
| |
because the slot calculator is already part of the VMCore library.
* Rename incorporateMethod and purgeMethod to *Function
llvm-svn: 2154
|
|
|
|
|
|
|
| |
class. The Method class is obsolete (renamed) and all references to it
are being converted over to Function.
llvm-svn: 2144
|
|
|
|
|
|
|
| |
Method::inst_* is now in llvm/Support/InstIterator.h
GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h
llvm-svn: 1746
|
|
|
|
| |
llvm-svn: 1503
|
|
|
|
|
|
|
| |
Renamed op_const_iterator -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
llvm-svn: 1408
|
|
|
|
|
|
|
| |
Rename ConstPool* -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
llvm-svn: 1407
|
|
|
|
|
|
|
|
| |
from "llvm/Support/..." that are not llvm dependant.
Move files and fix #includes
llvm-svn: 1400
|
|
|
|
| |
llvm-svn: 754
|
|
|
|
|
|
| |
Eliminate old style casts from value.h
llvm-svn: 696
|
|
|
|
|
|
| |
Convert more code to use them
llvm-svn: 695
|
|
|
|
| |
llvm-svn: 664
|
|
|
|
| |
llvm-svn: 598
|