summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Fix PR1146: parameter attributes are longer part ofDuncan Sands2007-11-271-5/+12
| | | | | | | | | | | | the function type, instead they belong to functions and function calls. This is an updated and slightly corrected version of Reid Spencer's original patch. The only known problem is that auto-upgrading of bitcode files doesn't seem to work properly (see test/Bitcode/AutoUpgradeIntrinsics.ll). Hopefully a bitcode guru (who might that be? :) ) will fix it. llvm-svn: 44359
* Fix a nasty problem where we would miss enumeration of some types. This fixesChris Lattner2007-05-061-1/+17
| | | | | | issues with CE_CAST etc. llvm-svn: 36864
* enumerate the operands of a constant before we enumerate the constant itselfChris Lattner2007-05-061-9/+22
| | | | | | This avoids fwd references in the reader. llvm-svn: 36822
* implement the 'string constant' optimization. This shrinks kc.bit fromChris Lattner2007-05-061-4/+5
| | | | | | 2878544 to 2815788 llvm-svn: 36818
* optimize constant layout. This fixes encoding of 181.mcf (by ensuringChris Lattner2007-05-041-5/+46
| | | | | | | integer structure idx's are emitted before constant expr geps) and shrinks files slightly. For example kc++ shrinks from 4326188 to 4240128 bytes. llvm-svn: 36742
* simple optimization for the type tableChris Lattner2007-05-041-5/+29
| | | | llvm-svn: 36741
* enumerate parameter attr lists.Chris Lattner2007-05-031-0/+17
| | | | llvm-svn: 36709
* fix encoding of BB names in the symtabChris Lattner2007-05-031-1/+1
| | | | llvm-svn: 36704
* start code for writing out instructions. Separate BB#s from normal valueChris Lattner2007-04-261-3/+7
| | | | | | #'s. llvm-svn: 36472
* enumerate BB's separately from other function values.Chris Lattner2007-04-261-1/+6
| | | | llvm-svn: 36467
* add support for incorporating and purging functions to the value enumeratorChris Lattner2007-04-261-96/+31
| | | | llvm-svn: 36465
* move some code around, fix a bug in the reader reading globalinits (whichChris Lattner2007-04-261-0/+16
| | | | | | | I just introduced), stub out function reading, purge aggregate values from the value table before reading functions. llvm-svn: 36463
* add bitcode alias supportChris Lattner2007-04-261-0/+10
| | | | llvm-svn: 36461
* Emit module-level constants.Chris Lattner2007-04-241-1/+4
| | | | llvm-svn: 36384
* Initial support for writing bitcode files. This currently only writes types,Chris Lattner2007-04-221-0/+235
the type symtab, and global/function protos, and is missing the important size optimization, but it is a place to start. llvm-svn: 36331
OpenPOWER on IntegriCloud