search for: mcurrentfunction

Displaying 5 results from an estimated 5 matches for "mcurrentfunction".

Did you mean: mycurrentfunction
2010 Aug 18
2
[LLVMdev] Using ValueSymbolTable...
...ever an alloca instruction 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.
2011 Sep 22
2
[LLVMdev] Need help in converting int to double
....CreateStore(memory, returnValue); > > allocateAndAssignDoubleTypeVar(mBuilder.CreateLoad(returnValue), lhs); > > //return the value > mBuilder.CreateRet(mBuilder.CreateLoad(returnValue)); > > > /* > * create call to SHL function > */ > mCurrentFunction = previousFunction; > mBuilder.SetInsertPoint(previousBlock); > > return mBuilder.CreateCall2(shlFunction, aLHS, aRHS); > > > > On Thu, Sep 22, 2011 at 3:40 PM, James Molloy <James.Molloy at arm.com>wrote: > >> Hi Sarath, >> >> Your example wi...
2011 Sep 22
0
[LLVMdev] Need help in converting int to double
...etTypeByName("Value"), 0)); mBuilder.CreateStore(memory, returnValue); allocateAndAssignDoubleTypeVar(mBuilder.CreateLoad(returnValue), lhs); //return the value mBuilder.CreateRet(mBuilder.CreateLoad(returnValue)); /* * create call to SHL function */ mCurrentFunction = previousFunction; mBuilder.SetInsertPoint(previousBlock); return mBuilder.CreateCall2(shlFunction, aLHS, aRHS); On Thu, Sep 22, 2011 at 3:40 PM, James Molloy <James.Molloy at arm.com<mailto:James.Molloy at arm.com>> wrote: Hi Sarath, Your example will break. If the values...
2011 Sep 22
3
[LLVMdev] Need help in converting int to double
Hi, I'm pursuing M.Tech course. As a part of the project work i'm using LLVM as back-end. My project area is "Enhancing the performance of V8 javascript engine using LLVM as a back-end". Now i'm writing code for shift left(SHL) operator. I had my own Value Structure .. it's like this Struct Value { void *val ; char type; } The "char type" holds
2011 Sep 22
1
[LLVMdev] Need help in converting int to double
....CreateStore(memory, returnValue); > > allocateAndAssignDoubleTypeVar(mBuilder.CreateLoad(returnValue), lhs); > > //return the value > mBuilder.CreateRet(mBuilder.CreateLoad(returnValue)); > > > /* > * create call to SHL function > */ > mCurrentFunction = previousFunction; > mBuilder.SetInsertPoint(previousBlock); > > return mBuilder.CreateCall2(shlFunction, aLHS, aRHS);**** > > > > **** > > On Thu, Sep 22, 2011 at 3:40 PM, James Molloy <James.Molloy at arm.com> > wrote:**** > > Hi Sarath, > &gt...