History log of /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/BitcodeReader.cpp (Results 826 – 850 of 1180)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ac997e96 27-Nov-2012 Joe Abbey <[email protected]>

Code pretification

llvm-svn: 168661


# 9978d7e9 27-Nov-2012 Michael Ilseman <[email protected]>

Fast-math flags for the bitcode

Added in bitcode enum for the serializing of fast-math flags. Added in the reading/writing of fast-math flags from the OptimizationFlags record for BinaryOps.

llvm-s

Fast-math flags for the bitcode

Added in bitcode enum for the serializing of fast-math flags. Added in the reading/writing of fast-math flags from the OptimizationFlags record for BinaryOps.

llvm-svn: 168646

show more ...


# 2ad8df24 25-Nov-2012 Joe Abbey <[email protected]>

Code Custodian:
- Widespread trailing space removal
- A dash of OCD spacing to block align enums
- joined a line that probably needed 80 cols a while back

llvm-svn: 168566


# f86efb9b 20-Nov-2012 Bill Wendling <[email protected]>

Make the AttrListPtr object a part of the LLVMContext.

When code deletes the context, the AttributeImpls that the AttrListPtr points to
are now invalid. Therefore, instead of keeping a separate mana

Make the AttrListPtr object a part of the LLVMContext.

When code deletes the context, the AttributeImpls that the AttrListPtr points to
are now invalid. Therefore, instead of keeping a separate managed static for the
AttrListPtrs that's reference counted, move it into the LLVMContext and delete
it when deleting the AttributeImpls.

llvm-svn: 168354

show more ...


# 5beb3f6e 19-Nov-2012 Joe Abbey <[email protected]>

80 cols

llvm-svn: 168318


# 26ee2b84 15-Nov-2012 Michael Ilseman <[email protected]>

Remove trailing whitespace

llvm-svn: 168103


Revision tags: llvmorg-3.2.0-rc1
# 50d27849 15-Oct-2012 Bill Wendling <[email protected]>

Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change.

llvm-svn: 165960


# d079a446 15-Oct-2012 Bill Wendling <[email protected]>

Attributes Rewrite

Convert the internal representation of the Attributes class into a pointer to an
opaque object that's uniqued by and stored in the LLVMContext object. The
Attributes class then be

Attributes Rewrite

Convert the internal representation of the Attributes class into a pointer to an
opaque object that's uniqued by and stored in the LLVMContext object. The
Attributes class then becomes a thin wrapper around this opaque
object. Eventually, the internal representation will be expanded to include
attributes that represent code generation options, etc.

llvm-svn: 165917

show more ...


# 506a1c5a 11-Oct-2012 Sean Silva <[email protected]>

Remove unnecessary classof()'s

isa<> et al. automatically infer when the cast is an upcast (including a
self-cast), so these are no longer necessary.

llvm-svn: 165767


# afaced07 11-Oct-2012 Jan Wen Voung <[email protected]>

Change encoding of instruction operands in bitcode binaries to be relative
to the instruction position. The old encoding would give an absolute
ID which counts up within a function, and only resets

Change encoding of instruction operands in bitcode binaries to be relative
to the instruction position. The old encoding would give an absolute
ID which counts up within a function, and only resets at the next function.

I.e., Instead of having:

... = icmp eq i32 n-1, n-2
br i1 ..., label %bb1, label %bb2

it will now be roughly:

... = icmp eq i32 1, 2
br i1 1, label %bb1, label %bb2

This makes it so that ids remain relatively small and can be encoded
in fewer bits.

With this encoding, forward reference operands will be given
negative-valued IDs. Use signed VBRs for the most common case
of forward references, which is phi instructions.

To retain backward compatibility we bump the bitcode version
from 0 to 1 to distinguish between the different encodings.

llvm-svn: 165739

show more ...


# db0dbd88 04-Oct-2012 Bill Wendling <[email protected]>

Use method to query if there are attributes.

llvm-svn: 165213


# e51b9497 25-Sep-2012 Bill Wendling <[email protected]>

Move remaining methods inside the Attributes class. Merge the 'Attribute' namespaces.

llvm-svn: 164631


# 736a4fc4 21-Sep-2012 Benjamin Kramer <[email protected]>

BitcodeReader: Correctly insert blockaddress constant referring to a already parsed function.

