History log of /external/llvm/lib/Bitcode/Reader/BitcodeReader.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0ffe6984297ece417e591003674d4466a201eb2a 29-Feb-2012 Derek Schuff <dschuff@google.com> Fix PR12080 by ensuring that MaterializeModule actually reads all the bitcode
in the streaming case.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
2ea93875b2f2900b9d244dfd7649c9ed02a34cd7 06-Feb-2012 Derek Schuff <dschuff@google.com> Enable streaming of bitcode

This CL delays reading of function bodies from initial parse until
materialization, allowing overlap of compilation with bitcode download.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
47f79bb58e42f1a08a7f388b8b1596ded7d49bbb 02-Jan-2012 Rafael Espindola <rafael.espindola@gmail.com> Materialize functions whose basic blocks are used by global variables. Fixes
PR11677.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147425 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
cbbb09687f563fad96fd815a3a89920f436373e4 07-Dec-2011 Chad Rosier <mcrosier@apple.com> Begin adding experimental support for preserving use-list ordering of bitcode
files. First, add a new block USELIST_BLOCK to the bitcode format. This is
where USELIST_CODE_ENTRYs will be stored. The format of the USELIST_CODE_ENTRYs
have not yet been defined. Add support in the BitcodeReader for parsing the
USELIST_BLOCK.
Part of rdar://9860654 and PR5680.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146078 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
dbc88494eefd32274ff6e037df0000c0d0e871d2 27-Nov-2011 Chris Lattner <sabre@nondot.org> remove support for reading llvm 2.9 .bc files. LLVM 3.1 is only compatible back to 3.0


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
db125cfaf57cc83e7dd7453de2d509bc8efd0e5e 18-Jul-2011 Chris Lattner <sabre@nondot.org> land David Blaikie's patch to de-constify Type, with a few tweaks.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135375 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
1afcace3a3a138b1b18e5c6270caa8dae2261ae2 09-Jul-2011 Chris Lattner <sabre@nondot.org> Land the long talked about "type system rewrite" patch. This
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.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134829 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
cbd40f8357437a15c653cb8cccd7124a1bb55ae2 07-Jul-2011 Chris Lattner <sabre@nondot.org> type can be null


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134601 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
7af453a3bdc069ef769c3d3ba02f57b4271c56d0 07-Jul-2011 Chris Lattner <sabre@nondot.org> use a more efficient check for 'is metadata'


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
020a5a449f297ced1f0fed08fb81c5da87fb7c9a 17-Jun-2011 Chris Lattner <sabre@nondot.org> remove bitcode reader support for LLVM 2.7 metadata encoding.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133268 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
34711747a1d2c8713e69333bacef1c880810e371 06-Oct-2010 Bill Wendling <isanbard@gmail.com> Provide a fast "get me the target triple from the module" API. This can
drastically reduce the linking time during LTO.

Patch by Shantonu Sen!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
9b10dfb7d6ffb0e4466f908cd7d18212a45cfdac 13-Sep-2010 Dan Gohman <gohman@apple.com> Add full auto-upgrade support for LLVM 2.7 bitcode metadata.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113764 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
19538d1e9fb4f8198b94f8450c6fc43528d8b868 20-Jul-2010 Dan Gohman <gohman@apple.com> Add support for remapping metadata kind IDs when reading in a
bitcode file, so that two bitcode files where the same metadata kind
name happens to have been assigned a different ID can still be
linked together.

Eliminate the restriction that metadata kind IDs can't be 0.

Change MD_dbg from 1 to 0, because we can now, and because it's
less mysterious that way.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108939 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
f0356fe140af1a30587b9a86bcfb1b2c51b8ce20 27-Jan-2010 Jeffrey Yasskin <jyasskin@google.com> Kill ModuleProvider and ghost linkage by inverting the relationship between
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
GlobalValues now, and doesn't provide modules, it's renamed to
"GVMaterializer". Code that used to need a ModuleProvider to materialize
Functions can now materialize the Functions directly. Functions no longer use a
magic linkage to record that they're materializable; they simply ask the
GVMaterializer.

Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
the functions that refer to it. Instead, because Module now exposes the same
functionality ModuleProvider used to, we store a Module* in any
LLVMModuleProviderRef and translate in the wrapper methods. The bindings to
other languages still use the ModuleProvider concept. It would probably be
worth some time to update them to follow the C++ more closely, but I don't
intend to do it.

Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
081134741b40b342fb2f85722c9cea5d412489a8 29-Dec-2009 Chris Lattner <sabre@nondot.org> Final step in the metadata API restructuring: move the
getMDKindID/getMDKindNames methods to LLVMContext (and add
convenience methods to Module), eliminating MetadataContext.
Move the state that it maintains out to LLVMContext.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
50b136dae90eb37f9fc9517a8638020db4f04f9c 28-Oct-2009 Chris Lattner <sabre@nondot.org> add bitcode reader support for blockaddress. We can now fully
round trip blockaddress through .ll and .bc files, so add a testcase.

