[llvm-commits] [llvm] r47178 - /llvm/trunk/lib/Support/FoldingSet.cpp

2008-02-15 Thread Ted Kremenek
Author: kremenek Date: Fri Feb 15 15:12:46 2008 New Revision: 47178 URL: http://llvm.org/viewvc/llvm-project?rev=47178&view=rev Log: Fixed bug in FoldingSetIteratorImpl where we did not correctly check if we had reached the "fake bucket" after the last bucket, allowing the iterator in some cases t

[llvm-commits] [llvm] r46975 - in /llvm/trunk/include/llvm/ADT: ImmutableMap.h ImmutableSet.h

2008-02-11 Thread Ted Kremenek
Author: kremenek Date: Mon Feb 11 17:11:12 2008 New Revision: 46975 URL: http://llvm.org/viewvc/llvm-project?rev=46975&view=rev Log: The factories for ImutAVLTree/ImmutableSet/ImmutableMap now take an (optional) BumpPtrAllocator argument to their constructors. This BumpPtrAllocator will be used t

[llvm-commits] [llvm] r46957 - in /llvm/trunk: include/llvm/ADT/APFloat.h include/llvm/ADT/FoldingSet.h include/llvm/Support/AlignOf.h lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/Support/APFloat.cpp

2008-02-11 Thread Ted Kremenek
Author: kremenek Date: Mon Feb 11 11:24:50 2008 New Revision: 46957 URL: http://llvm.org/viewvc/llvm-project?rev=46957&view=rev Log: Added "Profile" method to APFloat for use with FoldingSet. Added member template "Add" to FoldingSetNodeID that allows "adding" arbitrary objects to a profile via d

Re: [llvm-commits] [llvm] r46833 - in /llvm/trunk: include/llvm/ADT/FoldingSet.h lib/Support/FoldingSet.cpp

2008-02-08 Thread Ted Kremenek
I'm wondering if we need to keep on adding specialized "Add" methods to FoldingSet. For example, APInt already has a "Profile" method for adding its profile to a FoldingSetNodeID, and APFloat could easily have a Profile method added to it. Now that FoldingSet uses FoldingSetTrait<> to pro

[llvm-commits] [llvm] r46882 - /llvm/trunk/include/llvm/ADT/APSInt.h

2008-02-07 Thread Ted Kremenek
Author: kremenek Date: Fri Feb 8 01:14:19 2008 New Revision: 46882 URL: http://llvm.org/viewvc/llvm-project?rev=46882&view=rev Log: Constified operator<< in APSInt. Modified: llvm/trunk/include/llvm/ADT/APSInt.h Modified: llvm/trunk/include/llvm/ADT/APSInt.h URL: http://llvm.org/viewvc/llv

[llvm-commits] [llvm] r46757 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-02-05 Thread Ted Kremenek
Author: kremenek Date: Tue Feb 5 12:50:25 2008 New Revision: 46757 URL: http://llvm.org/viewvc/llvm-project?rev=46757&view=rev Log: Added FoldingSet profiling support to ImmutableSet. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h U

[llvm-commits] [llvm] r46753 - in /llvm/trunk/include/llvm/ADT: ImmutableMap.h ImmutableSet.h

2008-02-05 Thread Ted Kremenek
Author: kremenek Date: Tue Feb 5 11:30:43 2008 New Revision: 46753 URL: http://llvm.org/viewvc/llvm-project?rev=46753&view=rev Log: Changed profiling method for ImmutableMap to once again just use its unique ImutAVLTree* for profiling. Modified ImutAVLTree: (1) changed ComputeHash() to ComputeD

[llvm-commits] [llvm] r46719 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h

2008-02-04 Thread Ted Kremenek
Author: kremenek Date: Mon Feb 4 15:17:02 2008 New Revision: 46719 URL: http://llvm.org/viewvc/llvm-project?rev=46719&view=rev Log: Modified 'Profile' method of ImmutableMap to use the 'Profile' method of the contained ImutAVLTree root. Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h M

[llvm-commits] [llvm] r46717 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-02-04 Thread Ted Kremenek
Author: kremenek Date: Mon Feb 4 15:15:24 2008 New Revision: 46717 URL: http://llvm.org/viewvc/llvm-project?rev=46717&view=rev Log: Modified node creation of ImutAVLTree to do a hash lookup for an existing node in the FoldingSet of nodes held by the Factory object. If we we find a node with a ma

[llvm-commits] [llvm] r46716 - in /llvm/trunk: include/llvm/ADT/FoldingSet.h lib/Support/FoldingSet.cpp

2008-02-04 Thread Ted Kremenek
Author: kremenek Date: Mon Feb 4 15:11:17 2008 New Revision: 46716 URL: http://llvm.org/viewvc/llvm-project?rev=46716&view=rev Log: Added "bucket_iterators" to FoldingSet. Bucket iterators allow iteration over all the nodes in a particular bucket. Modified: llvm/trunk/include/llvm/ADT/Foldi

[llvm-commits] [llvm] r46709 - /llvm/trunk/lib/Support/FoldingSet.cpp

2008-02-04 Thread Ted Kremenek
Author: kremenek Date: Mon Feb 4 11:14:20 2008 New Revision: 46709 URL: http://llvm.org/viewvc/llvm-project?rev=46709&view=rev Log: Fixed 80 col. violation. Modified: llvm/trunk/lib/Support/FoldingSet.cpp Modified: llvm/trunk/lib/Support/FoldingSet.cpp URL: http://llvm.org/viewvc/llvm-proj

[llvm-commits] [llvm] r46707 - /llvm/trunk/include/llvm/ADT/APSInt.h

2008-02-04 Thread Ted Kremenek
Author: kremenek Date: Mon Feb 4 10:57:26 2008 New Revision: 46707 URL: http://llvm.org/viewvc/llvm-project?rev=46707&view=rev Log: constified operator~(). Modified: llvm/trunk/include/llvm/ADT/APSInt.h Modified: llvm/trunk/include/llvm/ADT/APSInt.h URL: http://llvm.org/viewvc/llvm-project

