History log of /llvm-project/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp (Results 801 – 825 of 1013)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 03bcd6ec 01-Jul-2010 Bill Wendling <isanbard@gmail.com>

Implement the "linker_private_weak" linkage type. This will be used for
Objective-C metadata types which should be marked as "weak", but which the
linker will remove upon final linkage. However, this

Implement the "linker_private_weak" linkage type. This will be used for
Objective-C metadata types which should be marked as "weak", but which the
linker will remove upon final linkage. However, this linkage isn't specific to
Objective-C.

For example, the "objc_msgSend_fixup_alloc" symbol is defined like this:

.globl l_objc_msgSend_fixup_alloc
.weak_definition l_objc_msgSend_fixup_alloc
.section __DATA, __objc_msgrefs, coalesced
.align 3
l_objc_msgSend_fixup_alloc:
.quad _objc_msgSend_fixup
.quad L_OBJC_METH_VAR_NAME_1

This is different from the "linker_private" linkage type, because it can't have
the metadata defined with ".weak_definition".

Currently only supported on Darwin platforms.

llvm-svn: 107433

show more ...


# 36321717 29-Jun-2010 Bill Wendling <isanbard@gmail.com>

Revert r107205 and r107207.

llvm-svn: 107215


# 1767723d 29-Jun-2010 Bill Wendling <isanbard@gmail.com>

Introducing the "linker_weak" linkage type. This will be used for Objective-C
metadata types which should be marked as "weak", but which the linker will
remove upon final linkage. For example, the "o

Introducing the "linker_weak" linkage type. This will be used for Objective-C
metadata types which should be marked as "weak", but which the linker will
remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is
defined like this:

.globl l_objc_msgSend_fixup_alloc
.weak_definition l_objc_msgSend_fixup_alloc
.section __DATA, __objc_msgrefs, coalesced
.align 3
l_objc_msgSend_fixup_alloc:
.quad _objc_msgSend_fixup
.quad L_OBJC_METH_VAR_NAME_1

This is different from the "linker_private" linkage type, because it can't have
the metadata defined with ".weak_definition".

llvm-svn: 107205

show more ...


# e9afee29 26-Jun-2010 Gabor Greif <ggreif@gmail.com>

resort to ArgOperand API

llvm-svn: 106942


# df84e8ba 02-Jun-2010 Devang Patel <dpatel@apple.com>

Speedup bitcode writer. Do not walk all values for all functions to emit function local metadata. In one testcase, probably worst case scenario, the 70x speed up is seen.

llvm-svn: 105360


# 9da5bb07 28-May-2010 Dan Gohman <gohman@apple.com>

Bitcode support for allocas with arbitrary array size types.

llvm-svn: 104915


# a880546c 27-May-2010 Dan Gohman <gohman@apple.com>

Don't flush the raw_ostream in llvm::WriteBitcodeToFile; it's at
the wrong level. Clients which need to leave the stream open but
which still require the bitcode bits to be on disk should call
flush

Don't flush the raw_ostream in llvm::WriteBitcodeToFile; it's at
the wrong level. Clients which need to leave the stream open but
which still require the bitcode bits to be on disk should call
flush themselves.

llvm-svn: 104885

show more ...


# d9225cee 27-May-2010 Dan Gohman <gohman@apple.com>

Don't special-case stdout in llvm::WriteBitcodeToFile; just consider
it to be the caller's responsibility to provide a stream in binary
mode. This fixes a layering violation and avoids an outs() call

Don't special-case stdout in llvm::WriteBitcodeToFile; just consider
it to be the caller's responsibility to provide a stream in binary
mode. This fixes a layering violation and avoids an outs() call.

llvm-svn: 104878

show more ...


Revision tags: llvmorg-2.7.0
# 7258dcd7 16-Apr-2010 Eric Christopher <echristo@apple.com>

Revert 101465, it broke internal OpenGL testing.

Probably the best way to know that all getOperand() calls have been handled
is to replace that API instead of updating.

llvm-svn: 101579


# f375520f 16-Apr-2010 Gabor Greif <ggreif@gmail.com>

reapply r101434
with a fix for self-hosting

rotate CallInst operands, i.e. move callee to the back
of the operand array

the motivation for this patch are laid out in my mail to llvm-commits:
more e

reapply r101434
with a fix for self-hosting

rotate CallInst operands, i.e. move callee to the back
of the operand array

the motivation for this patch are laid out in my mail to llvm-commits:
more efficient access to operands and callee, faster callgraph-construction,
smaller compiler binary

llvm-svn: 101465

show more ...


# 403e9694 16-Apr-2010 Gabor Greif <ggreif@gmail.com>

back out r101423 and r101397, they break llvm-gcc self-host on darwin10

llvm-svn: 101434