There are still a bunch of places in the optimizer and other places
that need to be updated to work with these constructs, but at least
the basics are in now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85377 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
e8e0213cc3daa2d0457c22e4c12e6973f21fc942 18-Sep-2009 Devang Patel <dpatel@apple.com> Write and read metadata attachments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
1d0be15f89cb5056e20e2d24faa8d6afb1573bca 13-Aug-2009 Owen Anderson <resistor@mac.com> Push LLVMContexts through the IntegerType APIs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
12ddd409535b52a7fa5157ded9a4cedd161fedb6 11-Aug-2009 Benjamin Kramer <benny.kra@googlemail.com> Make LLVMContext and LLVMContextImpl classes instead of structs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78690 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
48b2f3e4850cd27d54224cd42da8a160d6b95984 05-Aug-2009 Owen Anderson <resistor@mac.com> Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h
not hideous. Also, fix some MSVC compile errors.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78115 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
d5ac40457b62f37f0abfb1d61064f7c7300e91ee 04-Aug-2009 Devang Patel <dpatel@apple.com> Use separate ValueList for metadata.
This fixes PR4666.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
e54abc90fe9942ef3902040a7ac475ce0c369dc9 22-Jul-2009 Devang Patel <dpatel@apple.com> Introduce MetadataBase, a base class for MDString and MDNode.
Derive MDString directly from MetadataBase.
Introduce new bitcode block to hold metadata.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76759 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
74a77812d1785ad6c62226c52dcd4d129b3cdd0b 07-Jul-2009 Owen Anderson <resistor@mac.com> LLVMContext-ify the bitcode reader.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
4434ed44c45c87a72b7a0bf2f91211f895022b91 02-Jul-2009 Owen Anderson <resistor@mac.com> Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the
moment, that I will need to make far-reaching changes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
31895e73591d3c9ceae731a1274c8f56194b9616 01-Jul-2009 Owen Anderson <resistor@mac.com> Hold the LLVMContext by reference rather than by pointer.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
8b477ed579794ba6d76915d56b3f448a7dd20120 01-Jul-2009 Owen Anderson <resistor@mac.com> Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot
of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools.

Patches for Clang and LLVM-GCC to follow.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
962dde3cef3184f1683d5070c298c9a29509d62e 26-Apr-2009 Chris Lattner <sabre@nondot.org> Make a major API change to BitstreamReader: split all the reading
state out of the BitstreamReader class into a BitstreamCursor class.
Doing this allows the client to have multiple cursors into the same
file, each with potentially different live block stacks and
abbreviation records.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70157 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
46e7740a4433383e6e5561f089a091c22125bd07 01-Apr-2009 Chris Lattner <sabre@nondot.org> reimplement BitcodeReaderValueList in terms of WeakVH instead of making
it be an LLVM IR User object.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68156 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
19c874638d9478a5d5028854817a5ee72293bb2b 27-Sep-2008 Devang Patel <dpatel@apple.com> Now Attributes are divided in three groups
- return attributes - inreg, zext and sext
- parameter attributes
- function attributes - nounwind, readonly, readnone, noreturn

Return attributes use 0 as the index.
Function attributes use ~0U as the index.

This patch requires corresponding changes in llvm-gcc and clang.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56704 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
0598866c052147c31b808391f58434ce3dbfb838 25-Sep-2008 Devang Patel <dpatel@apple.com> Large mechanical patch.

s/ParamAttr/Attribute/g
s/PAList/AttrList/g
s/FnAttributeWithIndex/AttributeWithIndex/g
s/FnAttr/Attribute/g