[llvm-commits] [llvm] r46521 - /llvm/trunk/include/llvm/ADT/APSInt.h

2008-01-29 Thread Ted Kremenek
Author: kremenek Date: Tue Jan 29 12:55:14 2008 New Revision: 46521 URL: http://llvm.org/viewvc/llvm-project?rev=46521&view=rev Log: Altered ctor for APSInt to accept an optional "isUnsigned" flag. Default behavior is unchanged. Modified: llvm/trunk/include/llvm/ADT/APSInt.h Modified: llvm/

[llvm-commits] [llvm] r46465 - /llvm/trunk/include/llvm/ADT/FoldingSet.h

2008-01-28 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 28 16:05:23 2008 New Revision: 46465 URL: http://llvm.org/viewvc/llvm-project?rev=46465&view=rev Log: Added destructor for template class FoldingSetNodeWrapper. Added getValue() to FoldingSetNodeWrapper. Modified: llvm/trunk/include/llvm/ADT/FoldingSet.h Modifi

[llvm-commits] [llvm] r46316 - /llvm/trunk/include/llvm/ADT/APSInt.h

2008-01-24 Thread Ted Kremenek
Author: kremenek Date: Thu Jan 24 12:59:52 2008 New Revision: 46316 URL: http://llvm.org/viewvc/llvm-project?rev=46316&view=rev Log: Added additional overloaded operators for APSInt to match the operators of APInt. While some operators were already specifically overloaded for APSInt, others resul

[llvm-commits] [llvm] r46283 - /llvm/trunk/include/llvm/Support/GraphWriter.h

2008-01-23 Thread Ted Kremenek
Author: kremenek Date: Wed Jan 23 16:29:58 2008 New Revision: 46283 URL: http://llvm.org/viewvc/llvm-project?rev=46283&view=rev Log: Added special escape sequences "\{", "\}", and "\|" when processing getNodeLabel(); these sequences allow the user to specify the characters '{', '}', and '|' in the

[llvm-commits] [llvm] r46277 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-23 Thread Ted Kremenek
Author: kremenek Date: Wed Jan 23 13:57:33 2008 New Revision: 46277 URL: http://llvm.org/viewvc/llvm-project?rev=46277&view=rev Log: Added "getRoot()" to ImmutableSet. Made ImmutableSet::ImmutableSet(ImutAVLTree* Root) public. (this allows handy casting between trees and sets). Modified: l

Re: [llvm-commits] [llvm] r46224 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Ted Kremenek
On Jan 21, 2008, at 2:36 PM, Chris Lattner wrote: > On Jan 21, 2008, at 2:33 PM, Ted Kremenek wrote: >> URL: http://llvm.org/viewvc/llvm-project?rev=46224&view=rev >> Log: >> Replaced (FoldingSet) profiling of ImutAVLTree with a hashing based >> scheme. The &g

[llvm-commits] [llvm] r46229 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 21 16:54:46 2008 New Revision: 46229 URL: http://llvm.org/viewvc/llvm-project?rev=46229&view=rev Log: Fixed buggy caching of the hash value of an ImutAVLTree node. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified: llvm/trunk/include/llvm/ADT/Immuta

[llvm-commits] [llvm] r46228 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 21 16:51:35 2008 New Revision: 46228 URL: http://llvm.org/viewvc/llvm-project?rev=46228&view=rev Log: Moved method call within a conditional branch because its effects will be ignored on the false branch. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Mod

[llvm-commits] [llvm] r46227 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 21 16:50:37 2008 New Revision: 46227 URL: http://llvm.org/viewvc/llvm-project?rev=46227&view=rev Log: Adjusted ImutAVLTree::ComputeHash to compute a hash value that is based on a clearer sequence of hashing compositions. Modified: llvm/trunk/include/llvm/ADT/Imm

[llvm-commits] [llvm] r46226 - /llvm/trunk/include/llvm/ADT/FoldingSet.h

2008-01-21 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 21 16:49:22 2008 New Revision: 46226 URL: http://llvm.org/viewvc/llvm-project?rev=46226&view=rev Log: Added "clear" method to FoldingSetNodeID to allow a FoldingSetNodeID object to be reused to compute multiple object profiles. Modified: llvm/trunk/include/llvm/

[llvm-commits] [llvm] r46224 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 21 16:33:30 2008 New Revision: 46224 URL: http://llvm.org/viewvc/llvm-project?rev=46224&view=rev Log: Replaced (FoldingSet) profiling of ImutAVLTree with a hashing based scheme. The problem was that we previously hashed based on the pointers of the left and right chi

[llvm-commits] [llvm] r46193 - /llvm/trunk/include/llvm/ADT/APInt.h

2008-01-19 Thread Ted Kremenek
Author: kremenek Date: Sat Jan 19 11:21:43 2008 New Revision: 46193 URL: http://llvm.org/viewvc/llvm-project?rev=46193&view=rev Log: Changed argument name for 'Profile' method to potentially fix a name conflict reported in pr1929 (http://llvm.org/PR1929). Modified: llvm/trunk/include/llvm/ADT

[llvm-commits] [llvm] r46190 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-18 Thread Ted Kremenek
Author: kremenek Date: Fri Jan 18 22:51:55 2008 New Revision: 46190 URL: http://llvm.org/viewvc/llvm-project?rev=46190&view=rev Log: Modified ImmutableSet/ImmutableMap to use FoldingSet profiling using FoldingSetTrait instead of directly calling a 'Profile' method. Modified: llvm/trunk/includ

[llvm-commits] [llvm] r46189 - in /llvm/trunk: include/llvm/ADT/APSInt.h lib/Support/APSInt.cpp

2008-01-18 Thread Ted Kremenek
Author: kremenek Date: Fri Jan 18 22:31:12 2008 New Revision: 46189 URL: http://llvm.org/viewvc/llvm-project?rev=46189&view=rev Log: Added FoldingSet style 'profiling' support for APSInt. Added: llvm/trunk/lib/Support/APSInt.cpp Modified: llvm/trunk/include/llvm/ADT/APSInt.h Modified: ll

[llvm-commits] [llvm] r46188 - in /llvm/trunk: include/llvm/ADT/APInt.h lib/Support/APInt.cpp

2008-01-18 Thread Ted Kremenek
Author: kremenek Date: Fri Jan 18 22:23:33 2008 New Revision: 46188 URL: http://llvm.org/viewvc/llvm-project?rev=46188&view=rev Log: Added FoldingSet style 'profiling' support for APInt. Modified: llvm/trunk/include/llvm/ADT/APInt.h llvm/trunk/lib/Support/APInt.cpp Modified: llvm/trunk/i

[llvm-commits] [llvm] r46187 - in /llvm/trunk: include/llvm/ADT/FoldingSet.h lib/Support/FoldingSet.cpp

2008-01-18 Thread Ted Kremenek
Author: kremenek Date: Fri Jan 18 22:22:50 2008 New Revision: 46187 URL: http://llvm.org/viewvc/llvm-project?rev=46187&view=rev Log: Made 'FoldingSetNodeID' a proper class instead of a nested class in 'FoldingSetNodeImpl' (previously 'FoldingSetNodeID' was a typedef of 'FoldingSetNodeImpl::NodeID'

[llvm-commits] [llvm] r46186 - /llvm/trunk/include/llvm/ADT/FoldingSet.h

2008-01-18 Thread Ted Kremenek
Author: kremenek Date: Fri Jan 18 21:58:00 2008 New Revision: 46186 URL: http://llvm.org/viewvc/llvm-project?rev=46186&view=rev Log: Made 'profiling' of objects in a FoldingSet trait-based using FoldingSetTrait instead of always assuming that the stored objects had a method called 'Profile'. The d

[llvm-commits] [llvm] r46150 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h

2008-01-17 Thread Ted Kremenek
Author: kremenek Date: Thu Jan 17 18:38:04 2008 New Revision: 46150 URL: http://llvm.org/viewvc/llvm-project?rev=46150&view=rev Log: Reverted implementation of ImmutableMap::find() to return a TreeTy* instead of an iterator, since the implementation returned an iterator that pointed to a different

[llvm-commits] [llvm] r46130 - in /llvm/trunk/include/llvm/ADT: ImmutableMap.h ImmutableSet.h

2008-01-17 Thread Ted Kremenek
Author: kremenek Date: Thu Jan 17 11:36:49 2008 New Revision: 46130 URL: http://llvm.org/viewvc/llvm-project?rev=46130&view=rev Log: Implemented "FIXME" in ImutAVLTree: isEqual() now also compares the *data* value and not just the key value when comparing trees. To do this we added data_type and d

[llvm-commits] [llvm] r46034 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h

2008-01-15 Thread Ted Kremenek
Author: kremenek Date: Tue Jan 15 17:53:53 2008 New Revision: 46034 URL: http://llvm.org/viewvc/llvm-project?rev=46034&view=rev Log: Changed ImmutableMap::find to return an iterator instead of a pointer to the tree node. Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h Modified: llvm/tru

[llvm-commits] [llvm] r45756 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h

2008-01-08 Thread Ted Kremenek
Author: kremenek Date: Tue Jan 8 15:05:59 2008 New Revision: 45756 URL: http://llvm.org/viewvc/llvm-project?rev=45756&view=rev Log: Added "getRoot()" to ImmutableMap. Made the ctor for ImmutableMap to construct a map from an AVL tree public. Modified: llvm/trunk/include/llvm/ADT/ImmutableMap

[llvm-commits] [llvm] r45752 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h

2008-01-08 Thread Ted Kremenek
Author: kremenek Date: Tue Jan 8 13:38:55 2008 New Revision: 45752 URL: http://llvm.org/viewvc/llvm-project?rev=45752&view=rev Log: Fixed 80 col. violation. Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h URL: http://llvm.org/viewvc

[llvm-commits] [llvm] r45507 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h

2008-01-03 Thread Ted Kremenek
Author: kremenek Date: Wed Jan 2 16:18:33 2008 New Revision: 45507 URL: http://llvm.org/viewvc/llvm-project?rev=45507&view=rev Log: Inverted argument order for ImmutableMap::Profile. Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h UR

[llvm-commits] [llvm] r45503 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h

2008-01-03 Thread Ted Kremenek
Author: kremenek Date: Wed Jan 2 15:31:48 2008 New Revision: 45503 URL: http://llvm.org/viewvc/llvm-project?rev=45503&view=rev Log: Added iterator and profiling (i.e. FoldingSetNodeID) support to ImmutableMap. Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h Modified: llvm/trunk/include

[llvm-commits] [llvm] r45341 - /llvm/trunk/utils/GenLibDeps.pl

2007-12-24 Thread Ted Kremenek
Author: kremenek Date: Mon Dec 24 02:04:39 2007 New Revision: 45341 URL: http://llvm.org/viewvc/llvm-project?rev=45341&view=rev Log: Added special support for stripping CRLF characters that may appear in the output of nm. Modified: llvm/trunk/utils/GenLibDeps.pl Modified: llvm/trunk/utils/Ge

[llvm-commits] [llvm] r45274 - /llvm/trunk/include/llvm/ADT/scoped_ptr.h

2007-12-20 Thread Ted Kremenek
Author: kremenek Date: Thu Dec 20 18:15:29 2007 New Revision: 45274 URL: http://llvm.org/viewvc/llvm-project?rev=45274&view=rev Log: Removed scoped_ptr, as its functionality is subsumed by OwningPtr. Removed: llvm/trunk/include/llvm/ADT/scoped_ptr.h Removed: llvm/trunk/include/llvm/ADT/scope

[llvm-commits] [llvm] r45266 - /llvm/trunk/include/llvm/ADT/OwningPtr.h

2007-12-20 Thread Ted Kremenek
Author: kremenek Date: Thu Dec 20 13:53:47 2007 New Revision: 45266 URL: http://llvm.org/viewvc/llvm-project?rev=45266&view=rev Log: Added OwningArrayPtr smart pointer class to provide an analogous class to OwningPtr except that it works for pointers to arrays. Modified: llvm/trunk/include/ll

[llvm-commits] [llvm] r45182 - in /llvm/trunk: include/llvm/System/Path.h lib/System/Unix/Path.inc lib/System/Win32/Path.inc

2007-12-18 Thread Ted Kremenek
Author: kremenek Date: Tue Dec 18 16:07:33 2007 New Revision: 45182 URL: http://llvm.org/viewvc/llvm-project?rev=45182&view=rev Log: Added "GetCurrentDirectory()" to sys::Path. Modified: llvm/trunk/include/llvm/System/Path.h llvm/trunk/lib/System/Unix/Path.inc llvm/trunk/lib/System/Wi

[llvm-commits] [llvm] r45168 - in /llvm/trunk: include/llvm/System/Path.h lib/System/Unix/Path.inc lib/System/Win32/Path.inc

2007-12-18 Thread Ted Kremenek
Author: kremenek Date: Tue Dec 18 13:46:22 2007 New Revision: 45168 URL: http://llvm.org/viewvc/llvm-project?rev=45168&view=rev Log: Added "isDirectory" method to llvm::sys::Path. Modified: llvm/trunk/include/llvm/System/Path.h llvm/trunk/lib/System/Unix/Path.inc llvm/trunk/lib/System

[llvm-commits] [llvm] r45162 - /llvm/trunk/include/llvm/Bitcode/Serialize.h

2007-12-18 Thread Ted Kremenek
Author: kremenek Date: Tue Dec 18 12:25:55 2007 New Revision: 45162 URL: http://llvm.org/viewvc/llvm-project?rev=45162&view=rev Log: Added some sectioning comments to Serialize.h. Added additional serialization functors for use with std::foreach. Modified: llvm/trunk/include/llvm/Bitcode/Seri

[llvm-commits] [llvm] r45129 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-12-17 Thread Ted Kremenek
Author: kremenek Date: Mon Dec 17 16:25:12 2007 New Revision: 45129 URL: http://llvm.org/viewvc/llvm-project?rev=45129&view=rev Log: Modified Deserializer::ReadCStr to allow C-strings to be read into a std::vector starting from any index in the vector. Modified: llvm/trunk/include/llvm/Bitcod

[llvm-commits] [llvm] r44815 - /llvm/trunk/include/llvm/ADT/BitVector.h

2007-12-10 Thread Ted Kremenek
Author: kremenek Date: Mon Dec 10 16:28:35 2007 New Revision: 44815 URL: http://llvm.org/viewvc/llvm-project?rev=44815&view=rev Log: Added two bounds checks to the BitVector class to detect out-of-bounds bit accesses. The checks are only performed in a Debug build. Modified: llvm/trunk/inclu

[llvm-commits] [llvm] r44589 - /llvm/trunk/include/llvm/Bitcode/Serialize.h

2007-12-04 Thread Ted Kremenek
Author: kremenek Date: Tue Dec 4 18:13:07 2007 New Revision: 44589 URL: http://llvm.org/viewvc/llvm-project?rev=44589&view=rev Log: Added "Emitter" functor to allow easy emitting of elements of a container using std::for_each. Modified: llvm/trunk/include/llvm/Bitcode/Serialize.h Modified:

Re: [llvm-commits] [llvm] r44478 - in /llvm/trunk: autoconf/configure.ac configure include/llvm/Config/config.h.in

2007-11-30 Thread Ted Kremenek
Fantastic! Merci! On Nov 30, 2007, at 4:34 PM, Eric Christopher wrote: > Author: echristo > Date: Fri Nov 30 18:34:39 2007 > New Revision: 44478 > > URL: http://llvm.org/viewvc/llvm-project?rev=44478&view=rev > Log: > Add target triple to include/llvm/Config/config.h.in. Regenerate all > files

[llvm-commits] [llvm] r44470 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-11-30 Thread Ted Kremenek
Author: kremenek Date: Fri Nov 30 16:45:05 2007 New Revision: 44470 URL: http://llvm.org/viewvc/llvm-project?rev=44470&view=rev Log: Fixed subtle bug in Deserializer::JumpTo when jumping when the block-nesting information matching did not exactly match the underlying stream's scoping information.

[llvm-commits] [llvm] r44469 - /llvm/trunk/include/llvm/Bitcode/BitstreamReader.h

2007-11-30 Thread Ted Kremenek
Author: kremenek Date: Fri Nov 30 16:39:46 2007 New Revision: 44469 URL: http://llvm.org/viewvc/llvm-project?rev=44469&view=rev Log: Fixed potential bug where CurWord is not zeroed out in JumpToBit. Modified: llvm/trunk/include/llvm/Bitcode/BitstreamReader.h Modified: llvm/trunk/include/llvm

[llvm-commits] [llvm] r44372 - /llvm/trunk/utils/GenLibDeps.pl

2007-11-27 Thread Ted Kremenek
Author: kremenek Date: Tue Nov 27 13:31:11 2007 New Revision: 44372 URL: http://llvm.org/viewvc/llvm-project?rev=44372&view=rev Log: Updated GenLibDeps.pl to employ "use strict" to help prevent uses of variables that have not yet been defined. Removed used of grep and sed when parsing the results

[llvm-commits] [llvm] r44365 - /llvm/trunk/tools/llvm-config/Makefile

