search for: addinteger

Displaying 20 results from an estimated 21 matches for "addinteger".

2008 Aug 15
3
[LLVMdev] install question
...e 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 llvm::FoldingSetNodeID::AddInteger(unsigned int) /cygdrive/c/llvm/include/llv...
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/...
2008 Aug 15
0
[LLVMdev] install question
...ctory `/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 > llvm::FoldingSetNodeID::AddInteger(unsigned int) &gt...
2011 Jun 01
0
[LLVMdev] Bug in FoldingSetNodeID::AddInteger(unsigned long long I)?
The current implementation is: void FoldingSetNodeID::AddInteger(unsigned long long I) { AddInteger(unsigned(I)); if ((uint64_t)(int)I != I) Bits.push_back(unsigned(I >> 32)); } (uint64_t)(int)I first truncates I to signed int, which causes the second cast to sign extend the value to 64 bits. The problem is that if the 31st bit of the original va...
2007 Aug 06
2
[LLVMdev] Problem compiling LLVM under Cygwin/Mingw
...)? 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/llvm/ADT/FoldingSet.h:151: note: void llvm::FoldingSetImpl::NodeID::AddInteger(unsigned int)...
2008 Oct 07
2
[LLVMdev] can't build LLVM under Cygwin | released MinGW llvm-2.3 image
...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::FoldingSetNodeID::AddInteger(int) /home/czhao/ResearchTools/LLVM/2.3/llvm-2.3/include/llvm/ADT/FoldingSet.h:217: note: void llvm::FoldingSetNodeI...
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
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
2007 Aug 06
1
[LLVMdev] Problem compiling LLVM under Cygwin/Mingw
Hello, Alain. > I'm starting to play with LLVM today and I've trouble compiling it. > I'm > working under Windows Vista, with the gcc from Cygwin: Oh, this seems to be killer mix :) GCC (at least native mingw32 port) has known problems being running on Vista. > Is LLVM supposed to work with this version of GCC (probably using the > -mno-cygwin option to get a
2007 Aug 06
0
[LLVMdev] Problem compiling LLVM under Cygwin/Mingw
...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/llvm/ADT/FoldingSet.h:151: note: void > llvm::FoldingSetImpl::NodeID::AddInt...
2008 Oct 07
0
[LLVMdev] can't build LLVM under Cygwin | released MinGW llvm-2.3 image
...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::FoldingSetNodeID::AddInteger(int) > > ... > > The GettingStarted page mentions that gcc 3.4.4 is used for the > X86/Cygw...
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>
2008 Oct 11
1
[LLVMdev] can't build LLVM under Cygwin | released MinGW llvm-2.3 image
...d >> /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::FoldingSetNodeID::AddInteger(int) >> >> ... >> >> The GettingStarted page mentions that gcc 3.4.4 is used...
2018 May 06
1
Slow IR compilation/JIT, profiling points to LLVM?
...sertions, and the optimized build against an optimized LLVM wo/ > assertions (albeit with symbols). I've tried a builld with assertions off and it has only a relatively minor impact (a 10% drop in time spent in LLVM). The instruction cound for `findAnalysisPass` is gone, but the things like `AddInteger` are still called millions of times. Given the number of IR instructions (at most 65K since a 65K IR file), the millions of calls to the Add, and FindBucket functions seems wrong. -- edA-qa mort-ora-y http://mortoray.com/ Creator of the Leaf language http://leaflang.org/ Streaming algorit...
2018 May 05
4
Slow IR compilation/JIT, profiling points to LLVM?
...nalysisPass(void const*, bool)'2     4.11%; 4,604,499 Calls; bool llvm::DenseMapBase<>::LookupBucketFor<>(void const* const&, llvm::detail::DenseMapPair<> const*&) const Also of interest, given the high call count:     1.32%; 6,915,882 Calls; llvm::FoldingSetNodeID::AddInteger(unsigned int) <cycle 4> The call counts seem quite high given the size of the code. Also, the `findAnalysisPass` function just seems off, but I don't understand LLVM's architecture to be sure. Could this be pointing to something I'm doing wrong in my LLVM setup, or is it just s...
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
...; > 4.11%; 4,604,499 Calls; bool > llvm::DenseMapBase<>::LookupBucketFor<>(void const* const&, > llvm::detail::DenseMapPair<> const*&) const > > Also of interest, given the high call count: > > 1.32%; 6,915,882 Calls; llvm::FoldingSetNodeID::AddInteger(unsigned > int) <cycle 4> > > The call counts seem quite high given the size of the code. Also, the > `findAnalysisPass` function just seems off, but I don't understand > LLVM's architecture to be sure. > > > Could this be pointing to something I'm doing...
2018 May 05
2
Slow IR compilation/JIT, profiling points to LLVM?
On 05/05/18 17:58, Andres Freund wrote: > You're building LLVM with assertions enabled > (-DLLVM_ENABLE_ASSERTIONS=ON). > Some of those are fairly expensive... > Is there another way to get LLVM to check the correctness of my IR without the assertions? That's what I'm assuming I need the flag for (it's been a long time since I experimented with it) If there is no way
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
Hi, On 2018-05-06 00:19:42 +0200, edA-qa mort-ora-y wrote: > On 05/05/18 17:58, Andres Freund wrote: > > You're building LLVM with assertions enabled > > (-DLLVM_ENABLE_ASSERTIONS=ON). > > Some of those are fairly expensive... > > > > Is there another way to get LLVM to check the correctness of my IR > without the assertions? That's what I'm
2008 Oct 30
6
[LLVMdev] cygwin build problems
Cygwin's <stdint.h> defines uint32_t as "unsigned long". I think this is valid, but it causes various problems like this when building LLVM with GCC 3.4.4: .../lib/CodeGen/SelectionDAG/SelectionDAG.cpp:3440: error: call of overloaded `AddInteger(uint32_t)' is ambiguous .../lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1429: error: no matching function for call to `max(long unsigned int, unsigned int&)' .../include/llvm/ADT/DenseMap.h: In member function `void llvm::DenseMapIterator<KeyT, ValueT, KeyInfoT, ValueInfoT>::Advan...
2016 Jul 20
2
[XRay] Build instrumented Clang, some analysis results
...bove. Here's some interesting findings: - The top 20 functions called in clang (in the above invocation) are: 292174 clang::DeclContext::getPrimaryContext() 283681 llvm::FoldingSetNodeID::AddPointer(void const*) 214706 clang::Preprocessor::Lex(clang::Token&) 193352 llvm::FoldingSetNodeID::AddInteger(unsigned int) 161706 clang::Lexer::LexTokenInternal(clang::Token&, bool) 161055 clang::Lexer::Lex(clang::Token&) 143420 clang::DeclarationName::getNameKind() const 142071 llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>::Allocate(unsigned long, unsigned long) 139009 c...