search for: createvaluenam

Displaying 8 results from an estimated 8 matches for "createvaluenam".

Did you mean: createvaluename
2011 Feb 05
1
[LLVMdev] How to create new local variable
...able I have inserted an AllocaInst (...) providing the name of the temporary and desired type. But whenever I am going to insert a LoadInst for that variable I am getting segmentation fault. It is telling that llvm::Value::setName(...) fails and that has something to do with llvm::ValueSymbolTable::createValueName(...) method. What should I do to insert the local variable? Thanks and regards, Abhirup Ghosh M. Tech Department of Computer Science & Engg. IIT, Bombay email - abhirupju at gmail.com , abhirup at cse.iitb.ac.in
2010 Jul 09
1
[LLVMdev] ValueSymbolTable's mutators are private?
Hi Chris, I was thinking that CreateValueName() was the way to add a symbol to a symbol table. Perhaps I'm thinking about this wrong. Here's what I've got: I've got a string generated by the parser which is constant. I need to add it to the symbol table so that, on starting the second pass of my compiler, I can dump all...
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...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::setName(const llvm::Twine & NewName) Line 236 C++ XXXTest.exe!llvm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> >::Insert<llvm::GetElementPtrInst>(llvm::GetElementPtrInst *...
2015 Apr 14
5
[LLVMdev] [cfe-dev] A problem with names that can not be demangled.
...(an actual > > example from a test). > > > > Alternatively, I could try to limit my change to just mangled names. > > > > Any suggestion about how this should be fixed ? > > > > There is another similar change about 40 lines below in > ValueSymbolTable::createValueName(). > > That is not needed to fix this particular problem, but looks similar, so > perhaps should be treated > > similarly for consistency. It causes 66 more failures of the same nature > though. > > > > Thanks > > > > Sunil Srivastava > > Sony Comput...
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...lvm::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::setName(const llvm::Twine & NewName) Line 236 > C++ > XXXTest.exe!llvm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> > >::Insert<llvm::GetElementPtrInst>(l...
2010 Jul 09
2
[LLVMdev] ValueSymbolTable's mutators are private?
Hello, Why are ValueSymbolTable's mutators all private? I can't seem to find a way to add a symbol to the table without using one of them. It looks like a bug to me since there is no way to use it otherwise. --Sam
2010 Jul 09
0
[LLVMdev] ValueSymbolTable's mutators are private?
On Jul 9, 2010, at 12:02 PM, Samuel Crow wrote: > Hello, > > Why are ValueSymbolTable's mutators all private? I can't seem to find a way to > add a symbol to the table without using one of them. It looks like a bug to me > since there is no way to use it otherwise. The mutators are things like Value::setName() -Chris
2015 Apr 14
0
[LLVMdev] [cfe-dev] A problem with names that can not be demangled.
...named ‘str’ becomes ‘str.1’ with my change, instead of ‘str1’ currently (an actual example from a test). Alternatively, I could try to limit my change to just mangled names. Any suggestion about how this should be fixed ? There is another similar change about 40 lines below in ValueSymbolTable::createValueName(). That is not needed to fix this particular problem, but looks similar, so perhaps should be treated similarly for consistency. It causes 66 more failures of the same nature though. Thanks Sunil Srivastava Sony Computer Entertainment _______________________________________________ cfe-dev mai...