This sets the stage
- to implement function notes as function attributes and
- to distinguish between function attributes and return value attributes.

This requires corresponding changes in llvm-gcc and clang.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56622 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
eaf42abab6d465c38891345d999255871cf03943 24-Sep-2008 Devang Patel <dpatel@apple.com> s/ParameterAttributes/Attributes/g



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56513 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
ea693dfab48ee6fc07cc21abc20f487df5057a6b 21-Aug-2008 Chris Lattner <sabre@nondot.org> recommit bcreader, handling packed structs correctly. Apparently
people want fast *and* correct. Sheesh.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55102 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
44925966abca7b3106a6ff5d7b6160216b204407 21-Aug-2008 Daniel Dunbar <daniel@zuster.org> Revert 55090, regressions in:
- Postgres
- llvm-test/SingleSource/UnitTests/{2006-01-23-InitializedBitField,
2004-11-28-GlobalBoolLayout, 2003-05-02-DependentPHI}


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55100 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
f4a97da4072a2ee4aca3c668a9fa113c06fdef8d 21-Aug-2008 Chris Lattner <sabre@nondot.org> Fix an N^2 issue handling constant resolution due to RAUW in large arrays
this speeds up the bcreader from 6.67s to 0.12s on a testcase Daniel
provided. rdar://6158117



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
6c80c381601b17207b6b8f898cfe273a37584d52 26-May-2008 Gabor Greif <ggreif@gmail.com> eliminate calls to deprecated Use::init() interface

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51570 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
efe65369a74871c3140a540a6c95ce5d1f080954 10-May-2008 Gabor Greif <ggreif@gmail.com> merge of use-diet branch to trunk

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
950a4c40b823cd4f09dc71be635229246dfd6cac 25-Mar-2008 Dan Gohman <gohman@apple.com> Add explicit keywords.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
58d74910c6b82e622ecbb57d6644d48fec5a5c0f 12-Mar-2008 Chris Lattner <sabre@nondot.org> Reimplement the parameter attributes support, phase #1. hilights:

1. There is now a "PAListPtr" class, which is a smart pointer around
the underlying uniqued parameter attribute list object, and manages
its refcount. It is now impossible to mess up the refcount.
2. PAListPtr is now the main interface to the underlying object, and
the underlying object is now completely opaque.
3. Implementation details like SmallVector and FoldingSet are now no
longer part of the interface.
4. You can create a PAListPtr with an arbitrary sequence of
ParamAttrsWithIndex's, no need to make a SmallVector of a specific
size (you can just use an array or scalar or vector if you wish).
5. All the client code that had to check for a null pointer before
dereferencing the pointer is simplified to just access the
PAListPtr directly.
6. The interfaces for adding attrs to a list and removing them is a
bit simpler.

Phase #2 will rename some stuff (e.g. PAListPtr) and do other less
invasive changes.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48289 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
4ee451de366474b9c228b4e5fa573795a715216d 29-Dec-2007 Chris Lattner <sabre@nondot.org> Remove attribution from file headers, per discussion on llvmdev.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
6994040a952e5fb27605eb3cf29ed86c4e59cf62 04-Aug-2007 Chandler Carruth <chandlerc@gmail.com> This is the patch to provide clean intrinsic function overloading support in LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future.

