search for: subramanyam

Displaying 15 results from an estimated 15 matches for "subramanyam".

Did you mean: subrahmanyam
2010 May 13
1
[LLVMdev] How to create Global Variables using LLVM API?
...balVariable(LLVMContext &Context, const Type *Ty, bool isConstant, LinkageTypes Linkage, Constant *Initializer = 0, const Twine &Name = "", bool ThreadLocal = false, unsigned AddressSpace = 0); Duncan Sands wrote: > > Hi subramanyam, > >> Actually, the signature of the constructor given in the online >> documentation >> is different from the actual source code. > > which bit of the documentation? Any chance of a patch that fixes it? > > Ciao, > > Duncan. > ________________________...
2010 May 12
2
[LLVMdev] How to create Global Variables using LLVM API?
Thanks. It works. Actually, the signature of the constructor given in the online documentation is different from the actual source code. Nick Lewycky wrote: > > subramanyam wrote: >> >> I am new to LLVM API. and I am experimenting with it. >> I want to create Global Variables in a module. >> I am able to create local variables using IRBuilder class. I tried using >> GlobalVariable class to create global variables. >> but it doesn...
2010 May 12
0
[LLVMdev] How to create Global Variables using LLVM API?
Hi subramanyam, > Actually, the signature of the constructor given in the online documentation > is different from the actual source code. which bit of the documentation? Any chance of a patch that fixes it? Ciao, Duncan.
2010 Jul 29
2
[LLVMdev] Converting Machine code to LLVM IR
Hi everyone, There are tools to convert machine code to an assembly language. Is there any similar tool to convert X86 machine code to LLVM IR? thanks in advance -- View this message in context: http://old.nabble.com/Converting-Machine-code-to-LLVM-IR-tp29294146p29294146.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2010 May 11
0
[LLVMdev] How to create Global Variables using LLVM API?
subramanyam wrote: > > I am new to LLVM API. and I am experimenting with it. > I want to create Global Variables in a module. > I am able to create local variables using IRBuilder class. I tried using > GlobalVariable class to create global variables. > but it doesn't work. my code looks...
2010 Sep 28
2
[LLVMdev] ExecutionEngine::create returns 0
...Here is my code listing: llvm::ExecutionEngine* ee = llvm::ExecutionEngine::create(mModule); llvm::Function* func = ee->FindFunctionNamed("main"); typedef void (*PFN)(); PFN pfn = reinterpret_cast<PFN> (ee->getPointerToFunction(func)); pfn(); delete ee; thanks, subramanyam -- View this message in context: http://old.nabble.com/ExecutionEngine%3A%3Acreate-returns-0-tp17710149p29825737.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2010 May 11
2
[LLVMdev] How to create Global Variables using LLVM API?
I am new to LLVM API. and I am experimenting with it. I want to create Global Variables in a module. I am able to create local variables using IRBuilder class. I tried using GlobalVariable class to create global variables. but it doesn't work. my code looks like this: Module* mod = new Module("test", getGlobalContext()); Constant* c = mod->getOrInsertFunction("main",
2010 Jul 29
0
[LLVMdev] Converting Machine code to LLVM IR
On 07/29/10 10:23, subramanyam wrote: > > Hi everyone, > > There are tools to convert machine code to an assembly language. > Is there any similar tool to convert X86 machine code to LLVM IR? > > thanks in advance Have a look at http://www.libcpu.org/wiki/Main_Page Maybe this can help you. Cheers Tobi
2010 Aug 18
2
[LLVMdev] Using ValueSymbolTable...
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?? 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:
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 fo...
2010 Aug 18
3
[LLVMdev] Using ValueSymbolTable...
Nick Lewycky wrote: > > > > It's maintained by LLVM for you, by Value::setName and other methods. > > 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
2010 Sep 28
0
[LLVMdev] ExecutionEngine::create returns 0
On Sep 28, 2010, at 1:53 AM, Subramanyam P.U.R. wrote: > I am using Fedora 10 and I installed LLVM2.6 from binaries. I use gcc front-end(not Clang). Do I need to install something else, to be able to add JIT support? > I don't know, I don't package it. > I am able to compile HowToUseJIT example. The compilation comman...
2008 Jun 10
0
[LLVMdev] ExecutionEngine::create returns 0
On Tue, 10 Jun 2008 07:07:35 +0530, Mahadevan R wrote: >> Now to compare it in detail with the much smaller program I've got and >> maybe I'll figure out what's wrong with my call to >> ExecutionEngine::create. > > That call is perfectly valid, actually. It works for me when linked > with: > > g++ -o b b.o `llvm-config --ldflags` `llvm-config --libs
2008 Jun 10
2
[LLVMdev] ExecutionEngine::create returns 0
> Now to compare it in detail with the much smaller program I've got and > maybe I'll figure out what's wrong with my call to > ExecutionEngine::create. That call is perfectly valid, actually. It works for me when linked with: g++ -o b b.o `llvm-config --ldflags` `llvm-config --libs engine jit` Cheers, -Mahadevan.
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