llvm-project/llvm/lib/Bitcode/Writer
Christopher Lamb 54dd24c2a7 Implement address space attribute for LLVM pointer types. Address spaces are
regions of memory that have a target specific relationship, as described in the 
Embedded C Technical Report. 

This also implements the 2007-12-11-AddressSpaces test, 
which demonstrates how address space attributes can be used in LLVM IR.

In addition, this patch changes the bitcode signature for stores (in a backwards 
compatible manner), such that the pointer type, rather than the pointee type, is 
encoded. This permits type information in the pointer (e.g. address space) to be 
preserved for stores.

LangRef updates are forthcoming.

llvm-svn: 44858
2007-12-11 08:59:05 +00:00
..
BitWriter.cpp Applying Anton's binmode fix to the other ofstream too. 2007-12-03 14:50:37 +00:00
BitcodeWriter.cpp Implement address space attribute for LLVM pointer types. Address spaces are 2007-12-11 08:59:05 +00:00
BitcodeWriterPass.cpp Add explicit keywords. 2007-11-19 15:30:20 +00:00
Makefile Initial support for writing bitcode files. This currently only writes types, 2007-04-22 06:24:45 +00:00
Serialize.cpp Added typedef "SerializedPtrID" to represent the pointer handle written to disk 2007-11-08 19:50:46 +00:00
SerializeAPFloat.cpp Implemented generic serialization of APFloat. 2007-11-07 18:39:22 +00:00
SerializeAPInt.cpp Added serialization support for APInt. 2007-10-26 21:50:10 +00:00
ValueEnumerator.cpp Fix PR1146: parameter attributes are longer part of 2007-11-27 13:23:08 +00:00
ValueEnumerator.h Fix a nasty problem where we would miss enumeration of some types. This fixes 2007-05-06 08:35:19 +00:00