Displaying 13 results from an estimated 13 matches for "insert_imp".
2012 Mar 17
1
[LLVMdev] [llvm-commits] Review Request: Use SmallPtrSetImpl instead of SmallPtrSet in funciton IVUsers::AddUsersIfInteresting
...under some strange impression last night that SmallPtrSetImpl wasn't a template.
The patch is incorrect because the SmallPtrSetImpl is neither a
template nor has an "insert" function...
After a detailed look at the header of SmallPtrSet, I found that the
SmallPtrSetImpl has an "insert_imp" function which accepts void
pointer as argument, and the "insert" function in SmallPtrSet simply
cast the incoming pointer to void* by the
"PtrTraits::getAsVoidPointer" function and pass the void pointer to
insert_imp.
So I wonder can we make SmallPtrSetImpl become a temp...
2014 Dec 18
2
[LLVMdev] Please change the comment of 'insert' member function of SmallPtrSetImpl
...because the return value is changed from r222334.
But the comment of the function is same with before as follows:
/// insert - This returns true if the pointer was new to the set,
false if it
/// was already in the set.
std::pair<iterator, bool> insert(PtrType Ptr) {
auto p = insert_imp(PtrTraits::getAsVoidPointer(Ptr));
return std::make_pair(iterator(p.first, CurArray + CurArraySize),
p.second);
}
If the comment is changed, please change it.
Thanks,
JinGu Kang
2013 Nov 18
2
[LLVMdev] Debug Info Slowing Things Down?!
...taching to process with:
process attach -p 92084
Process 92084 stopped
Executable module set to "/Users/morbo/llvm/llvm-clean.obj/Release+Asserts/bin/clang".
Architecture set to: x86_64-apple-macosx.
(lldb) bt
* thread #1: tid = 0xbebaf, 0x000000010c5f6dc1 clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161, queue = 'com.apple.main-thread, stop reason = signal SIGSTOP
frame #0: 0x000000010c5f6dc1 clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161
frame #1: 0x000000010c5147df clang`llvm::DebugInfoFinder::processSubprogram(llvm::DISubprogram) + 47
frame #2: 0x0...
2013 Nov 18
0
[LLVMdev] Debug Info Slowing Things Down?!
...process attach -p 92084
> Process 92084 stopped
> Executable module set to "/Users/morbo/llvm/llvm-clean.obj/Release+Asserts/bin/clang".
> Architecture set to: x86_64-apple-macosx.
> (lldb) bt
> * thread #1: tid = 0xbebaf, 0x000000010c5f6dc1 clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161, queue = 'com.apple.main-thread, stop reason = signal SIGSTOP
> frame #0: 0x000000010c5f6dc1 clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161
> frame #1: 0x000000010c5147df clang`llvm::DebugInfoFinder::processSubprogram(llvm::DISubprogram) + 47
> f...
2013 Nov 18
3
[LLVMdev] Debug Info Slowing Things Down?!
...p 92084
>> Process 92084 stopped
>> Executable module set to "/Users/morbo/llvm/llvm-clean.obj/Release+Asserts/bin/clang".
>> Architecture set to: x86_64-apple-macosx.
>> (lldb) bt
>> * thread #1: tid = 0xbebaf, 0x000000010c5f6dc1 clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161, queue = 'com.apple.main-thread, stop reason = signal SIGSTOP
>> frame #0: 0x000000010c5f6dc1 clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161
>> frame #1: 0x000000010c5147df clang`llvm::DebugInfoFinder::processSubprogram(llvm::DISubprogram) + 47
>...
2013 Nov 18
0
[LLVMdev] Debug Info Slowing Things Down?!
...stopped
> >> Executable module set to
> "/Users/morbo/llvm/llvm-clean.obj/Release+Asserts/bin/clang".
> >> Architecture set to: x86_64-apple-macosx.
> >> (lldb) bt
> >> * thread #1: tid = 0xbebaf, 0x000000010c5f6dc1
> clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161, queue =
> 'com.apple.main-thread, stop reason = signal SIGSTOP
> >> frame #0: 0x000000010c5f6dc1
> clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161
> >> frame #1: 0x000000010c5147df
> clang`llvm::DebugInfoFinder::processSubprogram(llv...
2013 Nov 18
2
[LLVMdev] Debug Info Slowing Things Down?!
...le set to
>> >> "/Users/morbo/llvm/llvm-clean.obj/Release+Asserts/bin/clang".
>> >> Architecture set to: x86_64-apple-macosx.
>> >> (lldb) bt
>> >> * thread #1: tid = 0xbebaf, 0x000000010c5f6dc1
>> >> clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161, queue =
>> >> 'com.apple.main-thread, stop reason = signal SIGSTOP
>> >> frame #0: 0x000000010c5f6dc1
>> >> clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161
>> >> frame #1: 0x000000010c5147df
>> >> cla...
2013 Nov 18
0
[LLVMdev] Debug Info Slowing Things Down?!
...gt;> "/Users/morbo/llvm/llvm-clean.obj/Release+Asserts/bin/clang".
> >> >> Architecture set to: x86_64-apple-macosx.
> >> >> (lldb) bt
> >> >> * thread #1: tid = 0xbebaf, 0x000000010c5f6dc1
> >> >> clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161, queue =
> >> >> 'com.apple.main-thread, stop reason = signal SIGSTOP
> >> >> frame #0: 0x000000010c5f6dc1
> >> >> clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161
> >> >> frame #1: 0x000000010c5147df
&...
2013 Jul 14
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
On Sun, Jul 14, 2013 at 10:17 AM, Star Tan <tanmx_star at yeah.net> wrote:
> Hi Sebastian,
>
> Yes, you have pointed an important reason. If we comment this source code
> you have listed, then the compile-time overhead for oggenc*8.ll can be
> reduced from 40.5261 ( 51.2%) to 20.3100 ( 35.7%).
>
> I just sent another mail to explain why polly-detect pass leads to
>
2013 Nov 18
1
[LLVMdev] Debug Info Slowing Things Down?!
...sers/morbo/llvm/llvm-clean.obj/Release+Asserts/bin/clang".
>> >> >> Architecture set to: x86_64-apple-macosx.
>> >> >> (lldb) bt
>> >> >> * thread #1: tid = 0xbebaf, 0x000000010c5f6dc1
>> >> >> clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161, queue =
>> >> >> 'com.apple.main-thread, stop reason = signal SIGSTOP
>> >> >> frame #0: 0x000000010c5f6dc1
>> >> >> clang`llvm::SmallPtrSetImpl::insert_imp(void const*) + 161
>> >> >> frame #1: 0x00...
2013 Jul 14
2
[LLVMdev] Analysis of polly-detect overhead in oggenc
Hi Sebastian,
Yes, you have pointed an important reason. If we comment this source code you have listed, then the compile-time overhead for oggenc*8.ll can be reduced from 40.5261 ( 51.2%) to 20.3100 ( 35.7%).
I just sent another mail to explain why polly-detect pass leads to significant compile-time overhead. Besides the reason you have pointed, another reason is resulted from those string
2015 Feb 24
2
[LLVMdev] Removing contention in PassRegistry accesses to speed up compiles
...% caching_compile caching_compiler_test [.] llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int)
+ 1.10% caching_compile caching_compiler_test [.] operator new(unsigned long)
+ 1.07% caching_compile caching_compiler_test [.] llvm::SmallPtrSetImpl::insert_imp(void const*)
+ 1.00% caching_compile caching_compiler_test [.] llvm::PMDataManager::removeNotPreservedAnalysis(llvm::Pass*)
+ 0.99% caching_compile caching_compiler_test [.] operator delete(void*)
+ 0.69% caching_compile caching_compiler_test [.] llvm::sys::MemoryFence()
+ 0.64% c...
2011 Mar 15
10
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
This series of patches address several issues causing memory usage to grow
indefinetely on a long lived process.
These are not convenional leaks -- memory would have been freed when the LLVM
context or/and JIT engine is destroyed -- but for as long as they aren't the
memory is usage effectively ubounded.
The issues were found using valgrind with '--show-reachable=yes' option:
1.