search for: ukil

Displaying 20 results from an estimated 23 matches for "ukil".

Did you mean: kil
2010 Aug 22
2
[LLVMdev] How to add a pass inside LLVM pass list
Soumya_Prasad_Ukil wrote: > Pls help. You didn't say what was actually running the passes. (llvm-gcc? clang? opt -some -passes?) What you probably want is to modify one of the lists in include/llvm/Support/StandardPasses.h. Nick > > On 21 August 2010 17:32, Soumya_Prasad_Ukil <ukil.soumya at gmai...
2010 Aug 22
1
[LLVMdev] How to add a pass inside LLVM pass list
Soumya_Prasad_Ukil wrote: > Look I have written a PRE pass. opt is running that pass. I have > included my pass name there in include/llvm/Support/StandardPasses.h > file. To do that, I have got some error. Because it also requires the > definition of the pass in some other file also. I observed how gvn p...
2010 Aug 22
0
[LLVMdev] How to add a pass inside LLVM pass list
...the definition of the pass in some other file also. I observed how gvn pre pass is added to the pass list. I had followed the same way, but failed. Cna you kindly tell what needs to be done in this regard? On 23 August 2010 00:13, Nick Lewycky <nicholas at mxc.ca> wrote: > Soumya_Prasad_Ukil wrote: > >> Pls help. >> > > You didn't say what was actually running the passes. (llvm-gcc? clang? opt > -some -passes?) What you probably want is to modify one of the lists in > include/llvm/Support/StandardPasses.h. > > Nick > > >> On 21 August 20...
2010 Aug 21
2
[LLVMdev] How to add a pass inside LLVM pass list
...mple pass. I have been successful to execute it. I want LLVM to execute it. I don't know how to include a pass in llvm actual pass list, such it automatically invokes it just like GVNPre pass or some other pass. They have already been limked in llvm actual pass list. -- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100821/440cb06d/attachment.html>
2010 Aug 22
0
[LLVMdev] How to add a pass inside LLVM pass list
Pls help. On 21 August 2010 17:32, Soumya_Prasad_Ukil <ukil.soumya at gmail.com> wrote: > I have written a simple pass. I have been successful to execute it. I want > LLVM to execute it. I don't know how to include a pass in llvm actual pass > list, such it automatically invokes it just like GVNPre pass or some other > pass. The...
2010 Nov 14
2
[LLVMdev] Copy Instruction from one Basic block to another
I have created a new basic block. Now I want to make copy of instructions from one basic block to another . How to do that ? -- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101115/ddb0c4ab/attachment.html>
2010 Nov 17
1
[LLVMdev] Copy Instruction from one Basic block to another
...\ / bb4 Can you please help me out? How to proceed onto it? Thanx in advance. On 16 November 2010 00:04, Devang Patel <dpatel at apple.com> wrote: > > On Nov 14, 2010, at 12:13 PM, Soumya Prasad Ukil wrote: > > > I have created a new basic block. Now I want to make copy of instructions > from one basic block to another . How to do that ? > > See CloneBasicBlock @ Transforms/Utils/Cloning.h > - > Devang > > -- regards, soumya prasad ukil -------------- next part...
2010 Jul 19
2
[LLVMdev] How to use data structure of another pass
...rectory I have added one pass named as pass_1, which calculates all expressions in a program and stores all of them in an Expr array(take it now for granted). Now I added another pass named as pass_2 in the same directory to print all these expression. How do I do this? -- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100720/cc042b61/attachment.html>
2010 Jul 19
1
[LLVMdev] How to use data structure of another pass
...? You have used it inside getAnalysis<pass_1>(). Is it the name we generally give to a pass while registry? In this case, don't I need to use getAnalysisUsage (AnalysisUsage &AU) function? On 20 July 2010 02:55, John Criswell <criswell at uiuc.edu> wrote: > Soumya_Prasad_Ukil wrote: > >> >> In LLVM, we generally use data structure of another pass by >> implementing getAnalysisUsage (AnalysisUsage &AU) method. Suppose >> SOURCE/lib/Transform directory I have added one pass named as pass_1, which >> calculates all expressions in a...
2010 Jul 19
0
[LLVMdev] How to use data structure of another pass
Soumya_Prasad_Ukil wrote: > > In LLVM, we generally use data structure of another pass by > implementing getAnalysisUsage (AnalysisUsage &AU) method. Suppose > SOURCE/lib/Transform directory I have added one pass named as pass_1, > which calculates all expressions in a program and stores al...
2010 Nov 02
2
[LLVMdev] ConstantInt to Value*?
How to convert ConstantInt* to value*? -- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101102/af73eabb/attachment.html>
2010 Nov 15
0
[LLVMdev] Copy Instruction from one Basic block to another
On Nov 14, 2010, at 12:13 PM, Soumya Prasad Ukil wrote: > I have created a new basic block. Now I want to make copy of instructions from one basic block to another . How to do that ? See CloneBasicBlock @ Transforms/Utils/Cloning.h - Devang
2010 Jul 09
0
[LLVMdev] (no subject)
ukil.soumya at gmail.com -- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100709/59426305/attachment.html>
2010 Jul 20
2
[LLVMdev] How to recognize global & local variable?
Can you guys tell how to recognize local & global variables ? Is there any macro on Value* defined in LLVM? -- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100721/cdc89d56/attachment.html>
2010 Jul 21
2
[LLVMdev] How to recognize pointer variable & ordinary variable
How to recognize pointer variable & ordinary variable? I have tried with "isa<PointerType>(V->getType())", but failed. -- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100722/8a751551/attachment.html>
2010 Jul 21
1
[LLVMdev] How to recognize pointer variable & ordinary variable
...s what my question was. I think it is clear now. cast<PointerType>(A->getType() > > )->getElementType() is not working. I am also getting error with > A->getAllocatedType(). > On 22 July 2010 01:01, Duncan Sands <baldrick at free.fr> wrote: > Hi Soumya_Prasad_Ukil, > > > How to recognize pointer variable & ordinary variable? I have tried with > > "isa<PointerType>(V->getType())", but failed. > > I'm not sure what you are asking, but if you are asking whether an > alloca instruction A represents local memory...
2010 Jul 21
0
[LLVMdev] How to recognize global & local variable?
Hi Soumya_Prasad_Ukil, > Can you guys tell how to recognize local & global variables ? Is there > any macro on Value* defined in LLVM? Global variable: isa<GlobalVariable>(V) Local variable: isa<AllocaInst>(V) Ciao, Duncan.
2010 Jul 21
1
[LLVMdev] How to recognize global & local variable?
...ruction how do u know that? If an instruction like %a = alloca i32 is there, how to get the variable 'a' ? Then on that variable we can check as you have said Right? How to capture that variable ? On 21 July 2010 16:07, Duncan Sands <baldrick at free.fr> wrote: > Hi Soumya_Prasad_Ukil, > > > Can you guys tell how to recognize local & global variables ? Is there > > any macro on Value* defined in LLVM? > > Global variable: isa<GlobalVariable>(V) > Local variable: isa<AllocaInst>(V) > > Ciao, > > Duncan. > ____________________...
2010 Jul 21
0
[LLVMdev] How to recognize pointer variable & ordinary variable
Hi Soumya_Prasad_Ukil, > How to recognize pointer variable & ordinary variable? I have tried with > "isa<PointerType>(V->getType())", but failed. I'm not sure what you are asking, but if you are asking whether an alloca instruction A represents local memory of pointer type, you can use...
2010 Nov 14
0
[LLVMdev] How to create a new Basic block
I am using this function : SplitEdge(FromBlock, ToBlock, pass); But .ll file is not getting updated. Please help. -- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101115/ee2aeae1/attachment.html>