Displaying 20 results from an estimated 60000 matches similar to: "[LLVMdev] can I print DFG for IR"
2009 Sep 07
0
[LLVMdev] Graphviz and LLVM-TV
Edwin,
thanks, it starts making sense
inline comments...
Török Edwin wrote:
> On 2009-09-06 19:57, Ioannis Nousias wrote:
>
>> Edwin,
>>
>> thank you for your effort, but I'm not sure I understand.
>> Are you describing a graph traversal problem? Is the data model stored
>> in a predecessor/successor fashion, which requires you to 'walk' the
2011 Jul 01
0
[LLVMdev] Generating DFG or CDFG from C code
Hi Andrew,
Thanks for the response. That helps a lot.
So that means I have to implement a pass, right ? Sorry for dumb question. I just started LLVM today.
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 ===========================================
--- On Thu, 6/30/11, Andrew Trick <atrick at apple.com> wrote:
2011 Jul 01
1
[LLVMdev] Generating DFG or CDFG from C code
Unless someone else responds with "I've already done that" then you need to implement a pass. It's probably something you want to customize to your needs anyway.
-Andy
On Jun 30, 2011, at 11:50 PM, janarbek wrote:
> Hi Andrew,
> Thanks for the response. That helps a lot.
>
> So that means I have to implement a pass, right ? Sorry for dumb question. I just started
2011 Jul 01
0
[LLVMdev] Generating DFG or CDFG from C code
Hi All,
I am reposting my question again since i think my question was not clear enough.
I am wondering is it possible to generate Control Data Flow Graph from C using LLVM? or is it possible to get web-like structure of C code using llvm /
Thanks in advance,
Any comment suggestion would be appreciated.
Jan Ma.
===========================================
--- On Thu, 6/30/11, janarbek
2009 Sep 06
3
[LLVMdev] Graphviz and LLVM-TV
On 2009-09-06 19:57, Ioannis Nousias wrote:
> Edwin,
>
> thank you for your effort, but I'm not sure I understand.
> Are you describing a graph traversal problem? Is the data model stored
> in a predecessor/successor fashion, which requires you to 'walk' the
> graph in order to visit all nodes? (and what happens when you have
> disjointed DFGs?).
Sorry for the
2011 Jul 01
2
[LLVMdev] Generating DFG or CDFG from C code
On Jun 30, 2011, at 10:05 PM, janarbek wrote:
>
> Hi All,
> I am reposting my question again since i think my question was not clear enough.
> I am wondering is it possible to generate Control Data Flow Graph from C using LLVM? or is it possible to get web-like structure of C code using llvm /
>
> Thanks in advance,
> Any comment suggestion would be appreciated.
>
>
2012 Oct 08
2
[LLVMdev] How can I find the LHS of the function call when traversing the function call
Hi All,
I am a new member in the group, have been doing some experiments with LLVM
IR.
I am facing issue with de-compiling the following instruction once it is
read,
%var2 = call i8 @myfuncCall (i2 %var1)
In after I parse the file (lets say using parseIRFiles ).
I can see the instructions,( the function call instruction ), How can I get
the %var2 from the instruction/callInstruction ?
going
2012 Jun 02
0
[LLVMdev] DFG of machine functions
I tried debugging it and the issue seems to be in the implementation of
MachineInstrIterator.h and the way it interacts with GraphWriter.h
functions. I found this by replacing the ( template <> struct
GraphTraits<MCDFGraph<MachineFunction*> >) with a similar MCDFGraph based
template of CFG similar to the one in MachineFunction.h (similarly
replacing the DOTGraphTraits with the
2012 Oct 25
1
[LLVMdev] How to include IR parser and optimization passes in my project
Hi,
I am a newbie in LLVM.
I am very impressed with this forum and appreciate your help and time.
I am trying to include llvm IR parser in my codebase, the way I wanna
do is generate llvm's shared object (.so) file and use it in my
project.
So far I haven't been able to generate correct .so's.
When I build a debug build with gmake (have llvm and clang in my
sandbox), I get the
2009 Sep 06
0
[LLVMdev] Graphviz and LLVM-TV
Edwin,
thank you for your effort, but I'm not sure I understand.
Are you describing a graph traversal problem? Is the data model stored
in a predecessor/successor fashion, which requires you to 'walk' the
graph in order to visit all nodes? (and what happens when you have
disjointed DFGs?).
inline comments follow...
Török Edwin wrote:
> On 2009-09-06 17:30, Ioannis Nousias
2012 May 31
2
[LLVMdev] DFG of machine functions
Hi,
I am trying to generate the DFG of machine functions.
Initially, I added a pass to generate the DFG of LLVM IR functions. This
was based on the mail thread -
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-September/025582.html. This
pass worked fine and I was able to generate DFG of LLVM IR functions.
Later, I ported the DFG pass code for machine functions. I ported the
InstIterator.h
2008 Jul 09
0
[LLVMdev] DFG?
Hello, I'm going to need something like a DFG of a loop. I've been studying
the ScalarEvolution analysis and it performs many of the functions I need
(it's something like a DFG, going recursively backwards), but I need
something that indicates me when a instruction has to be before another, or
can be switched. As I said in a previously message, my idea is to match the
instructions
2011 Jun 30
2
[LLVMdev] Generating DFG or CDFG from C code
Hi All,
I am new to LLVM. I want to generate a Dataflow graph or Control Dataflow graph from C code using LLVM. I have no idea how to do it in LLVM. I tried to use analysis and transform passes such as "-dot-cfg" but it doesn't give what I want. I want to generate a node for each operation in C code.
Thanks in advance.JM.
-------------- next part --------------
An HTML attachment
2016 Jun 18
2
data flow graph
Dear professor John Criswell
I would like to implement a new instruction scheduling algorithm so that I need the Data flow graph(DFG) is input of the algorithm.
Thanks
Huy
From: John Criswell [mailto:jtcriswel at gmail.com]
Sent: Sunday, June 19, 2016 1:25 AM
To: huyite; llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] data flow graph
Dear Huyite,
Your question, as
2016 Jan 12
2
Register data flow commits
Hi,
I commited several patches today that implement a framework that enables
data-flow optimizations on the post-RA (post-SSA) representation. I
thought I'd say a few words about what it is. The code is currently
under lib/Target/Hexagon, but there intent for it from the beginning was
to be target-independent.
The motivation for it came from our (Hexagon) experience with customer
2012 Oct 02
0
[LLVMdev] LLVM IR and CFG
Hi,
I want to know few things:
1) is LLVM IR (obtained from -emit-llvm option) an in-memory CFG?
Say, I have hello.c and I generate bit-code using:
clang -O3 -emit-llvm hello.c -c -o hello.bc
Next, I redirect this bit code to opt:
opt -load ../../Release+Asserts/lib/Hello.so -hello < hello.bc >
/dev/null
I have attached a example.tar.gz with one simple iterator.cpp and
output from
2009 Sep 06
2
[LLVMdev] Graphviz and LLVM-TV
On 2009-09-06 17:30, Ioannis Nousias wrote:
> I've tried to write a DFGPrinter based on the CFGPrinter, as you
> suggested, but encountered problems.
>
> The GraphWriter expects
> GraphTraits<GraphType>::nodes_begin()/nodes_end(). The way this is
> implemented in CFG.h, a function is a graph of basic blocks. A
> GraphTraits<Function*> inherits from
2017 Oct 31
2
Reaching definitions on Machine IR post register allocation
Hi Venu,
FWIW, I have a pass that does copy propagation after RA [1] (currently
only within a basic block) that should be enabled some time in the
not-too-distant future. It has been reviewed and accepted, but I'm
currently working on getting a slight change to the MachineOperand
representation [2] that should make the copy propagation change much
simpler. I believe this change to
2016 Jun 16
2
data flow graph
Dear all,
Please help me to generate DFG(Data flow graph) in LLVM.
Best regards,
Huy
Mobile: +84942976091
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160616/29fea8f8/attachment.html>
2012 Oct 12
0
[LLVMdev] including llvm IR parser in my project
Hi,
I am interested in bringing LLVM IR parser to my project.
how can I do it ?
What .so/.a to build and copy to my project and what are the header files
I must copy over to my project area.
Also how can I build the .so/.a which I need.
Appreciate your guidance on this.
Thank you in advance.
regards
tarique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: