search for: foldingset

Displaying 20 results from an estimated 76 matches for "foldingset".

2008 Aug 15
3
[LLVMdev] install question
....125) I downloaded both the top of tree via svn I ran ./configure make make[1]: Entering directory `/cygdrive/c/llvm/lib/Support' llvm[1]: Compiling APFloat.cpp for Debug build llvm[1]: Compiling APInt.cpp for Debug build APInt.cpp: In member function `void llvm::APInt::Profile(llvm::FoldingSetNodeID&) const': APInt.cpp:170: error: call of overloaded `AddInteger(const uint32_t&)' is ambiguous /cygdrive/c/llvm/include/llvm/ADT/FoldingSet.h:216: note: candidates are: void llvm::FoldingSetNodeID::AddInteger(int) /cygdrive/c/llvm/include/llvm/ADT/FoldingSet.h:217: note: void...
2009 Feb 11
6
[LLVMdev] Some enhancements to ImmutableSet and FoldingSet
I needed these for some work I'm doing in clang... -------------- next part -------------- A non-text attachment was scrubbed... Name: set.patch Type: application/octet-stream Size: 1925 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090211/82192816/attachment.obj>
2011 Sep 26
0
[LLVMdev] The ComputeHash algorithm in FoldingSet isunsafe
...d. Please ignore this message. ------------------ Original ------------------ From: "Xu Zhongxing"<xuzhongxing at foxmail.com>; Date: Mon, Sep 26, 2011 10:11 PM To: "llvmdev"<llvmdev at cs.uiuc.edu>; Subject: [LLVMdev] [LLVMDev] The ComputeHash algorithm in FoldingSet isunsafe I use FoldingSet to save some data structures. And I found somehow it always abandon a new node. I tracked the bug into the ComputeHash() function of FoldingSet. It computes the SAME hash value for these two 32-bit unsigned integer sequences: size: 17...
2007 Dec 29
1
[LLVMdev] svn broken on cygwin
Function.cpp:167: error: call of overloaded `AddInteger(uint32_t&)' is ambiguous /home/Seb/llvm/include/llvm/ADT/FoldingSet.h:151: note: candidates are: void llv m::FoldingSetImpl::NodeID::AddInteger(int) /home/Seb/llvm/include/llvm/ADT/FoldingSet.h:152: note: void llvm::FoldingSetIm pl::NodeID::AddInteger(unsigned int) /home/Seb/llvm/include/llvm/ADT/FoldingSet.h:153: note: void llvm::FoldingSetIm pl::NodeID::AddInte...
2010 Feb 11
3
[LLVMdev] FoldingSet #collisions comparison
...ghtly tester includes a number of real programs and machinery to > >>measure total compile time. > > > >Ok, now with some kinda-hard numbers! > > Hi Gregory, > > These numbers are so noisy, that they aren't particularly useful. > Could you try instrumenting foldingset to keep track track of the # > collisions and # hash table resizes and compare those? They should > be much more stable and still correlate directly to performance. OK, now with real numbers :-) First, the main thing: SuperFastHash appears to be the hash with best distribution. Use of Murm...
2011 Sep 26
0
[LLVMdev] [LLVMDev] The ComputeHash algorithm in FoldingSet is unsafe
I use FoldingSet to save some data structures. And I found somehow it always abandon a new node. I tracked the bug into the ComputeHash() function of FoldingSet. It computes the SAME hash value for these two 32-bit unsigned integer sequences: size: 17...
2008 Aug 15
0
[LLVMdev] install question
...e via svn > I ran ./configure > make > > make[1]: Entering directory `/cygdrive/c/llvm/lib/Support' > llvm[1]: Compiling APFloat.cpp for Debug build > llvm[1]: Compiling APInt.cpp for Debug build > APInt.cpp: In member function `void > llvm::APInt::Profile(llvm::FoldingSetNodeID&) const': > APInt.cpp:170: error: call of overloaded `AddInteger(const uint32_t&)' > is ambiguous > /cygdrive/c/llvm/include/llvm/ADT/FoldingSet.h:216: note: candidates > are: void llvm::FoldingSetNodeID::AddInteger(int) > /cygdrive/c/llvm/include/llvm/ADT/Foldi...
2010 Feb 11
0
[LLVMdev] FoldingSet #collisions comparison
On Feb 10, 2010, at 4:49 PM, Gregory Petrosyan wrote: >> >> These numbers are so noisy, that they aren't particularly useful. >> Could you try instrumenting foldingset to keep track track of the # >> collisions and # hash table resizes and compare those? They should >> be much more stable and still correlate directly to performance. > > OK, now with real numbers :-) > > First, the main thing: SuperFastHash appears to be the hash with be...
2012 Jan 03
1
[LLVMdev] Current LLVM/CLANG build failure.
...arwin10.8.0 Thread model: posix pandora 145% pwd /scratch/kent/llvm/llvm pandora 146% cd ../build pandora 147% make [ 5%] Built target LLVMSupport [ 5%] Built target LLVMTableGen Linking CXX executable ../../bin/llvm-tblgen Call parameter type does not match function signature! %"class.llvm::FoldingSetImpl"* getelementptr inbounds (%"class.llvm::FoldingSet"* @_ZZN4llvm8BitsInit3getENS_8ArrayRefIPNS_4InitEEEE7ThePool, i64 0, i32 0) %"type 0x100e180c0"* invoke void @_ZN4llvm14FoldingSetImplC2Ej(%"class.llvm::FoldingSetImpl"* getelementptr inbounds (%"class....
2009 Feb 11
0
[LLVMdev] Some enhancements to ImmutableSet and FoldingSet
On Wed, Feb 11, 2009 at 10:36 AM, Ben Laurie <benl at google.com> wrote: > I needed these for some work I'm doing in clang... > Yes sir! At least this message was informative. One thing: + int size() const { + int n = 0; + for(iterator i = begin() ; i != end() ; ++n, ++i) + ; + return n; + } + bool empty() const { + return size() == 0; + } empty() here
2009 Feb 11
0
[LLVMdev] Some enhancements to ImmutableSet and FoldingSet
Actually, neither of these methods are needed for ImmutableSet. ImmutableSet already has an 'isEmpty()' method and I have never really seen a case where "size()" needs to be explicitly calculated. If you need size() itself, however, this seems like a perfectly valid addition. On Feb 11, 2009, at 10:57 AM, Ted Kremenek wrote: > > On Feb 11, 2009, at 10:54 AM, Bill
2009 Feb 12
2
[LLVMdev] Some enhancements to ImmutableSet and FoldingSet
On Wed, Feb 11, 2009 at 8:24 PM, Ted Kremenek <kremenek at apple.com> wrote: > Actually, neither of these methods are needed for ImmutableSet. > ImmutableSet already has an 'isEmpty()' method and I have never really seen > a case where "size()" needs to be explicitly calculated. If you need size() > itself, however, this seems like a perfectly valid addition.
2009 Feb 12
0
[LLVMdev] Some enhancements to ImmutableSet and FoldingSet
On Feb 11, 2009, at 8:14 PM, Ben Laurie wrote: > On Wed, Feb 11, 2009 at 8:24 PM, Ted Kremenek <kremenek at apple.com> > wrote: >> Actually, neither of these methods are needed for ImmutableSet. >> ImmutableSet already has an 'isEmpty()' method and I have never >> really seen >> a case where "size()" needs to be explicitly calculated. If
2009 Feb 12
1
[LLVMdev] Some enhancements to ImmutableSet and FoldingSet
On Thu, Feb 12, 2009 at 4:47 AM, Ted Kremenek <kremenek at apple.com> wrote: > On Feb 11, 2009, at 8:14 PM, Ben Laurie wrote: > >> On Wed, Feb 11, 2009 at 8:24 PM, Ted Kremenek <kremenek at apple.com> wrote: >>> >>> Actually, neither of these methods are needed for ImmutableSet. >>> ImmutableSet already has an 'isEmpty()' method and I have
2007 Aug 06
2
[LLVMdev] Problem compiling LLVM under Cygwin/Mingw
...with this version of GCC (probably using the -mno-cygwin option to get a Mingw-like behavior)? The LLVM source tree is from the current SVN trunk. Compilation fails at SelectionDAG.cpp: llvm[3]: Compiling SelectionDAG.cpp for Debug build SelectionDAG.cpp: In function `void AddNodeIDNode(llvm::FoldingSetNodeID&, llvm::SDNode*)': SelectionDAG.cpp:344: error: call of overloaded `AddInteger(llvm::MVT::ValueType)' is ambiguous /home/afrisch/llvm/llvm/include/llvm/ADT/FoldingSet.h:150: note: candidates are: void llvm::FoldingSetImpl::NodeID::AddInteger(int) /home/afrisch/llvm/llvm/include/...
2009 Feb 11
3
[LLVMdev] Some enhancements to ImmutableSet and FoldingSet
On Feb 11, 2009, at 10:54 AM, Bill Wendling wrote: > On Wed, Feb 11, 2009 at 10:36 AM, Ben Laurie <benl at google.com> wrote: >> I needed these for some work I'm doing in clang... >> > Yes sir! At least this message was informative. One thing: > > + int size() const { > + int n = 0; > + for(iterator i = begin() ; i != end() ; ++n, ++i) > + ;
2008 Oct 07
2
[LLVMdev] can't build LLVM under Cygwin | released MinGW llvm-2.3 image
...chTools/LLVM/2.3/obj2.3/lib/System' make[1]: Entering directory `/home/czhao/ResearchTools/LLVM/2.3/obj2.3/lib/Support' llvm[1]: Compiling APInt.cpp for Release build /home/czhao/ResearchTools/LLVM/2.3/llvm-2.3/lib/Support/APInt.cpp: In member function 'void llvm::APInt::Profile(llvm::FoldingSetNodeID&) const': /home/czhao/ResearchTools/LLVM/2.3/llvm-2.3/lib/Support/APInt.cpp:170: error: call of overloaded 'AddInteger(const uint32_t&)' is ambiguous /home/czhao/ResearchTools/LLVM/2.3/llvm-2.3/include/llvm/ADT/FoldingSet.h:216: note: candidates are: void llvm::FoldingSe...
2008 Aug 15
0
[LLVMdev] Check out my Facebook profile
On Aug 14, 2008, at 9:49 PM, Andy Kitchen wrote: FYI, all posts to llvmdev are moderated until the person posts something sensible. This is a PITA for me (llvm mailing lists get dozens of spams a day which require moderation), but is generally very effective. Since Andy had already posted something sensible, he was on the whitelist. However, he just lost the ability to post to llvmdev
2013 Mar 18
2
[LLVMdev] Help with LLVM 3.2 linking error
...nk my project with llvm 3.2 libraries. I haven't touched the project for some months. Previously I used to link to an svn build of llvm 3.1 and everything worked fine. I've compiled llvm with ./configure --enable-libcpp --enable-cxx11 Currently I'm only using StringRef, SmallVector and FoldingSet, so I only link libLLVMSupport and libLLVMCore. Are they enough or do I need to link something else? The error I get is the following: Undefined symbols for architecture x86_64: "typeinfo for llvm::FoldingSetImpl", referenced from: typeinfo for llvm::FoldingSet<Type> in Pro...
2008 Aug 15
3
[LLVMdev] Check out my Facebook profile
I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile. Thanks, Andy Here's the link: http://www.facebook.com/p.php?i=612598021&k=63FYZWQ6WVVM5FEIWDV2PT&r&v=2 ___________________ This e-mail may contain promotional