This also changes the syntax for llvm.bswap, llvm.part.set, llvm.part.select, and llvm.ct* intrinsics. They are automatically upgraded by both the LLVM ASM reader and the bitcode reader. The test cases have been updated, with special tests added to ensure the automatic upgrading is supported.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
b348bb81253a1105d23ab1a1771f8d2a6546aa1b 18-May-2007 Chris Lattner <sabre@nondot.org> Fix PR1434 and test/Linker/link-archive.ll, this is a regression from 1.9.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37204 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
d67c632d968157e228cf42b588f8759059730ec0 15-May-2007 Chris Lattner <sabre@nondot.org> implement the ModuleProvider::dematerializeFunction hook


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37080 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
650c938c41adc95e0935c75d7ed4349c46d280d1 06-May-2007 Jeff Cohen <jeffc@jolt-lang.org> Keep header file free of 'possible loss of data' warnings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36832 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
7337ab9e929a4a787f90d37ee0ed8f4cc27170ab 06-May-2007 Chris Lattner <sabre@nondot.org> stop encoding type/value pairs when the type is implied by the value.
This shrinks the function block of kc++ from 1055K to 906K


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36816 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
48c85b84c1b66fb6a1b0d2afddf33da5bd82960d 04-May-2007 Chris Lattner <sabre@nondot.org> add support for reading the param attrs block


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36731 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
f4c8e5243376af58e52c4a0930d838509bbbea2f 02-May-2007 Chris Lattner <sabre@nondot.org> add reader logic for terminator instrs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36642 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
a7c49aac984fafa5dfdfcc2762d4d51b26788e38 01-May-2007 Chris Lattner <sabre@nondot.org> handle function-level forward references, read binops.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36620 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
980e5aad4cfaa32e13b297f4201eb1088ca96cc4 01-May-2007 Chris Lattner <sabre@nondot.org> implement materializeModule, force deallocation of vector memory when we
are done with them, start implementing ParseFunctionBody


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
866971474ced63f725bd3dbf10fdb9e3badb7d9e 01-May-2007 Chris Lattner <sabre@nondot.org> The stream to read from is now an ivar


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36615 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
48f848716e80d01619b239111db48bfac77baad1 01-May-2007 Chris Lattner <sabre@nondot.org> implement scafolding for lazy deserialization of function bodies


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
c453f76e2b4d7fd1e042b5b6d4c20556779186df 29-Apr-2007 Chris Lattner <sabre@nondot.org> Switch the bitcode reader interface to take a MemoryBuffer instead of knowing
anything about disk I/O itself. This greatly simplifies its interface -
eliminating the need for the ReaderWrappers.cpp file.

This adds a new option to llvm-dis (-bitcode) which instructs it to read
the input file as bitcode. Until/unless the bytecode reader is taught to
read from MemoryBuffer, there is no way to handle stdin reading without it.

I don't plan to switch the bytecode reader over, I'd rather delete it :),
so the option will stay around temporarily.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36554 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
198f34ac359c48018c6e1f784cf3770ead63b253 26-Apr-2007 Chris Lattner <sabre@nondot.org> move some code around, fix a bug in the reader reading globalinits (which
I just introduced), stub out function reading, purge aggregate values from
the value table before reading functions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
07d98b4afbdcbb4eed048400d9116de1ec83e866 26-Apr-2007 Chris Lattner <sabre@nondot.org> add bitcode alias support


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36461 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
f66d20da61af8672b2fe648283604408d42836ce 24-Apr-2007 Chris Lattner <sabre@nondot.org> ensure that every error return sets a message (and goes through Error, for
easy breakpointing).

Fix bugs reading constantexpr geps. We now can disassemble kc++ global
initializers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36398 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
522b7b104c864da81c19d8b16c43b7a1f6a2fc40 24-Apr-2007 Chris Lattner <sabre@nondot.org> implement support for reading aggregate constants, including handling forward
constant references, etc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36391 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
e16504eb4ef8f09611cdf6e9a0be9eb886b4ed89 24-Apr-2007 Chris Lattner <sabre@nondot.org> read basic constants: null, undef, integers <= 64bits


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36389 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
6dbfd7bfbcc7a69c978452560033fa5953db2cbf 24-Apr-2007 Chris Lattner <sabre@nondot.org> track global inits


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36385 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
0b2482a1ebd07a3b1cec660681add46c927970f2 23-Apr-2007 Chris Lattner <sabre@nondot.org> Read global symtab


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
47f96bf24687b5068aec7166cb8b3ac33ae964ae 23-Apr-2007 Chris Lattner <sabre@nondot.org> promote LLVMBitCodes to be a public header


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36358 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
cb403d69fb620d4df66233d27a6f8c545ce0d0e4 22-Apr-2007 Jeff Cohen <jeffc@jolt-lang.org> Fix build problem with Gentoo 4.1.1-r3.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36348 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h
caee0dccffb77a003681345ab3281bcf8684526c 22-Apr-2007 Chris Lattner <sabre@nondot.org> Initial support for reading bitcode files. They currently only read types,
the type symtab, and global/function protos, and are missing the important
size optimization, but it is a place to start.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36330 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitcodeReader.h