| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Change use of "packed" term to "vector" in comments, strings, variable
names, etc.
llvm-svn: 34300
|
| |
|
|
|
|
|
| |
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
llvm-svn: 34293
|
| |
|
|
|
|
|
|
|
|
| |
While preparing http://llvm.org/PR1198 I noticed several asserts
protecting unprepared code from i128 types that weren't actually failing
when they should because they were written as assert("foo") instead of
something like assert(0 && "foo"). This patch fixes all the cases that a
quick grep found.
llvm-svn: 34267
|
| |
|
|
| |
llvm-svn: 34231
|
| |
|
|
| |
llvm-svn: 34229
|
| |
|
|
| |
llvm-svn: 34218
|
| |
|
|
|
|
| |
module. This speeds up the bcreader 11%.
llvm-svn: 34198
|
| |
|
|
|
|
|
|
|
| |
std::map<std::string, Value*>
as its main datastructure. There are many improvements yet to be made, but
this speeds up opt --std-compile-opts on 447.dealII by 7.3%.
llvm-svn: 34193
|
| |
|
|
|
|
| |
the bc reader by 0.8%. Deemed "not worth it"
llvm-svn: 34169
|
| |
|
|
| |
llvm-svn: 34148
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The bcreader counts on "primitive" types being inserted before they are
referenced in other types. With recent changes to the bcwriter, this fact
became exposed since IntegerType is no longer "primitive". We can no longer
count on all IntegerTypes being inserted early. This patch modifies
getOrCreateTypeSlot to insert any sub-type that can't possibly recurse
before we create the slot for the type. This has the benefit of reducing
the number of OpaqueType objects the reader needs to deal with.
llvm-svn: 34147
|
| |
|
|
| |
llvm-svn: 34146
|
| |
|
|
|
|
|
|
|
|
| |
vector<vector> to avoid allocations. This speeds up bcwriting of 447.dealII
from 0.8276 to 0.7637s (8.4%).
This concludes this round of proding the bcwriter into submission. Final
speedup from 24.4s to 0.7637s (32x).
llvm-svn: 34142
|
| |
|
|
|
|
|
| |
of memory, through a combination of DenseMap and SmallVector. This speeds
up bcwriter on 447.dealII from 1.31s to 0.82s (60% faster).
llvm-svn: 34141
|
| |
|
|
|
|
|
| |
*slightly* less abusive of memory. This speeds up the bcwriter from
1.83s to 1.32s (39% faster) on 447.dealII.
llvm-svn: 34140
|
| |
|
|
| |
llvm-svn: 34139
|
| |
|
|
|
|
| |
of 447.dealII from 3.3s to 1.8s (80% faster).
llvm-svn: 34138
|
| |
|
|
| |
llvm-svn: 34136
|
| |
|
|
|
|
| |
speeds up bcwriting of 447.dealII by 40%, from 4.63s to 3.32s.
llvm-svn: 34135
|
| |
|
|
|
|
|
|
| |
is inserted into the table, it remembers that the value needs to be popped
off. This makes purgeFunction much faster, speeding up bcwriting of 447.dealII
from 6.8->4.6s (47%).
llvm-svn: 34133
|
| |
|
|
|
|
|
| |
per function. This speeds up bcwriting on 447.dealII from 10.16s to 6.81s
(49%).
llvm-svn: 34132
|
| |
|
|
|
|
|
| |
function-local values. This speeds up bcwriting a small 2.2% (10.384->10.156s
on 447.dealII), but paves the way for more important changes.
llvm-svn: 34131
|
| |
|
|
| |
llvm-svn: 34130
|
| |
|
|
| |
llvm-svn: 34129
|
| |
|
|
|
|
| |
clients. Same for getTypeSlot.
llvm-svn: 34128
|
| |
|
|
|
|
| |
iteration stuff.
llvm-svn: 34127
|
| |
|
|
| |
llvm-svn: 34126
|
| |
|
|
| |
llvm-svn: 34125
|
| |
|
|
|
|
| |
caller.
llvm-svn: 34124
|
| |
|
|
| |
llvm-svn: 34123
|
| |
|
|
| |
llvm-svn: 34122
|
| |
|
|
| |
llvm-svn: 34121
|
| |
|
|
| |
llvm-svn: 34120
|
| |
|
|
|
|
| |
there.
llvm-svn: 34119
|
| |
|
|
| |
llvm-svn: 34118
|
| |
|
|
| |
llvm-svn: 34117
|
| |
|
|
| |
llvm-svn: 34116
|
| |
|
|
| |
llvm-svn: 34115
|
| |
|
|
| |
llvm-svn: 34114
|
| |
|
|
|
|
| |
for types.
llvm-svn: 34113
|
| |
|
|
|
|
| |
generate errors about being unable to resolve overloaded type.
llvm-svn: 34103
|
| |
|
|
| |
llvm-svn: 34091
|
| |
|
|
| |
llvm-svn: 34086
|
| |
|
|
|
|
| |
scope.
llvm-svn: 34085
|
| |
|
|
|
|
|
|
|
|
|
| |
2. All function-level constants are now incorporated into the module-level
constant pool, since the compaction table was removed. Eliminate extra
work to check for them.
This speeds up the bcwriter from 24.4s to 13.1s on 447.dealII and .73 -> .56s
on kc++ in a release build.
llvm-svn: 34084
|
| |
|
|
| |
llvm-svn: 34022
|
| |
|
|
| |
llvm-svn: 34021
|
| |
|
|
|
|
| |
lli doesn't link in Analyzer.cpp.
llvm-svn: 34020
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
api's look like this:
ModuleProvider *getBytecodeModuleProvider(
const std::string &Filename, ///< Name of file to be read
BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer,
std::string* ErrMsg = 0, ///< Optional error message holder
BytecodeHandler* H = 0 ///< Optional handler for reader events
);
This is ugly, but allows a client to say:
getBytecodeModuleProvider("foo", 0);
If they do this, there is no dependency on the compression libraries, saving
codesize.
llvm-svn: 34012
|
| |
|
|
| |
llvm-svn: 34007
|