2007-11-27 Thread Ted Kremenek
Author: kremenek Date: Tue Nov 27 11:53:54 2007 New Revision: 44365 URL: http://llvm.org/viewvc/llvm-project?rev=44365&view=rev Log: Added quotes around $(NM_PATH) argument to GenLibDeps.pl script so that the "-p" option is actually seen by nm (it was being dropped as it was considered as separate

[llvm-commits] [llvm] r44203 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialize.h

2007-11-16 Thread Ted Kremenek
Author: kremenek Date: Fri Nov 16 21:34:33 2007 New Revision: 44203 URL: http://llvm.org/viewvc/llvm-project?rev=44203&view=rev Log: Reverted patch 44199: http://llvm.org/viewvc/llvm-project?rev=44199&view=rev This patch completely broke serialization due to an invariant I assumed but did not ho

[llvm-commits] [llvm] r44200 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialize.h

2007-11-16 Thread Ted Kremenek
Author: kremenek Date: Fri Nov 16 18:45:37 2007 New Revision: 44200 URL: http://llvm.org/viewvc/llvm-project?rev=44200&view=rev Log: Changed implementation of Serialize::EmitDiffPtrID and Deserialize::ReadDiffPtrID to read and emit bools instead of unsigned integers. This should result in a nice s

[llvm-commits] [llvm] r44199 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialize.h

2007-11-16 Thread Ted Kremenek
Author: kremenek Date: Fri Nov 16 18:40:45 2007 New Revision: 44199 URL: http://llvm.org/viewvc/llvm-project?rev=44199&view=rev Log: Implemented optimization for BatchEmitOwnedPtrs that we only emit one complete SerializedPtrID, followed by the *differences* in IDs. The big idea is that most IDs w

[llvm-commits] [llvm] r44152 - /llvm/trunk/include/llvm/Bitcode/Deserialize.h

2007-11-14 Thread Ted Kremenek
Author: kremenek Date: Wed Nov 14 18:05:03 2007 New Revision: 44152 URL: http://llvm.org/viewvc/llvm-project?rev=44152&view=rev Log: Fixed serious bug in BatchReadOwnedPtrs where in a chain of calls to deserialize objects if BatchReadOwnedPtrs was called more than once in the same call chain then

[llvm-commits] [llvm] r44124 - /llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp

2007-11-14 Thread Ted Kremenek
Author: kremenek Date: Wed Nov 14 11:42:09 2007 New Revision: 44124 URL: http://llvm.org/viewvc/llvm-project?rev=44124&view=rev Log: Removed debug #define that was accidentally checked in while debugging the deserializer. Fixed assertion when "stream jumping" in the deserializer to properly funct

[llvm-commits] [llvm] r44105 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h include/llvm/Bitcode/Serialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-11-14 Thread Ted Kremenek
Author: kremenek Date: Wed Nov 14 02:05:03 2007 New Revision: 44105 URL: http://llvm.org/viewvc/llvm-project?rev=44105&view=rev Log: Added two new overloaded versions of BatchEmitOwnedPtrs and BatchReadOwnedPtrs. Modified: llvm/trunk/include/llvm/Bitcode/Deserialize.h llvm/trunk/include/l

[llvm-commits] [llvm] r44034 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialization.h

2007-11-12 Thread Ted Kremenek
Author: kremenek Date: Mon Nov 12 18:25:08 2007 New Revision: 44034 URL: http://llvm.org/viewvc/llvm-project?rev=44034&view=rev Log: Renamed serialization method "Materialize" to "Create". This is an API change. Modified: llvm/trunk/include/llvm/Bitcode/Deserialize.h llvm/trunk/include/l

[llvm-commits] [llvm] r44032 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialize.h

2007-11-12 Thread Ted Kremenek
Author: kremenek Date: Mon Nov 12 18:13:57 2007 New Revision: 44032 URL: http://llvm.org/viewvc/llvm-project?rev=44032&view=rev Log: Fixed bug with inconsistent serialization/deserialization in matching calls to BatchEmitOwnedPtrs and BatchReadOwnedPtrs. Modified: llvm/trunk/include/llvm/Bitc

[llvm-commits] [llvm] r44021 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-11-12 Thread Ted Kremenek
Author: kremenek Date: Mon Nov 12 13:11:15 2007 New Revision: 44021 URL: http://llvm.org/viewvc/llvm-project?rev=44021&view=rev Log: Added versions of ReadPtr that takes an explicit SerializedPtrID. This allows clients of the Deserializer to read the pointer ID before they are ready to deserializ

[llvm-commits] [llvm] r43984 - /llvm/trunk/include/llvm/Bitcode/Deserialize.h

2007-11-10 Thread Ted Kremenek
Author: kremenek Date: Sat Nov 10 13:33:26 2007 New Revision: 43984 URL: http://llvm.org/viewvc/llvm-project?rev=43984&view=rev Log: Fixed a bug introduced by my last patch. Now we properly clear out the BatchIDVec vector before reusing it. Modified: llvm/trunk/include/llvm/Bitcode/Deserial

[llvm-commits] [llvm] r43983 - /llvm/trunk/include/llvm/Bitcode/Deserialize.h

2007-11-10 Thread Ted Kremenek
Author: kremenek Date: Sat Nov 10 13:28:49 2007 New Revision: 43983 URL: http://llvm.org/viewvc/llvm-project?rev=43983&view=rev Log: Fixed hack in BatchReadOwnedPtrs to no longer use the array of pointers passed in for deserialization as a temporary location for storing serialized pointer identi

[llvm-commits] [llvm] r43982 - /llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp

2007-11-10 Thread Ted Kremenek
Author: kremenek Date: Sat Nov 10 13:19:32 2007 New Revision: 43982 URL: http://llvm.org/viewvc/llvm-project?rev=43982&view=rev Log: Updated method signature to conform with the typedef in the method prototype. Modified: llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp Modified: llvm/trunk/lib/

