search for: getvaluesymbolt

Displaying 7 results from an estimated 7 matches for "getvaluesymbolt".

2010 Aug 18
3
[LLVMdev] Using ValueSymbolTable...
...t; Nick > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > I am getting the following error when trying to fetch the symbol table using getValueSymbolTable() /home/llvm/install/include/llvm/ADT/StringMap.h:256: void llvm::StringMap<ValueTy, AllocatorTy>::operator=(const llvm::StringMap<ValueTy, AllocatorTy>&) [with ValueTy = llvm::Value*, AllocatorTy = llvm::MallocAllocator]: Assertion `RHS.empty() && "assignment from...
2009 Aug 05
2
[LLVMdev] Dominator error inserting instructions into BasicBlock
...art of a LoopPass I am trying to make copies of the variables that are in scope in the loop body like so: //Remove the existing terminator first_block->getTerminator()->eraseFromParent(); //Get the symbol table so that we know what to store ValueSymbolTable* vst = first_block->getValueSymbolTable(); IRBuilder <> builder(first_block); for (ValueSymbolTable::iterator vst_it = vst->begin(); vst_it != vst->end(); vst_it++) { AllocaInst* store_var = builder.CreateAlloca(type, 0,my_name.c_str()); builder.CreateStore(symbol, store_var, true); } //Put a...
2010 Aug 18
2
[LLVMdev] Using ValueSymbolTable...
...ction is created using IRBuilder or do we need to explicitly populate?? If we need to populate explicitly, the insert method in ValueSymbolTable is private, so how can we do it? Currently, I am trying to access the symbol table as below: llvm::ValueSymbolTable symTab; symTab = mCurrentFunction->getValueSymbolTable(); llvm::Value* variable = symTab.lookup(aName); Thanks -- View this message in context: http://old.nabble.com/Using-ValueSymbolTable...-tp29461430p29461430.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2010 Aug 18
0
[LLVMdev] Using ValueSymbolTable...
> I am getting the following error when trying to fetch the symbol table using > getValueSymbolTable() Why do you want to do this? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2010 Aug 18
0
[LLVMdev] Using ValueSymbolTable...
subramanyam wrote: > > Hi all, > I have a question regarding populating ValueSymbolTable of a Function. > Is it that ValueSymbolTable is populated automatically whenever an alloca > instruction is created using IRBuilder or do we need to explicitly > populate?? It's maintained by LLVM for you, by Value::setName and other methods. Nick
2010 Aug 18
1
[LLVMdev] Using ValueSymbolTable...
Anton Korobeynikov-2 wrote: > >> I am getting the following error when trying to fetch the symbol table >> using >> getValueSymbolTable() > Why do you want to do this? > > > > I want to access some of the variables created in the function. -- View this message in context: http://old.nabble.com/Using-ValueSymbolTable...-tp29461430p29469794.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2017 Apr 04
3
RFC: Adding a string table to the bitcode format
On Tue, Apr 4, 2017 at 12:36 PM, Duncan P. N. Exon Smith < dexonsmith at apple.com> wrote: > > On 2017-Apr-04, at 12:12, Peter Collingbourne <peter at pcc.me.uk> wrote: > > On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > >> >> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote: >>