|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| ... |  | 
| | 
| 
| 
| | llvm-svn: 16961 | 
| | 
| 
| 
| | llvm-svn: 16950 | 
| | 
| 
| 
| | llvm-svn: 16885 | 
| | 
| 
| 
| | llvm-svn: 16542 | 
| | 
| 
| 
| 
| 
| 
| 
| | end of files, breaking the CFE build.  As a gross hack around this,
ignore any trailing garbage on bytecode files.  Thanks to Brian for digging
in and identifying the problem.
llvm-svn: 16525 | 
| | 
| 
| 
| 
| 
| | Patch contributed by Paolo Invernizzi. Thanks Paolo!
llvm-svn: 16368 | 
| | 
| 
| 
| | llvm-svn: 16298 | 
| | 
| 
| 
| | llvm-svn: 16297 | 
| | 
| 
| 
| | llvm-svn: 16281 | 
| | 
| 
| 
| | llvm-svn: 16275 | 
| | 
| 
| 
| 
| 
| | Patch contributed by Paolo Invernizzi!
llvm-svn: 16152 | 
| | 
| 
| 
| 
| 
| 
| 
| | Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137 | 
| | 
| 
| 
| | llvm-svn: 16064 | 
| | 
| 
| 
| | llvm-svn: 16063 | 
| | 
| 
| 
| 
| 
| 
| | CompactionTable really needs to be emitted. This is not a straight forward
computation, hence the need for a member function here.
llvm-svn: 16062 | 
| | 
| 
| 
| 
| 
| | file.
llvm-svn: 16037 | 
| | 
| 
| 
| | llvm-svn: 16036 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - Rearrange output order to make more sense
- Make only the function level output count as "detailed"
- Output dump output directly to stream, don't buffer it.
- Fix counting of block sizes
- Implement new handlers for number of types, dependent libs, target triple
- Compute the size of block headers.
llvm-svn: 15985 | 
| | 
| 
| 
| | llvm-svn: 15984 | 
| | 
| 
| 
| 
| 
| 
| 
| | - Pass the output stream to the analyzer so it can write its output there
  directly instead of buffering it.
- Don't pass a boolean to ParseBytecode because its not needed any more.
llvm-svn: 15983 | 
| | 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - provide the correct conversion for ModuleBlockID in read_block (a potential
  bug but not actually exploited because reading module block ids doesn't
  use read_block).
- install support for handleTypeList handler
- install support for handleDependentLibrary handler
- install support for handleTargetTriple handler
- clean up comments, output strings,
- ensure that processing function arguments doesn't SIGSEGV if one of the
  arguments is a null pointer (yeah, it happened .. weird)
- prepare for version 5 bytecode by documenting what will change.
llvm-svn: 15981 | 
| | 
| 
| 
| | llvm-svn: 15938 | 
| | 
| 
| 
| 
| 
| 
| 
| | - 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 | 
| | 
| 
| 
| | llvm-svn: 15848 | 
| | 
| 
| 
| 
| 
| | rid of compilation warnings on some platforms.
llvm-svn: 15512 | 
| | 
| 
| 
| | llvm-svn: 15487 | 
| | 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 15325 | 
| | 
| 
| 
| | llvm-svn: 15255 | 
| | 
| 
| 
| 
| 
| 
| 
| | (At[3] << 24) is an int type and it is being coerced to uint64_t, it was
getting sign extended, causing us to get FFFFFFFFxxxxxxxx constants all of
the time.
llvm-svn: 15224 | 
| | 
| 
| 
| 
| 
| 
| | Adjust for new Module.h interface for dependent libraries.
Excise unused backwards compatibility flag.
llvm-svn: 15220 | 
| | 
| 
| 
| 
| 
| | regression bug introduced in release 1.2
llvm-svn: 15219 | 
| | 
| 
| 
| | llvm-svn: 15218 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - 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 | 
| | 
| 
| 
| 
| 
| 
| 
| | - Replace ConstantPointerRef usage with GlobalValue usage
- Minimize redundant isa<GlobalValue> usage
- Correct isa<Constant> for GlobalValue subclass
llvm-svn: 14942 | 
| | 
| 
| 
| 
| 
| | - Correct ordering of tests because for GlobalValue isa Constant
llvm-svn: 14941 | 
| | 
| 
| 
| 
| 
| 
| | from being treated like a Function which can cause the contents of the list
to be come invalidated.
llvm-svn: 14940 | 
| | 
| 
| 
| 
| 
| 
| | - Replace ConstantPointerRef usage with GlobalValue usage
- Correct isa<Constant> for GlobalValue subclass
llvm-svn: 14939 | 
| | 
| 
| 
| 
| 
| | - Update for BytecodeHandler interface change resuing from CPRs going away
llvm-svn: 14938 | 
| | 
| 
| 
| | llvm-svn: 14845 | 
| | 
| 
| 
| | llvm-svn: 14826 | 
| | 
| 
| 
| | llvm-svn: 14786 | 
| | 
| 
| 
| | llvm-svn: 14775 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - Remove tabs
- Standardize use of space around ( and ).
- Consolidate the ConstantPlaceHolder class
- Rename two methods to be more meaningful (ParseType, ParseTypes)
- Correct indentation of blocks
- Add documentation
- Convert input dependent asserts to error(...) so it throws instead.
Provide placeholder implementations of read_float and read_double that
still read in platform-specific endianess. When I figure out how to do
this without knowing the endianess of the platform, it will get implemented
correctly.
llvm-svn: 14765 | 
| | 
| 
| 
| 
| 
| 
| | - Add read_float and read_double in preparation for a correct
  implementation of bytecode floating point support.
llvm-svn: 14764 | 
| | 
| 
| 
| | llvm-svn: 14763 | 
| | 
| 
| 
| 
| 
| 
| | point values. This will be fixed when I figure out how to do it correctly
without depending on knowing the endianess of a platform.
llvm-svn: 14762 | 
| | 
| 
| 
| 
| 
| | expanded size instead of the file size). Thanks Chris.
llvm-svn: 14731 |