| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration.
llvm-svn: 175006
|
| |
|
|
| |
llvm-svn: 174847
|
| |
|
|
|
|
| |
the old ReadRecord methods.
llvm-svn: 172952
|
| |
|
|
| |
llvm-svn: 172921
|
| |
|
|
|
|
|
|
| |
Again, tools are trickier to pick the main module header for than
library source files. I've started to follow the pattern of using
LLVMContext.h when it is included as a stub for program source files.
llvm-svn: 169252
|
| |
|
|
|
|
|
| |
This is for backwards compatibility for pre-3.x bc files. The code reads the
code, but does nothing with it.
llvm-svn: 168779
|
| |
|
|
|
|
| |
The dependent libraries feature was never used and has bit-rotted. Remove it.
llvm-svn: 168694
|
| |
|
|
| |
llvm-svn: 163258
|
| |
|
|
| |
llvm-svn: 163242
|
| |
|
|
| |
llvm-svn: 163241
|
| |
|
|
|
|
|
|
| |
Avoid interleaving fprintf(stderr,...) and outs() << ...;
Also add a column to show "bytes-per" for each record.
llvm-svn: 163240
|
| |
|
|
|
|
| |
errors).
llvm-svn: 153065
|
| |
|
|
|
|
|
| |
This CL delays reading of function bodies from initial parse until
materialization, allowing overlap of compilation with bitcode download.
llvm-svn: 149918
|
| |
|
|
| |
llvm-svn: 149911
|
| |
|
|
|
|
| |
should be feature complete now. Lets see if it works.
llvm-svn: 149215
|
| |
|
|
| |
llvm-svn: 147855
|
| |
|
|
| |
llvm-svn: 146079
|
| |
|
|
|
|
| |
back to 3.0
llvm-svn: 145164
|
| |
|
|
|
|
| |
compatibility in the BitcodeReader.
llvm-svn: 143598
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
patch brings numerous advantages to LLVM. One way to look at it
is through diffstat:
109 files changed, 3005 insertions(+), 5906 deletions(-)
Removing almost 3K lines of code is a good thing. Other advantages
include:
1. Value::getType() is a simple load that can be CSE'd, not a mutating
union-find operation.
2. Types a uniqued and never move once created, defining away PATypeHolder.
3. Structs can be "named" now, and their name is part of the identity that
uniques them. This means that the compiler doesn't merge them structurally
which makes the IR much less confusing.
4. Now that there is no way to get a cycle in a type graph without a named
struct type, "upreferences" go away.
5. Type refinement is completely gone, which should make LTO much MUCH faster
in some common cases with C++ code.
6. Types are now generally immutable, so we can use "Type *" instead
"const Type *" everywhere.
Downsides of this patch are that it removes some functions from the C API,
so people using those will have to upgrade to (not yet added) new API.
"LLVM 3.0" is the right time to do this.
There are still some cleanups pending after this, this patch is large enough
as-is.
llvm-svn: 134829
|
| |
|
|
| |
llvm-svn: 133274
|
| |
|
|
|
|
| |
and other backward compatibility hacks.
llvm-svn: 133273
|
| |
|
|
| |
llvm-svn: 133269
|
| |
|
|
| |
llvm-svn: 133268
|
| |
|
|
| |
llvm-svn: 127858
|
| |
|
|
| |
llvm-svn: 125367
|
| |
|
|
|
|
| |
via an out parm.
llvm-svn: 121958
|
| |
|
|
|
|
| |
a bug in Apple GCC 4.0.
llvm-svn: 121409
|
| |
|
|
|
|
| |
error_code &ec. And fix clients.
llvm-svn: 121379
|
| |
|
|
| |
llvm-svn: 120298
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
is different from what the code now uses in a two ways: NamedMDNodes
were considered Values and included in the numbering, and the
function-local metadata counter wasn't reset between functions.
The later problem breaks lazy deserialization, so instead of trying
to emulate the old numbering, just drop the old metadata. The only
in-tree use case is debug info with LTO, where the QOI loss is
considered acceptable.
llvm-svn: 113557
|
| |
|
|
| |
llvm-svn: 111367
|
| |
|
|
|
|
| |
code ids, not just some of them.
llvm-svn: 108543
|
| |
|
|
|
|
|
|
|
|
|
|
| |
having the bitcode writer materialize mdnodes for all the
debug location tuples when writing out the bc file and
stores the information in a more compact form. For example,
the -O0 -g bc file for combine.c in 176.gcc shrinks from
739392 to 512096 bytes.
This concludes my planned short-term debug info work.
llvm-svn: 100261
|
| |
|
|
| |
llvm-svn: 100257
|
| |
|
|
| |
llvm-svn: 82772
|
| |
|
|
| |
llvm-svn: 82771
|
| |
|
|
|
|
| |
Likewise for constant inbounds GEP.
llvm-svn: 82763
|
| |
|
|
| |
llvm-svn: 82259
|
| |
|
|
|
|
| |
for stderr and fprintf.
llvm-svn: 79909
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
forcing them down into various .cpp files.
This change also:
1. Renames TimeValue::toString() and Path::toString() to ::str()
for similarity with the STL.
2. Removes all stream insertion support for sys::Path, forcing
clients to call .str().
3. Removes a use of Config/alloca.h from bugpoint, using smallvector
instead.
4. Weans llvm-db off <iostream>
sys::Path really needs to be gutted, but I don't have the desire to
do it at this point.
llvm-svn: 79869
|
| |
|
|
| |
llvm-svn: 77633
|
| |
|
|
|
|
| |
METADATA_BLOCK in bitcode file.
llvm-svn: 76834
|
| |
|
|
|
|
|
| |
Derive MDString directly from MetadataBase.
Introduce new bitcode block to hold metadata.
llvm-svn: 76759
|
| |
|
|
| |
llvm-svn: 76070
|
| |
|
|
| |
llvm-svn: 75791
|
| |
|
|
| |
llvm-svn: 72684
|
| |
|
|
| |
llvm-svn: 70548
|
| |
|
|
|
|
| |
only llvm-bcanalyzer wants this info.
llvm-svn: 70239
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and % abbreviated. For example:
Record Histogram:
Count # Bits % Abv Record Kind
25738 3424174 100.00 SM_SLOC_INSTANTIATION_ENTRY
814 562079 100.00 SM_SLOC_FILE_ENTRY
798 34110 SM_HEADER_FILE_INFO
3 91104 100.00 SM_SLOC_BUFFER_BLOB
3 498 100.00 SM_SLOC_BUFFER_ENTRY
1 465 SM_LINE_TABLE
llvm-svn: 70215
|