We inserted a placeholder that was never replaced because the function was
already visited. Assert that

BitcodeReader: Correctly insert blockaddress constant referring to a already parsed function.

We inserted a placeholder that was never replaced because the function was
already visited. Assert that all placeholders have been resolved when tearing
down the bitcode reader.

Fixes PR13895.

llvm-svn: 164369

show more ...


# a60c0f11 15-Sep-2012 Craig Topper <[email protected]>

Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.

llvm-svn: 163974


# 4717a8d6 06-Sep-2012 Roman Divacky <[email protected]>

Dont cast away const needlessly. Found by gcc48 -Wcast-qual.

llvm-svn: 163324


# d8c76107 05-Sep-2012 Chad Rosier <[email protected]>

[ms-inline asm] Enumerate the InlineAsm dialects and rename the nsdialect to
inteldialect.

llvm-svn: 163231


# 5895edaf 05-Sep-2012 Chad Rosier <[email protected]>

Add a FIXME that assumes we maintain backward compatibility until the next major release.

llvm-svn: 163195


# 18fcdcfb 05-Sep-2012 Chad Rosier <[email protected]>

[ms-inline asm] Add support for the nsdialect keyword in the Bitcode
Reader/Writer.

llvm-svn: 163185


# 34bc34ec 17-Aug-2012 Bill Wendling <[email protected]>

Change the `linker_private_weak_def_auto' linkage to `linkonce_odr_auto_hide' to
make it more consistent with its intended semantics.

The `linker_private_weak_def_auto' linkage type was meant to aut

Change the `linker_private_weak_def_auto' linkage to `linkonce_odr_auto_hide' to
make it more consistent with its intended semantics.

The `linker_private_weak_def_auto' linkage type was meant to automatically hide
globals which never had their addresses taken. It has nothing to do with the
`linker_private' linkage type, which outputs the symbols with a `l' (ell) prefix
among other things.

The intended semantic is more like the `linkonce_odr' linkage type.

Change the name of the linkage type to `linkonce_odr_auto_hide'. And therefore
changing the semantics so that it produces the correct output for the linker.

Note: The old linkage name `linker_private_weak_def_auto' will still parse but
is not a synonym for `linkonce_odr_auto_hide'. This should be removed in 4.0.
<rdar://problem/11754934>

llvm-svn: 162114

show more ...


# 318f03f5 19-Jul-2012 Bill Wendling <[email protected]>

Remove tabs.

llvm-svn: 160479


# cbe34b4c 23-Jun-2012 Hans Wennborg <[email protected]>

Extend the IL for selecting TLS models (PR9788)

This allows the user/front-end to specify a model that is better
than what LLVM would choose by default. For example, a variable
might be declared as

Extend the IL for selecting TLS models (PR9788)

This allows the user/front-end to specify a model that is better
than what LLVM would choose by default. For example, a variable
might be declared as

@x = thread_local(initialexec) global i32 42

if it will not be used in a shared library that is dlopen'ed.

If the specified model isn't supported by the target, or if LLVM can
make a better choice, a different model may be used.

llvm-svn: 159077

show more ...


# 58107dd5 29-May-2012 Stepan Dyatkovskiy <[email protected]>

ConstantRangesSet renamed to IntegersSubset. CRSBuilder renamed to IntegersSubsetMapping.

llvm-svn: 157612


# 1ab17ed5 28-May-2012 David Blaikie <[email protected]>

Remove unused variable.

llvm-svn: 157586


# e17b69a3 28-May-2012 Meador Inge <[email protected]>

PR12696: Attribute bits above 1<<30 are not encoded in bitcode

Attribute bits above 1<<30 are now encoded correctly. Additionally,
the encoding/decoding functionality has been hoisted to helper fun

PR12696: Attribute bits above 1<<30 are not encoded in bitcode

Attribute bits above 1<<30 are now encoded correctly. Additionally,
the encoding/decoding functionality has been hoisted to helper functions
in Attributes.h in an effort to help the encoding/decoding to stay in
sync with the Attribute bitcode definitions.

llvm-svn: 157581

show more ...


# 9704ed03 28-May-2012 Benjamin Kramer <[email protected]>

Random BitcodeReader cleanups.

llvm-svn: 157577


1...<<31323334353637383940>>...48