search for: iterate_chain

Displaying 20 results from an estimated 27 matches for "iterate_chain".

Did you mean: iterate_chains
2012 Apr 19
3
[LLVMdev] def-use chains and use-def chains
Hi, I need to find out all the places where the value of a variable is being used. For this I have to implement reaching definitions(def-use chains). When I searched for its implementation I found Iterating over def-use & use-def chains <http://llvm.org/docs/ProgrammersManual.html#iterate_chains>. will this work for finding the places where a variable is reaching? I tried to use "use_iterator", but couldn't make it out. Is it a must to write LLVM Pass to use op_iterator and use_iterator? please give me any references or examples to understand more about use_iterator. B...
2011 Aug 03
2
[LLVMdev] Tracing Value Dependency Chains
Hello All, What would be the best way to trace Value Dependency Chains in LLVM. Can I use some API to perform this? The use-def chain process mentioned at http://llvm.org/docs/ProgrammersManual.html#iterate_chains will just get the values (Operands) being used in the current Instruction. For getting the values operands in the particular instruction are influenced from I have to recursively call the use-def on these operands. I was wondering if there is already available better way of doing this in LLVM. Th...
2012 Aug 09
2
[LLVMdev] The use-define chain in LLVM
...the use-define chain related API avaliable in LLVM? I want >> to get the information >> about the variables' value changes at different points in the program. > > Is this [1] fit your need? > > HTH, > chenwj > > [1] http://llvm.org/docs/ProgrammersManual.html#iterate_chains This just supplys the variables used by the one instruction. Is there any other class/API that can meet my demands? Or I have to implement it by myself from the llvm IR code? > > -- > Wei-Ren Chen (��f��) > Computer Systems Lab, Institute of Information Science, > Academia Sinica,...
2012 Aug 09
2
[LLVMdev] The use-define chain in LLVM
Hello All, Is the use-define chain related API avaliable in LLVM? I want to get the information about the variables' value changes at different points in the program. Best wishes.
2012 Aug 09
0
[LLVMdev] The use-define chain in LLVM
...e: > Hello All, > > Is the use-define chain related API avaliable in LLVM? I want > to get the information > about the variables' value changes at different points in the program. Is this [1] fit your need? HTH, chenwj [1] http://llvm.org/docs/ProgrammersManual.html#iterate_chains -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
2011 Aug 04
0
[LLVMdev] Tracing Value Dependency Chains
...at 10:47 AM, Manish Gupta <manishg at cs.ucsd.edu> wrote: > Hello All, > > What would be the best way to trace Value Dependency Chains in LLVM. Can I > use some API to perform this? > > The use-def chain process mentioned at > http://llvm.org/docs/ProgrammersManual.html#iterate_chains will just get > the values (Operands) being used in the current Instruction. For getting the > values operands in the particular instruction are influenced from I have > to recursively call the use-def on these operands. I was wondering if there > is already available better way of doi...
2012 Apr 20
0
[LLVMdev] def-use chains and use-def chains
...I need to find out all the places where the value of a variable is being > used. For this I have to implement reaching definitions(def-use chains). > When I searched for its implementation I found Iterating over def-use & > use-def chains<http://llvm.org/docs/ProgrammersManual.html#iterate_chains>. > will this work for finding the places where a variable is reaching? > > I tried to use "use_iterator", but couldn't make it out. Is it a must to > write LLVM Pass to use op_iterator and use_iterator? > please give me any references or examples to understand more...
2011 May 04
2
[LLVMdev] Trace Use-Def chain
...do, and we have some code internally at University of Illinois that does it. If you need it, I can talk to Vikram and see if we can give you a copy. For more information on how to iterate through def-use chains, see the LLVM Programmer's Manual: http://llvm.org/docs/ProgrammersManual.html#iterate_chains -- John T. > > On Tue, May 3, 2011 at 10:10 PM, tarun agrawal <tarun at cse.iitb.ac.in > <mailto:tarun at cse.iitb.ac.in>> wrote: > > Hi, > > I need to get all the basic blocks that are there, in the path > from definition of an instruction to use...
2011 Aug 04
2
[LLVMdev] Tracing Value Dependency Chains
...to:manishg at cs.ucsd.edu>> wrote: > > Hello All, > > What would be the best way to trace Value Dependency Chains in > LLVM. Can I use some API to perform this? > > The use-def chain process mentioned at > http://llvm.org/docs/ProgrammersManual.html#iterate_chains will > just get the values (Operands) being used in the current > Instruction. For getting the values operands in the particular > instruction are influenced from I have to recursively call the > use-def on these operands. I was wondering if there is > already av...
2004 Apr 08
0
[LLVMdev] Code documentation
...rstanding it, because I first tried to > look up a ways to find the instruction which defines tmp.1, then looked for > a method which returns destination of an instruction, and so on.. This should be described in the developer's guide: http://llvm.cs.uiuc.edu/docs/ProgrammersManual.html#iterate_chains Like all documentation, it can probably be improved. If you would like to contribute a paragraph or two describing what you've learned, we would love to include it in the manual for others to learn from. :) > I realize all the developers must be busy, but some overview would be really &g...
2012 Aug 09
0
[LLVMdev] The use-define chain in LLVM
...aliable in LLVM? I want >>> to get the information >>> about the variables' value changes at different points in the program. >> >> Is this [1] fit your need? >> >> HTH, >> chenwj >> >> [1] http://llvm.org/docs/ProgrammersManual.html#iterate_chains > > This just supplys the variables used by the one instruction. > Is there any other class/API that can meet my demands? > Or I have to implement it by myself from the llvm IR code? > >> >> -- >> Wei-Ren Chen (陳韋任) >> Computer Systems Lab, Institute of Infor...
2012 Aug 09
2
[LLVMdev] The use-define chain in LLVM
...> to get the information >>>> about the variables' value changes at different points in the program. >>> >>> Is this [1] fit your need? >>> >>> HTH, >>> chenwj >>> >>> [1] http://llvm.org/docs/ProgrammersManual.html#iterate_chains >> >> This just supplys the variables used by the one instruction. >> Is there any other class/API that can meet my demands? >> Or I have to implement it by myself from the llvm IR code? >> >>> >>> -- >>> Wei-Ren Chen (陳韋任) >>> Comp...
2011 May 04
2
[LLVMdev] Trace Use-Def chain
...code internally at University of Illinois that does it. If you need > it, I can talk to Vikram and see if we can give you a copy. > > For more information on how to iterate through def-use chains, see the LLVM > Programmer's Manual: > http://llvm.org/docs/ProgrammersManual.html#iterate_chains > > -- John T. > > > On Tue, May 3, 2011 at 10:10 PM, tarun agrawal <tarun at cse.iitb.ac.in>wrote: > >> Hi, >> >> I need to get all the basic blocks that are there, in the path from >> definition of an instruction to use of that instruction. >&gt...
2011 May 04
0
[LLVMdev] Trace Use-Def chain
...ode internally at University of Illinois that does it. If > you need it, I can talk to Vikram and see if we can give you a copy. > > For more information on how to iterate through def-use chains, see the > LLVM Programmer's Manual: > http://llvm.org/docs/ProgrammersManual.html#iterate_chains > > -- John T. > >> >> On Tue, May 3, 2011 at 10:10 PM, tarun agrawal <tarun at cse.iitb.ac.in >> <mailto:tarun at cse.iitb.ac.in>> wrote: >> >> Hi, >> >> I need to get all the basic blocks that are there, in the path >>...
2011 Aug 04
0
[LLVMdev] Tracing Value Dependency Chains
...ishg at cs.ucsd.edu> wrote: > >> Hello All, >> >> What would be the best way to trace Value Dependency Chains in LLVM. Can >> I use some API to perform this? >> >> The use-def chain process mentioned at >> http://llvm.org/docs/ProgrammersManual.html#iterate_chains will just get >> the values (Operands) being used in the current Instruction. For getting the >> values operands in the particular instruction are influenced from I have >> to recursively call the use-def on these operands. I was wondering if there >> is already available b...
2004 Apr 08
3
[LLVMdev] Code documentation
Hello, is there any documentation for LLVM codebase other than produced by doxygen? The reason I'm asking is that doxygen docs are (1) not very complete at the moment, as lot of classes don't even have a description (2) is generally not the best way to get high-level view of a big codebase. As an example, consider this code: %tmp.1 = setgt int %i, 0 br bool %tmp.1, label
2012 Aug 09
0
[LLVMdev] The use-define chain in LLVM
...information >>>>> about the variables' value changes at different points in the program. >>>> Is this [1] fit your need? >>>> >>>> HTH, >>>> chenwj >>>> >>>> [1] http://llvm.org/docs/ProgrammersManual.html#iterate_chains >>> This just supplys the variables used by the one instruction. >>> Is there any other class/API that can meet my demands? >>> Or I have to implement it by myself from the llvm IR code? >>> >>>> -- >>>> Wei-Ren Chen (陳韋任) >>>&gt...
2011 Aug 04
1
[LLVMdev] Tracing Value Dependency Chains
...t;> Hello All, >> >> What would be the best way to trace Value Dependency Chains >> in LLVM. Can I use some API to perform this? >> >> The use-def chain process mentioned at >> http://llvm.org/docs/ProgrammersManual.html#iterate_chains will >> just get the values (Operands) being used in the current >> Instruction. For getting the values operands in the >> particular instruction are influenced from I have >> to recursively call the use-def on these operands. I was >>...
2012 Aug 10
3
[LLVMdev] The use-define chain in LLVM
...riables' value changes at different points in the program. >>>>> >>>>> Is this [1] fit your need? >>>>> >>>>> HTH, >>>>> chenwj >>>>> >>>>> [1] http://llvm.org/docs/ProgrammersManual.html#iterate_chains >>>> >>>> This just supplys the variables used by the one instruction. >>>> Is there any other class/API that can meet my demands? >>>> Or I have to implement it by myself from the llvm IR code? >>>> >>>>> -- >>>&g...
2011 May 03
0
[LLVMdev] Trace Use-Def chain
HI I know it is a very simple question not worth asking here but I am really struggling pls help me out.. On Tue, May 3, 2011 at 10:10 PM, tarun agrawal <tarun at cse.iitb.ac.in> wrote: > Hi, > > I need to get all the basic blocks that are there, in the path from > definition of an instruction to use of that instruction. > > > Regards > Tarun > --------------