[llvm-commits] [llvm] r43973 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-11-09 Thread Ted Kremenek
Author: kremenek Date: Fri Nov 9 20:02:34 2007 New Revision: 43973 URL: http://llvm.org/viewvc/llvm-project?rev=43973&view=rev Log: Added "random access" to the Deserializer to allow a client to jump to any serialized block in the bitstream, including a block in an entirely different nesting than

[llvm-commits] [llvm] r43972 - /llvm/trunk/include/llvm/Bitcode/BitstreamReader.h

2007-11-09 Thread Ted Kremenek
Author: kremenek Date: Fri Nov 9 20:00:38 2007 New Revision: 43972 URL: http://llvm.org/viewvc/llvm-project?rev=43972&view=rev Log: Made Deserializer a friend class of BitstreamReader. Moved some of the logic in BitstreamReader::ExitBlock into a utility function BitstreamReader::PopBlockScope. T

[llvm-commits] [llvm] r43916 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-11-08 Thread Ted Kremenek
Author: kremenek Date: Thu Nov 8 18:43:51 2007 New Revision: 43916 URL: http://llvm.org/viewvc/llvm-project?rev=43916&view=rev Log: Updated Deserializer class to provide more information about the current block that is being visited in the bitstream. The client can also now skip blocks before re

[llvm-commits] [llvm] r43903 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h include/llvm/Bitcode/SerializationFwd.h include/llvm/Bitcode/Serialize.h lib/Bitcode/Reader/Deserialize.cpp lib/Bitcod

2007-11-08 Thread Ted Kremenek
Author: kremenek Date: Thu Nov 8 13:50:46 2007 New Revision: 43903 URL: http://llvm.org/viewvc/llvm-project?rev=43903&view=rev Log: Added typedef "SerializedPtrID" to represent the pointer handle written to disk instead of just using "unsigned". This gives us more flexibility in changing the def

[llvm-commits] [llvm] r43861 - /llvm/trunk/include/llvm/Bitcode/Serialize.h

2007-11-07 Thread Ted Kremenek
Author: kremenek Date: Wed Nov 7 18:55:31 2007 New Revision: 43861 URL: http://llvm.org/viewvc/llvm-project?rev=43861&view=rev Log: Revised BatchEmitOwnedPtrs to work better with constant pointers. Modified: llvm/trunk/include/llvm/Bitcode/Serialize.h Modified: llvm/trunk/include/llvm/Bitco

[llvm-commits] [llvm] r43855 - /llvm/trunk/include/llvm/Bitcode/Deserialize.h

2007-11-07 Thread Ted Kremenek
Author: kremenek Date: Wed Nov 7 18:04:50 2007 New Revision: 43855 URL: http://llvm.org/viewvc/llvm-project?rev=43855&view=rev Log: Revised implementation of BatchReadOwnedPtrs() that deserializes an array of pointers to not allocate a second array to contain the pointer ids. Fixed bug in the sa

[llvm-commits] [llvm] r43853 - /llvm/trunk/include/llvm/Bitcode/Serialize.h

2007-11-07 Thread Ted Kremenek
Author: kremenek Date: Wed Nov 7 17:32:06 2007 New Revision: 43853 URL: http://llvm.org/viewvc/llvm-project?rev=43853&view=rev Log: Fixed bug where we did not properly serialize owned objects due to a missing dereference. Modified: llvm/trunk/include/llvm/Bitcode/Serialize.h Modified: llvm/

[llvm-commits] [llvm] r43852 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialize.h

2007-11-07 Thread Ted Kremenek
Author: kremenek Date: Wed Nov 7 17:18:40 2007 New Revision: 43852 URL: http://llvm.org/viewvc/llvm-project?rev=43852&view=rev Log: Added version of BatchEmitOwnedPtrs and BatchReadOwnedPtrs that emits/reads an array of pointers of the same type. Modified: llvm/trunk/include/llvm/Bitcode/Des

[llvm-commits] [llvm] r43845 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialize.h

2007-11-07 Thread Ted Kremenek
Author: kremenek Date: Wed Nov 7 16:30:29 2007 New Revision: 43845 URL: http://llvm.org/viewvc/llvm-project?rev=43845&view=rev Log: Added methods to batch emit and deserialize owned pointers. This allows to group the pointer IDs together in the bitstream before their referenced contents (which w

[llvm-commits] [llvm] r43829 - in /llvm/trunk: include/llvm/ADT/APFloat.h lib/Bitcode/Reader/DeserializeAPFloat.cpp lib/Bitcode/Writer/SerializeAPFloat.cpp

2007-11-07 Thread Ted Kremenek
itcode/Reader/DeserializeAPFloat.cpp Wed Nov 7 12:39:22 2007 @@ -0,0 +1,24 @@ +//===-- SerializeAPInt.cpp - Serialization for APFloat -*- C++ -*--===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by Ted Kremenek and is distributed under t

[llvm-commits] [llvm] r43828 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h include/llvm/Bitcode/Serialization.h include/llvm/Bitcode/Serialize.h lib/Bitcode/Reader/Deserialize.cpp lib/Bitcode/W

2007-11-07 Thread Ted Kremenek
Author: kremenek Date: Wed Nov 7 12:24:34 2007 New Revision: 43828 URL: http://llvm.org/viewvc/llvm-project?rev=43828&view=rev Log: Implemented serialization of signed integers. Modified: llvm/trunk/include/llvm/Bitcode/Deserialize.h llvm/trunk/include/llvm/Bitcode/Serialization.h ll

[llvm-commits] [llvm] r43799 - /llvm/trunk/include/llvm/Bitcode/Deserialize.h

2007-11-06 Thread Ted Kremenek
Author: kremenek Date: Tue Nov 6 18:47:33 2007 New Revision: 43799 URL: http://llvm.org/viewvc/llvm-project?rev=43799&view=rev Log: Added special version of ReadPtr() that returns a deserialized pointer by value. This version prohibits backpatching of pointers, so it useful when a pointee is alw

