Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Building a data flow graph from instructions in BasicBlock"
2012 Nov 04
0
[LLVMdev] Building a data flow graph from instructions in BasicBlock
On 11/3/2012 6:35 PM, janarbek wrote:
> Hi All,
>
> I want to build a DFG from instructions in a basic block. I couldn't
> find a function to find the depenencies between instructions. How can i
> do that ?
Look into ScheduleDAG. It's a part of the scheduling infrastructure,
but you can use it to build a dependency graph.
-Krzysztof
--
Qualcomm Innovation Center, Inc.
2012 Nov 04
1
[LLVMdev] Building a data flow graph from instructions in BasicBlock
Thanks Kryzstof,
I will look at it. Is there any class that I should look at it ? What about Dataflow.h ? Since I am kind of new, I want to know which classes can help me quicker.
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 ===========================================
--- On Sat, 11/3/12, Krzysztof Parzyszek
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.
>
>
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 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 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
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
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>
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
2011 Oct 24
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Hello All,
I am getting following error on Ubuntu. My gcc is gcc version 4.4.5. Please let me know if you have any comments/suggestions.
In file included from /home/janarbek/Work/llvm/llvm/lib/Support/Path.cpp:299:
/home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member function ‘bool llvm::sys::Path::eraseFromDisk(bool, std::string*) const’:
2011 Oct 25
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
The patch does inseret unistd.h as below. However, I am still getting exactly same error when I do make.if you have any suggestions please let me know.
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 ===========================================
--- On Mon, 10/24/11, Eli
2011 Oct 26
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Hi, if you change unlink to ::unlink on that line, does it help?
Ciao, Duncan.
On 10/26/11 19:27, janarbek wrote:
> Does someone have a solution for this problem ?
> I am using gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) and I have tried
> several versions of LLVM including llvm 2.9 final. I am getting same error again
> and again.
>
> I have successfully build the llvm
2011 Oct 24
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 4:27 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> Hello All,
>
> I am getting following error on Ubuntu. My gcc is gcc version 4.4.5. Please let me know if you have any comments/suggestions.
>
> In file included from /home/janarbek/Work/llvm/llvm/lib/Support/Path.cpp:299:
> /home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member
2011 Oct 24
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
I apply patch, it says patch is applied. Does the directory which I run patch matters ?
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 ===========================================
--- On Mon, 10/24/11, Eli Friedman <eli.friedman at gmail.com> wrote:
From: Eli Friedman <eli.friedman at gmail.com>
Subject: Re:
2011 Oct 24
3
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
I am not sure if I applied correctly.I did following and it seems failed.
janarbek at ubuntu:~/Work/llvm$ patch <unistd.txt
patching file Path.inc
Hunk #1 FAILED at 51.
1 out of 1 hunk FAILED -- saving rejects to file Path.inc.rej
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981
2011 Oct 26
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Hi Duncan,
unlink is a C function, right ? why need a :: ?
Or is there a class ?
--- On Wed, 10/26/11, Duncan Sands <baldrick at free.fr> wrote:
From: Duncan Sands <baldrick at free.fr>
Subject: Re: [LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
To: llvmdev at cs.uiuc.edu
Date: Wednesday, October 26, 2011, 11:10 AM
Hi, if you
2011 Oct 26
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Does someone have a solution for this problem ?
I am using gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) and I have tried several versions of LLVM including llvm 2.9 final. I am getting same error again and again.
I have successfully build the llvm on another machine with gcc version of 4.3.
Thanks in advance.
make[1]: Entering directory
2011 Oct 25
3
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Yes,
I applied the patch on trunk version like below. It says patching file. However, when I make, the build is still failing.
janarbek at ubuntu:~/Work/llvm/llvm$ patch -p0 < unistd.txt
patching file lib/Support/Unix/Path.inc
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981
2011 Oct 25
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 4:58 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> I apply patch, it says patch is applied. Does the directory which I run patch matters ?
You should be running the "patch -p0 < unistd.txt" in the root LLVM
source directory for the trunk version. If you're still getting "Hunk
#1 FAILED at 51." errors, you're not doing