| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to
have three division instructions: signed, unsigned, floating point. The
bytecode and assembler are bacwards compatible, however.
llvm-svn: 31195
|
| |
|
|
|
|
|
|
|
| |
with ParseBytecodeFile used to leak both a ModuleProvider (and related
bytecode parser stuff attached to it) AND a file descriptor, which was
never closed. This prevented gccld/llvm-ld/llvm-link from linking together
apps with more that ~252 .bc files on darwin.
llvm-svn: 30912
|
| |
|
|
|
|
| |
- Removed warning about clobbered parameter in Bytecode/Reader
llvm-svn: 30026
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Final commit for this bug. This removes the last EH holdouts in LLVM
and turns off exception support by using the -fno-exceptions option. This
leads to the following reduction in library and executable sizes:
DEBUG BUILD RELEASE BUILD
before after delta before after delta
lib 162,328K 157,616K 4,712 17,864K 16,416K 1,448K
bin 571,444K 557,156K 14,288 63,296K 56,996K 6,300K
Debug Improvement: 19,000K (2.59%)
Release Improvement: 7,748K (9.55%)
llvm-svn: 29882
|
| |
|
|
|
|
|
|
| |
Make the Bytecode Reader use setjmp/longjump instead of exceptions to handle
errors. The alternative was even uglier than setjmp/longjump as it would
impact the interface and workings of nearly every function in the reader.
llvm-svn: 29819
|
| |
|
|
|
|
| |
llvm-gcc3.
llvm-svn: 29041
|
| |
|
|
| |
llvm-svn: 29024
|
| |
|
|
|
|
|
| |
bytecode reading. This code is crufty, the result of much hacking to get things
working correctly. Cleanup patches will follow.
llvm-svn: 25682
|
| |
|
|
| |
llvm-svn: 25621
|
| |
|
|
|
|
| |
need to be upgraded.
llvm-svn: 25445
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
lookups instead of linear time lookups. This speeds up bc parsing of a
large file from
137.834u 118.256s 4:27.96
to
132.611u 114.436s 4:08.53
with a release build.
llvm-svn: 23611
|
| |
|
|
| |
llvm-svn: 22809
|
| |
|
|
| |
llvm-svn: 21752
|
| |
|
|
| |
llvm-svn: 21417
|
| |
|
|
| |
llvm-svn: 19894
|
| |
|
|
|
|
| |
avoid a getType.
llvm-svn: 18691
|
| |
|
|
| |
llvm-svn: 17855
|
| |
|
|
| |
llvm-svn: 17769
|
| |
|
|
| |
llvm-svn: 17578
|
| |
|
|
| |
llvm-svn: 17535
|
| |
|
|
| |
llvm-svn: 17054
|
| |
|
|
| |
llvm-svn: 16964
|
| |
|
|
|
|
|
|
| |
Remove the "processFunctions" boolean from ParseBytecode as it is no
longer needed. This is part of avoiding double reading of functions
when analyzing bytecode.
llvm-svn: 15982
|
| |
|
|
|
|
|
|
| |
- File format version number bumped to 4
- Writer will now align nothing
- Reader now only expects alignment for version 3 or earlier
llvm-svn: 15875
|
| |
|
|
|
|
| |
by 5% on eon
llvm-svn: 15452
|
| |
|
|
|
|
| |
away. This speeds up by .bc reader by 30% in a profile build on 252.eon.
llvm-svn: 15450
|
| |
|
|
|
|
| |
regression bug introduced in release 1.2
llvm-svn: 15219
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- encode/decode target triple and dependent libraries
bug 401:
- fix encoding/decoding of FP values to be little-endian only
bug 402:
- initial (compatible) cut at 24-bit types instead of 32-bit
- reduce size of block headers by 50%
Other:
- cleanup Writer by consolidating to one compilation unit, rem. other files
- use a std::vector instead of std::deque so the buffer can be allocated
in multiples of 64KByte chunks rather than in multiples of some smaller
(default) number.
llvm-svn: 15210
|
| |
|
|
|
|
|
| |
from being treated like a Function which can cause the contents of the list
to be come invalidated.
llvm-svn: 14940
|
| |
|
|
|
|
|
| |
- Add read_float and read_double in preparation for a correct
implementation of bytecode floating point support.
llvm-svn: 14764
|
| |
|
|
|
|
|
|
|
|
| |
- get rid of PARSE_ERROR macro
- add error(std::string) function
- use error(std::string) for all errors
- make input dependent asserts call error(std::string) instead
- ensure asserts are only for logic bugs, not input discrepancies.
llvm-svn: 14729
|
| |
|
|
| |
llvm-svn: 14634
|
| |
|
|
|
|
|
|
| |
too soon so the function data was not getting dumped (it was generated
after the call handleFinish). Also cleaned up the output format for
proper indentation.
llvm-svn: 14627
|
| |
|
|
|
|
|
|
| |
mistaken for anything else.
- Move function descriptions to Reader.cpp file per Chris.
- Remove tabs.
llvm-svn: 14602
|
|
|
declares the BytecodeReader class.
llvm-svn: 14495
|