Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Generating DFG or CDFG from C code"
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
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
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
2012 Nov 03
2
[LLVMdev] Building a data flow graph from instructions in BasicBlock
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121103/cd67e510/attachment.html>
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 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 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 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
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 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:41 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> 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
Try "patch -p0 < unistd.txt".
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 5:10 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> 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
That means it was applied.
In that case, I have
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’:
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.
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
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 Sep 01
2
[LLVMdev] Cross compling with LLVM for MIPS
Hello All,
I am trying to cross compile for MIPS on x86 architecture. I want to do it using LLVM ?
How can I do it ? Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110901/b4e68ea3/attachment.html>