# 33ae80bf 15-Apr-2010 Gabor Greif <ggreif@gmail.com>

reapply r101364, which has been backed out in r101368
with a fix

rotate CallInst operands, i.e. move callee to the back
of the operand array

the motivation for this patch are laid out in my mail to

reapply r101364, which has been backed out in r101368
with a fix

rotate CallInst operands, i.e. move callee to the back
of the operand array

the motivation for this patch are laid out in my mail to llvm-commits:
more efficient access to operands and callee, faster callgraph-construction,
smaller compiler binary

llvm-svn: 101397

show more ...


# 9fd00c7d 15-Apr-2010 Gabor Greif <ggreif@gmail.com>

back out r101364, as it trips the linux nightlybot on some clang C++ tests

llvm-svn: 101368


# aafd2096 15-Apr-2010 Gabor Greif <ggreif@gmail.com>

rotate CallInst operands, i.e. move callee to the back
of the operand array

the motivation for this patch are laid out in my mail to llvm-commits:
more efficient access to operands and callee, faste

rotate CallInst operands, i.e. move callee to the back
of the operand array

the motivation for this patch are laid out in my mail to llvm-commits:
more efficient access to operands and callee, faster callgraph-construction,
smaller compiler binary

llvm-svn: 101364

show more ...


# 07d09ed4 03-Apr-2010 Chris Lattner <sabre@nondot.org>

Add special case bitcode support for DebugLoc. This avoids
having the bitcode writer materialize mdnodes for all the
debug location tuples when writing out the bc file and
stores the information in

Add special case bitcode support for DebugLoc. This avoids
having the bitcode writer materialize mdnodes for all the
debug location tuples when writing out the bc file and
stores the information in a more compact form. For example,
the -O0 -g bc file for combine.c in 176.gcc shrinks from
739392 to 512096 bytes.

This concludes my planned short-term debug info work.

llvm-svn: 100261

show more ...


# a2fbc0ae 24-Mar-2010 Gabor Greif <ggreif@gmail.com>

Finally land the InvokeInst operand reordering.
I have audited all getOperandNo calls now, fixing
hidden assumptions. CallSite related uglyness will
be eliminated successively.

Note this patch has a

Finally land the InvokeInst operand reordering.
I have audited all getOperandNo calls now, fixing
hidden assumptions. CallSite related uglyness will
be eliminated successively.

Note this patch has a long and griveous history,
for all the back-and-forths have a look at
CallSite.h's log.

llvm-svn: 99399

show more ...


# e1517a08 22-Mar-2010 Gabor Greif <ggreif@gmail.com>

backing out r99170 because it still fails on clang-x86_64-darwin10-fnt

llvm-svn: 99171


# 7a743e15 22-Mar-2010 Gabor Greif <ggreif@gmail.com>

Now that hopefully all direct accesses to InvokeInst operands are fixed
we can reapply the InvokeInst operand reordering patch. (see r98957).

llvm-svn: 99170


# 6c56ed84 19-Mar-2010 Gabor Greif <ggreif@gmail.com>

back out r98957, it broke http://smooshlab.apple.com:8010/builders/clang-x86_64-darwin10-fnt/builds/703 in the nightly test suite

llvm-svn: 98958


# 8335f9c0 19-Mar-2010 Gabor Greif <ggreif@gmail.com>

Recommit r80858 again (which has been backed out in r80871).

This time I did a self-hosted bootstrap on Linux x86-64,
with no problems. Let's see how darwin 64-bit self-hosting
goes. At the first si

Recommit r80858 again (which has been backed out in r80871).

This time I did a self-hosted bootstrap on Linux x86-64,
with no problems. Let's see how darwin 64-bit self-hosting
goes. At the first sign of failure I'll back this out.

Maybe the valgrind bots give me a hint of what may be wrong
(it at all).

llvm-svn: 98957

show more ...


# 8fce3ddd 16-Mar-2010 Chris Lattner <sabre@nondot.org>

reapply r98656 unmodified, which exposed the asmprinter not
handling constant unions.

llvm-svn: 98680


# 3a374da9 16-Mar-2010 Daniel Dunbar <daniel@zuster.org>

Revert r98656, its breaking all over the place.

llvm-svn: 98662


# 9ae99e0d 16-Mar-2010 Chris Lattner <sabre@nondot.org>

improve support for uniontype and ConstantUnion, patch by Tim Northover!

llvm-svn: 98656


# 392be58c 12-Feb-2010 Chris Lattner <sabre@nondot.org>

Add support for a union type in LLVM IR. Patch by Talin!

llvm-svn: 96011


# 545d3601 12-Feb-2010 Evan Cheng <evan.cheng@apple.com>

Also recognize armv6t2-* and armv5te-* triplets.

llvm-svn: 96008


1...<<3132333435363738394041