Displaying 6 results from an estimated 6 matches for "getorcreatevalue".
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...BucketNo) Line
238 C++
XXXTest.exe!llvm::StringMap<llvm::ConstantDataSequential *
__ptr64,llvm::MallocAllocator>::insert(std::pair<llvm::StringRef,llvm::ConstantDataSequential
*> KV) Line 344 C++
[Inline Frame] XXXTest.exe!llvm::StringMap<llvm::Value
*,llvm::MallocAllocator>::GetOrCreateValue(llvm::StringRef) Line 371 C++
[Inline Frame] XXXTest.exe!llvm::StringMap<llvm::Value
*,llvm::MallocAllocator>::GetOrCreateValue(llvm::StringRef) Line 375 C++
XXXTest.exe!llvm::ValueSymbolTable::createValueName(llvm::StringRef Name,
llvm::Value * V) Line 98 C++
XXXTest.exe!llvm::Value::s...
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...gt; XXXTest.exe!llvm::StringMap<llvm::ConstantDataSequential *
> __ptr64,llvm::MallocAllocator>::insert(std::pair<llvm::StringRef,llvm::ConstantDataSequential
> *> KV) Line 344 C++
> [Inline Frame] XXXTest.exe!llvm::StringMap<llvm::Value
> *,llvm::MallocAllocator>::GetOrCreateValue(llvm::StringRef) Line 371 C++
> [Inline Frame] XXXTest.exe!llvm::StringMap<llvm::Value
> *,llvm::MallocAllocator>::GetOrCreateValue(llvm::StringRef) Line 375 C++
> XXXTest.exe!llvm::ValueSymbolTable::createValueName(llvm::StringRef
> Name, llvm::Value * V) Line 98 C++
> X...
2015 Jun 02
2
[LLVMdev] struct type parament
...e = Name.size();
>
> do {
> TempStr.resize(NameSize + 1);
> TmpStream.resync();
> TmpStream << getContext().pImpl->NamedStructTypesUniqueID++;
>
> Entry = &getContext().pImpl->
> NamedStructTypes.GetOrCreateValue(TmpStream.str());
> } while (Entry->getValue());
> }
>
>
> —
> Mehdi
>
>> On Jun 2, 2015, at 11:23 AM, Haopeng Liu <hyliuhp at gmail.com> wrote:
>>
>> Hi All,
>>
>> I generated the following code with "clang -flto" comman...
2015 Jun 02
2
[LLVMdev] struct type parament
Hi All,
I generated the following code with "clang -flto" command.
void test(struct StruTyName *a) {
...
}
Then the type of test function is "void (%struct.StruTyName.100*)" by
calling function::getFunctionType API.
What's the meaning of number 100?
Best,
Haopeng
2015 Jun 02
2
[LLVMdev] struct type parament
...do {
>>> TempStr.resize(NameSize + 1);
>>> TmpStream.resync();
>>> TmpStream << getContext().pImpl->NamedStructTypesUniqueID++;
>>> Entry = &getContext().pImpl->
>>> NamedStructTypes.GetOrCreateValue(TmpStream.str());
>>> } while (Entry->getValue());
>>> }
>>>
>>>
>>> —
>>> Mehdi
>>>
>>>> On Jun 2, 2015, at 11:23 AM, Haopeng Liu <hyliuhp at gmail.com> wrote:
>>>>
>>>> Hi All,
>...
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.