History log of /llvm-project/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp (Results 176 – 200 of 223)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ccce8bae 05-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com>

Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer.

llvm-svn: 92726


# 9b493028 31-Dec-2009 Chris Lattner <sabre@nondot.org>

rename "elements" of metadata to "operands". "Elements" are
things that occur in types. "operands" are things that occur
in values.

llvm-svn: 92322


# 8dace893 31-Dec-2009 Chris Lattner <sabre@nondot.org>

tidy

llvm-svn: 92320


# 2f2aa2b0 28-Dec-2009 Chris Lattner <sabre@nondot.org>

This is a major cleanup of the instruction metadata interfaces that
I asked Devang to do back on Sep 27. Instead of going through the
MetadataContext class with methods like getMD() and getMDs(), ju

This is a major cleanup of the instruction metadata interfaces that
I asked Devang to do back on Sep 27. Instead of going through the
MetadataContext class with methods like getMD() and getMDs(), just
ask the instruction directly for its metadata with getMetadata()
and getAllMetadata().

This includes a variety of other fixes and improvements: previously
all Value*'s were bloated because the HasMetadata bit was thrown into
value, adding a 9th bit to a byte. Now this is properly sunk down to
the Instruction class (the only place where it makes sense) and it
will be folded away somewhere soon.

This also fixes some confusion in getMDs and its clients about
whether the returned list is indexed by the MDID or densely packed.
This is now returned sorted and densely packed and the comments make
this clear.

This introduces a number of fixme's which I'll follow up on.

llvm-svn: 92235

show more ...


# 53bb5e4a 28-Dec-2009 Chris Lattner <sabre@nondot.org>

change the strange MetadataContext::getMDs function to expose less
irrelevant internal implementation details to clients.

llvm-svn: 92210


# f1ef03ad 28-Dec-2009 Chris Lattner <sabre@nondot.org>

eliminate the elem_* iterator stuff from NamedMDNode.

llvm-svn: 92208


# aa99c94e 01-Nov-2009 Chris Lattner <sabre@nondot.org>

Revert 85678/85680. The decision is to stay with the current form of
indirectbr, thus we don't need "blockaddr(@func, null)". Eliminate it
for simplicity.

llvm-svn: 85699


# b2c0e243 31-Oct-2009 Chris Lattner <sabre@nondot.org>

Make blockaddress(@func, null) be valid, and make 'deleting a basic
block with a blockaddress still referring to it' replace the invalid
blockaddress with a new blockaddress(@func, null) instead of

Make blockaddress(@func, null) be valid, and make 'deleting a basic
block with a blockaddress still referring to it' replace the invalid
blockaddress with a new blockaddress(@func, null) instead of a
inttoptr(1).

This changes the bitcode encoding format, and still needs codegen
support (this should produce a non-zero value, referring to the entry
block of the function would also be quite reasonable).

llvm-svn: 85678

show more ...


# f540d74b 28-Oct-2009 Chris Lattner <sabre@nondot.org>

bitcode writer support for blockaddress.

llvm-svn: 85376


# 26a7ae4f 27-Oct-2009 Chris Lattner <sabre@nondot.org>

Type.h doesn't need to #include LLVMContext.h

llvm-svn: 85254


Revision tags: llvmorg-2.6.0
# 6da5dbf3 22-Oct-2009 Devang Patel <dpatel@apple.com>

Fix getMDs() interface such that it does not expose implementation details.

llvm-svn: 84885


# 084679e7 22-Oct-2009 Devang Patel <dpatel@apple.com>

Using TrackingVH instead of WeakVH or WeakMetadataVH.

llvm-svn: 84884


# 49914e6e 21-Oct-2009 Devang Patel <dpatel@apple.com>

Do not use SmallVector to store MDNode elements.

llvm-svn: 84784


# 2d85eef9 28-Sep-2009 Devang Patel <dpatel@apple.com>

s/class Metadata/class MetadataContext/g

llvm-svn: 83019


# 7d6781b0 20-Sep-2009 Daniel Dunbar <daniel@zuster.org>

Tabs -> spaces, and remove trailing whitespace.

llvm-svn: 82355


# af206b8c 18-Sep-2009 Devang Patel <dpatel@apple.com>

Write and read metadata attachments.

llvm-svn: 82259


# 55f1c09e 13-Aug-2009 Owen Anderson <resistor@mac.com>

Push LLVMContexts through the IntegerType APIs.

llvm-svn: 78948


# 05eb617d 04-Aug-2009 Devang Patel <dpatel@apple.com>

Use separate ValueList for metadata.
This fixes PR4666.

llvm-svn: 78056


# 7e7617ed 31-Jul-2009 Benjamin Kramer <benny.kra@googlemail.com>

Work around a dangling pointer dereference when enumerating NamedMDNodes.

llvm-svn: 77675


# d14bacfb 30-Jul-2009 Devang Patel <dpatel@apple.com>

Enumerate NamedMDNode elements first.

llvm-svn: 77636


# 27c87fff 29-Jul-2009 Devang Patel <dpatel@apple.com>

Read and write NamedMDNode.

llvm-svn: 77517


# a4f43fb5 28-Jul-2009 Devang Patel <dpatel@apple.com>

Rename MDNode.h header. It defines MDnode and other metadata classes.
New name is Metadata.h.

llvm-svn: 77370


# e059ba6e 23-Jul-2009 Devang Patel <dpatel@apple.com>

Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into METADATA_BLOCK in bitcode file.

llvm-svn: 76834


# 75094f8e 22-Jul-2009 Devang Patel <dpatel@apple.com>

Use isa<> instead of dyn_cast<>.

llvm-svn: 76767


# 8f3169cf 22-Jul-2009 Sanjiv Gupta <sanjiv.gupta@microchip.com>

Fixed build warning. No functionality change.

llvm-svn: 76761


123456789