History log of /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/BitcodeReader.cpp (Results 901 – 925 of 1180)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# cc19efaa 20-Jun-2011 Chris Lattner <[email protected]>

Revamp the "ConstantStruct::get" methods. Previously, these were scattered
all over the place in different styles and variants. Standardize on two
preferred entrypoints: one that takes a StructType

Revamp the "ConstantStruct::get" methods. Previously, these were scattered
all over the place in different styles and variants. Standardize on two
preferred entrypoints: one that takes a StructType and ArrayRef, and one that
takes StructType and varargs.

In cases where there isn't a struct type convenient, we now add a
ConstantStruct::getAnon method (whose name will make more sense after a few
more patches land).

It would be "really really nice" if the ConstantStruct::get and
ConstantVector::get methods didn't make temporary std::vectors.

llvm-svn: 133412

show more ...


# c4407080 17-Jun-2011 Chris Lattner <[email protected]>

Drop the "2" suffix on some enums.

llvm-svn: 133274


# f1c87109 17-Jun-2011 Chris Lattner <[email protected]>

remove support for a bunch of obsolete instruction encodings
and other backward compatibility hacks.

llvm-svn: 133273


# b877855b 17-Jun-2011 Chris Lattner <[email protected]>

Remove some "2" suffixes from the metadata enums now that "1" is gone.

llvm-svn: 133269


# 2feca509 17-Jun-2011 Chris Lattner <[email protected]>

remove bitcode reader support for LLVM 2.7 metadata encoding.

llvm-svn: 133268


# 7ae2638d 03-Jun-2011 Chad Rosier <[email protected]>

Whitespace and other cleanup. Functionallity unchanged.

llvm-svn: 132533


# a97b2380 26-May-2011 Rafael Espindola <[email protected]>

Fix LTO builds with xcode 4.

llvm-svn: 132132


# 5514afe6 21-Apr-2011 Jay Foad <[email protected]>

PR9214: Convert Metadata API to use ArrayRef.

llvm-svn: 129932


# 5c984e56 13-Apr-2011 Jay Foad <[email protected]>

PR9214: Convert ConstantExpr::getWithOperands() to use ArrayRef.

llvm-svn: 129439


# 35a9c3cd 10-Apr-2011 Bill Wendling <[email protected]>

Revert r129235 pending a vetting of the EH rewrite.
--- Reverse-merging r129235 into '.':
D test/Feature/bb_attrs.ll
U include/llvm/BasicBlock.h
U include/llvm/Bitcode/LLVMBitCodes.h
U li

Revert r129235 pending a vetting of the EH rewrite.
--- Reverse-merging r129235 into '.':
D test/Feature/bb_attrs.ll
U include/llvm/BasicBlock.h
U include/llvm/Bitcode/LLVMBitCodes.h
U lib/VMCore/AsmWriter.cpp
U lib/VMCore/BasicBlock.cpp
U lib/AsmParser/LLParser.cpp
U lib/AsmParser/LLLexer.cpp
U lib/AsmParser/LLToken.h
U lib/Bitcode/Reader/BitcodeReader.cpp
U lib/Bitcode/Writer/BitcodeWriter.cpp

llvm-svn: 129259

show more ...


# 3d5450d8 10-Apr-2011 Bill Wendling <[email protected]>

Beginning of the Great Exception Handling Rewrite.

* Add a "landing pad" attribute to the BasicBlock.
* Modify the bitcode reader and writer to handle said attribute.

Later: The verifier will ensur

Beginning of the Great Exception Handling Rewrite.

* Add a "landing pad" attribute to the BasicBlock.
* Modify the bitcode reader and writer to handle said attribute.