[llvm-commits] [llvm] r43795 - /llvm/trunk/include/llvm/ADT/APInt.h

2007-11-06 Thread Ted Kremenek
Author: kremenek Date: Tue Nov 6 18:27:59 2007 New Revision: 43795 URL: http://llvm.org/viewvc/llvm-project?rev=43795&view=rev Log: Fixed default ctor for APInt to properly initialize BitWidth to a non-random value. Modified: llvm/trunk/include/llvm/ADT/APInt.h Modified: llvm/trunk/include/

[llvm-commits] [llvm] r43784 - in /llvm/trunk: include/llvm/Bitcode/Serialize.h lib/Bitcode/Writer/Serialize.cpp

2007-11-06 Thread Ted Kremenek
Author: kremenek Date: Tue Nov 6 16:22:25 2007 New Revision: 43784 URL: http://llvm.org/viewvc/llvm-project?rev=43784&view=rev Log: Serializer no longer automatically emits a root-level block in the bitstream. Modified: llvm/trunk/include/llvm/Bitcode/Serialize.h llvm/trunk/lib/Bitcode/W

[llvm-commits] [llvm] r43783 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-11-06 Thread Ted Kremenek
Author: kremenek Date: Tue Nov 6 16:21:14 2007 New Revision: 43783 URL: http://llvm.org/viewvc/llvm-project?rev=43783&view=rev Log: Augmented ReadPtr and ReadOwnedPtr to control whether or not a pointer is allowed to be backpatched or can be registered with the deserializer to backpatch other po

[llvm-commits] [llvm] r43772 - in /llvm/trunk: include/llvm/Bitcode/Serialize.h lib/Bitcode/Writer/Serialize.cpp

2007-11-06 Thread Ted Kremenek
Author: kremenek Date: Tue Nov 6 13:49:50 2007 New Revision: 43772 URL: http://llvm.org/viewvc/llvm-project?rev=43772&view=rev Log: Renamed "Flush()" to "FlushRecord()". Modified: llvm/trunk/include/llvm/Bitcode/Serialize.h llvm/trunk/lib/Bitcode/Writer/Serialize.cpp Modified: llvm/trun

[llvm-commits] [llvm] r43771 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-11-06 Thread Ted Kremenek
Author: kremenek Date: Tue Nov 6 13:49:16 2007 New Revision: 43771 URL: http://llvm.org/viewvc/llvm-project?rev=43771&view=rev Log: Added support for processing abbreviations in the Deserializer. Added some #ifdef-controlled messages for debugging backpatching. Modified: llvm/trunk/include/l

[llvm-commits] [llvm] r43736 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h include/llvm/Bitcode/Serialize.h lib/Bitcode/Reader/Deserialize.cpp lib/Bitcode/Writer/Serialize.cpp

2007-11-05 Thread Ted Kremenek
Author: kremenek Date: Mon Nov 5 15:36:35 2007 New Revision: 43736 URL: http://llvm.org/viewvc/llvm-project?rev=43736&view=rev Log: Added support in serializer and deserializer to create arbitrary blocks. Added detection of end-of-stream in deserializer. Modified: llvm/trunk/include/llvm/Bit

[llvm-commits] [llvm] r43732 - in /llvm/trunk: include/llvm/Bitcode/Serialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-11-05 Thread Ted Kremenek
Author: kremenek Date: Mon Nov 5 14:47:27 2007 New Revision: 43732 URL: http://llvm.org/viewvc/llvm-project?rev=43732&view=rev Log: Added default creation of root-level block by bitstream serializer. Modified: llvm/trunk/include/llvm/Bitcode/Serialize.h llvm/trunk/lib/Bitcode/Reader/Dese

[llvm-commits] [llvm] r43721 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialize.h

2007-11-05 Thread Ted Kremenek
Author: kremenek Date: Mon Nov 5 12:13:03 2007 New Revision: 43721 URL: http://llvm.org/viewvc/llvm-project?rev=43721&view=rev Log: Fixed bug where tombstone key and empty key for DenseMap used for pointer backpatching in deserializer were improperly created and resulted in an assertion failure.

[llvm-commits] [llvm] r43647 - /llvm/trunk/include/llvm/Bitcode/Deserialize.h

2007-11-02 Thread Ted Kremenek
Author: kremenek Date: Fri Nov 2 13:04:20 2007 New Revision: 43647 URL: http://llvm.org/viewvc/llvm-project?rev=43647&view=rev Log: Added overloaded version of Deserializer::ReadOwnedPtr which allows the target pointer to be passed by reference. This can result in less typing, as the object to b

[llvm-commits] [llvm] r43624 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h include/llvm/Bitcode/Serialization.h lib/Bitcode/Reader/Deserialize.cpp

2007-11-01 Thread Ted Kremenek
Author: kremenek Date: Thu Nov 1 17:23:34 2007 New Revision: 43624 URL: http://llvm.org/viewvc/llvm-project?rev=43624&view=rev Log: Removed ReadVal from SerializeTrait, and also removed it from Deserializer. There were issues with Visual C++ barfing when instantiating SerializeTrait when "T" was

[llvm-commits] [llvm] r43595 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 19:57:37 2007 New Revision: 43595 URL: http://llvm.org/viewvc/llvm-project?rev=43595&view=rev Log: Rewrote backpatcher. Backpatcher now stores the "has final pointer" flag in the **key** of the backpatch map, as opposed to the mapped value which contains either t

[llvm-commits] [llvm] r43594 - /llvm/trunk/include/llvm/ADT/DenseMap.h

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 19:54:57 2007 New Revision: 43594 URL: http://llvm.org/viewvc/llvm-project?rev=43594&view=rev Log: Added typedef "value_type" to DenseMap (similar typedef appears in std::map). Added method FindAndConstruct() to DenseMap, which does the same thing as operator[],