Later: The verifier will ensure that the landing pad attribute is used in the
appropriate manner. I.e., not applied to the entry block, and applied only to
basic blocks that are branched to via a `dispatch' instruction.

(This is a work-in-progress.)

llvm-svn: 129235

show more ...


Revision tags: llvmorg-2.9.0
# 52131344 30-Mar-2011 Jay Foad <[email protected]>

Remove PHINode::reserveOperandSpace(). Instead, add a parameter to
PHINode::Create() giving the (known or expected) number of operands.

llvm-svn: 128537


Revision tags: llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1
# 69229316 15-Feb-2011 Chris Lattner <[email protected]>

convert ConstantVector::get to use ArrayRef.

llvm-svn: 125537


# 34442e6e 14-Feb-2011 Chris Lattner <[email protected]>

revert my ConstantVector patch, it seems to have made the llvm-gcc
builders unhappy.

llvm-svn: 125504


# d9f5b885 14-Feb-2011 Chris Lattner <[email protected]>

Switch ConstantVector::get to use ArrayRef instead of a pointer+size
idiom. Change various clients to simplify their code.

llvm-svn: 125487


# a676c0fc 07-Feb-2011 Chris Lattner <[email protected]>

implement .ll and .bc support for nsw/nuw on shl and exact on lshr/ashr.
Factor some code better.

llvm-svn: 125006


# 35315d06 06-Feb-2011 Chris Lattner <[email protected]>

enhance vmcore to know that udiv's can be exact, and add a trivial
instcombine xform to exercise this.

Nothing forms exact udivs yet though. This is progress on PR8862

llvm-svn: 124992


# c8adf5f4 11-Jan-2011 Jay Foad <[email protected]>

FixedNumOperandTraits and VariadicOperandTraits assumed that, given a
"this" pointer for any subclass of User, you could static_cast it to
User* and then reinterpret_cast that to Use* to get the end

FixedNumOperandTraits and VariadicOperandTraits assumed that, given a
"this" pointer for any subclass of User, you could static_cast it to
User* and then reinterpret_cast that to Use* to get the end of the
operand list. This isn't a safe assumption in general, because the
static_cast might adjust the "this" pointer. Fixed by having these
OperandTraits classes take an extra template parameter, which is the
subclass of User. This is groundwork for PR889.

llvm-svn: 123235

show more ...


# 45e6c195 08-Jan-2011 Rafael Espindola <[email protected]>

First step in fixing PR8927:

Add a unnamed_addr bit to global variables and functions. This will be used
to indicate that the address is not significant and therefore the constant
or function can be

First step in fixing PR8927:

Add a unnamed_addr bit to global variables and functions. This will be used
to indicate that the address is not significant and therefore the constant
or function can be merged with others.

If an optimization pass can show that an address is not used, it can set this.

Examples of things that can have this set by the FE are globals created to
hold string literals and C++ constructors.

Adding unnamed_addr to a non-const global should have no effect unless
an optimization can transform that global into a constant.

Aliases are not allowed to have unnamed_addr since I couldn't figure
out any use for it.

llvm-svn: 123063

show more ...


# 89d412a1 28-Oct-2010 Duncan Sands <[email protected]>

Fix PR8494: when reading invalid bitcode, getTypeByID may return
a null pointer.

llvm-svn: 117551


Revision tags: llvmorg-2.8.0
# 0198ce06 06-Oct-2010 Bill Wendling <[email protected]>

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!

llvm-svn: 115728


Revision tags: llvmorg-2.8.0-rc3
# a349ed06 28-Sep-2010 Bill Wendling <[email protected]>

Fix spelling.

llvm-svn: 114974


Revision tags: llvmorg-2.8.0-rc2
# bbcd04db 13-Sep-2010 Dan Gohman <[email protected]>

Add full auto-upgrade support for LLVM 2.7 bitcode metadata.

llvm-svn: 113764


# baa5d045 10-Sep-2010 Dale Johannesen <[email protected]>

Add X86 MMX type to bitcode and Type.
(The Ada bindings probably need it too, but all the
obvious places to change say "do not edit this file".)

llvm-svn: 113618


# e26fffc5 10-Sep-2010 Bill Wendling <[email protected]>

Auto-upgrade the magic ".llvm.eh.catch.all.value" global to
"llvm.eh.catch.all.value". Only the name needs to be changed.

llvm-svn: 113600


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