[llvm-commits] [llvm] r43583 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 17:42:03 2007 New Revision: 43583 URL: http://llvm.org/viewvc/llvm-project?rev=43583&view=rev Log: constified several pointer arguments for methods in the Deserializer. Modified: llvm/trunk/include/llvm/Bitcode/Deserialize.h llvm/trunk/lib/Bitcode/Reader/

[llvm-commits] [llvm] r43570 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 14:58:32 2007 New Revision: 43570 URL: http://llvm.org/viewvc/llvm-project?rev=43570&view=rev Log: Implemented deserialization of references. References are handled just like pointers, except that they cannot be backpatched. This means that references are essent

[llvm-commits] [llvm] r43565 - in /llvm/trunk: include/llvm/Bitcode/Serialize.h lib/Bitcode/Writer/Serialize.cpp

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 13:23:21 2007 New Revision: 43565 URL: http://llvm.org/viewvc/llvm-project?rev=43565&view=rev Log: Added Serializer::EmitRef to deal with emitting arbitrary references. Modified Serializer::EmitPtr to handle const pointers. Modified: llvm/trunk/include/llvm/B

[llvm-commits] [llvm] r43559 - /llvm/trunk/include/llvm/ADT/FoldingSet.h

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 12:12:47 2007 New Revision: 43559 URL: http://llvm.org/viewvc/llvm-project?rev=43559&view=rev Log: Changed access control within FoldingSet for some ivars from "private" to "protected". This allows iterators to work. Modified: llvm/trunk/include/llvm/ADT/Fol

[llvm-commits] [llvm] r43531 - /llvm/trunk/include/llvm/ADT/FoldingSet.h

2007-10-30 Thread Ted Kremenek
Author: kremenek Date: Tue Oct 30 18:35:55 2007 New Revision: 43531 URL: http://llvm.org/viewvc/llvm-project?rev=43531&view=rev Log: Added member function "size()" to FoldingSet to return the number of nodes in the FoldingSet. Modified: llvm/trunk/include/llvm/ADT/FoldingSet.h Modified: llvm

[llvm-commits] [llvm] r43459 - /llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp

2007-10-29 Thread Ted Kremenek
Author: kremenek Date: Mon Oct 29 13:43:39 2007 New Revision: 43459 URL: http://llvm.org/viewvc/llvm-project?rev=43459&view=rev Log: Fixed warning concerning implicit conversion from a NULL pointer constant to an unsigned int. We now just directly assign the literal 0. Modified: llvm/trunk/l

[llvm-commits] [llvm] r43425 - /llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp

2007-10-28 Thread Ted Kremenek
Author: kremenek Date: Sun Oct 28 18:38:38 2007 New Revision: 43425 URL: http://llvm.org/viewvc/llvm-project?rev=43425&view=rev Log: Fixed assertion in Deserializer::~Deserializer that checks for pointers that were not backpatched (previously checked the wrong invariant). Modified: llvm/trunk

[llvm-commits] [llvm] r43422 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-10-28 Thread Ted Kremenek
Author: kremenek Date: Sun Oct 28 16:17:59 2007 New Revision: 43422 URL: http://llvm.org/viewvc/llvm-project?rev=43422&view=rev Log: Updated backpatching logic during object deserialization to perform eager backpatching instead of waithing until all objects have been deserialized. This allows us

[llvm-commits] [llvm] r43413 - /llvm/trunk/include/llvm/Bitcode/Serialization.h

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 18:44:59 2007 New Revision: 43413 URL: http://llvm.org/viewvc/llvm-project?rev=43413&view=rev Log: Fixed bug where default SerializeTrait<>::Materialize would not return the materialized object pointer. Modified: llvm/trunk/include/llvm/Bitcode/Serialization

[llvm-commits] [llvm] r43406 - /llvm/trunk/Xcode/LLVM.xcodeproj/project.pbxproj

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 16:53:37 2007 New Revision: 43406 URL: http://llvm.org/viewvc/llvm-project?rev=43406&view=rev Log: Added SerializeAPInt.cpp and DeserializeAPInt.cpp to the XCode project. Modified: llvm/trunk/Xcode/LLVM.xcodeproj/project.pbxproj Modified: llvm/trunk/Xcode/LL

[llvm-commits] [llvm] r43405 - in /llvm/trunk: include/llvm/ADT/APInt.h lib/Bitcode/Reader/DeserializeAPInt.cpp lib/Bitcode/Writer/SerializeAPInt.cpp

2007-10-26 Thread Ted Kremenek
7 @@ -0,0 +1,33 @@ +//===-- DeserializeAPInt.cpp - Deserialization for APInts --*- C++ -*--===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by Ted Kremenek and is distributed under the +// University of Illinois

[llvm-commits] [llvm] r43402 - /llvm/trunk/include/llvm/ADT/APSInt.h

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 15:44:02 2007 New Revision: 43402 URL: http://llvm.org/viewvc/llvm-project?rev=43402&view=rev Log: Fixed incorrect "path name" in preamble (comment) of header file. Modified: llvm/trunk/include/llvm/ADT/APSInt.h Modified: llvm/trunk/include/llvm/ADT/APSInt.h

[llvm-commits] [llvm] r43401 - /llvm/trunk/include/llvm/ADT/APInt.h

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 15:42:45 2007 New Revision: 43401 URL: http://llvm.org/viewvc/llvm-project?rev=43401&view=rev Log: Fixed incorrect "path name" in preamble (comment) of header file. Modified: llvm/trunk/include/llvm/ADT/APInt.h Modified: llvm/trunk/include/llvm/ADT/APInt.h U

[llvm-commits] [llvm] r43396 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialization.h

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 15:23:27 2007 New Revision: 43396 URL: http://llvm.org/viewvc/llvm-project?rev=43396&view=rev Log: Added default implementation of SerializeTrait<> that dispatches to calling member functions of the target type to perform type-specific serialization.

  1   2   >