Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Extracting an AST to Graphviz using Clang"
2012 Jun 09
2
[LLVMdev] Extracting an AST to Graphviz using Clang
Just in case another person comes to get stuck on this on Mac OS:
http://web.mit.edu/mfloyd/www/computing/mac/gv/
This link explains the process on getting gv installed since Xaw3d
dependency even has a 'error' (actually missing few parameters) on a line
that prevents code compilation that needs to be fixed before configuring
and make it works.
-- I have gv installed now and my bash
2012 Jun 09
2
[LLVMdev] Extracting an AST to Graphviz using Clang
Hi Joey,
I think there is still something missing.
I ignored the -j as you mentioned and saw on the documentation that to
compile on debug mode I could do so using:
$./configure --disable-optimized
As a result by the end I compiled llvm2.9 I got:
llvm[0]: ***** Completed Debug Build
llvm[0]: ***** Note: Debug build can be 10 times slower than an
llvm[0]: ***** optimized build. Use make
2012 Jun 09
2
[LLVMdev] Extracting an AST to Graphviz using Clang
Hi Alex,
Would you recommend any specific link in respect on how to compile in debug
mode? I downloaded the Mac OS version on the website so I did not compile
anything. I am sort of a rookie on bash but I should be able to figure my
way around this.
Also, is there any particular reason why this functionality is only
available on debug mode?
Thank you so much for the fast reply, was driving me
2012 Jun 09
2
[LLVMdev] Extracting an AST to Graphviz using Clang
Hi Joey!
Thanks I just replied your message on stack and I was actually looking into
this right now. Is this the option? I just wanted to confirm:
- make [-j] - The -j specifies the number of jobs (commands) to run
simultaneously. This builds both LLVM and Clang for Debug+Asserts mode. The
--enabled-optimized configure option is used to specify a Release build.
The -j parameter is
2012 Jun 09
1
[LLVMdev] Extracting an AST to Graphviz using Clang
Hi Joey,
Still the same message.
I am running it from llvm-2.9/Debug/bin/clang -cc1 -ast-view ~/smd.c
Is this where you were referring to?
Best,
Carlos Andrade
http://carlosandrade.co
2012/6/9 Joey Gouly <joel.gouly at gmail.com>
> You need to run the clang from the build directory. Something like
> ./Debug+Asserts/bin/clang
>
> Joey
>
>
> On 9 June 2012 22:52,
2012 Jun 09
0
[LLVMdev] Extracting an AST to Graphviz using Clang
Just to add one more thing. I have been trying to install the gv on my mac
os but I have not been successful either. The gv build requires xaw3d (
http://directory.fsf.org/wiki/Xaw3d ) which apparently has not been updated
for quite few years and the download is not even available anymore.
Carlos Andrade
http://carlosandrade.co
2012/6/9 Carlos Andrade <carlosviansi at gmail.com>
> Hi
2012 Jun 09
0
[LLVMdev] Extracting an AST to Graphviz using Clang
You need to run the clang from the build directory. Something like
./Debug+Asserts/bin/clang
Joey
On 9 June 2012 22:52, Carlos Andrade <carlosviansi at gmail.com> wrote:
> Just in case another person comes to get stuck on this on Mac OS:
>
> http://web.mit.edu/mfloyd/www/computing/mac/gv/
>
> This link explains the process on getting gv installed since Xaw3d
> dependency
2012 Jun 09
0
[LLVMdev] Extracting an AST to Graphviz using Clang
Hi,
The -j option just says how many processes are started to parallelise the
build.
The default option is to build Debug+Asserts, so unless you add any extra
arguments when you run './configure', you should be fine!
Joey
On 9 June 2012 21:29, Carlos Andrade <carlosviansi at gmail.com> wrote:
> Hi Joey!
>
> Thanks I just replied your message on stack and I was actually
2012 Jun 09
0
[LLVMdev] Extracting an AST to Graphviz using Clang
Hi Carlos,
You can just download the source code from
http://llvm.org/releases/download.html#2.9 and then read
http://llvm.org/docs/GettingStarted.html which should tell you how to
compile it.
Joey
On 9 June 2012 21:10, Carlos Andrade <carlosviansi at gmail.com> wrote:
> Hi Alex,
>
> Would you recommend any specific link in respect on how to compile in
> debug mode? I
2012 Jun 09
0
[LLVMdev] Extracting an AST to Graphviz using Clang
Hi Carlos,
> I am new to this list, and hope this question is pertinent to this mailing
> list.
Welcome!
> Stmt::viewAST is only available in debug builds on systems with Graphviz or
> gv!
You need to actually build Clang in debug mode for this particular
method to be available, which is very likely why you're seeing this
error. I don't think that Clang builds shipped with
2012 Oct 14
1
Is there any R package that contains Rusboost based on Adaboost.m2?
Hi,
I have been searching everywhere for an implementation of those algorithms,
but I have only observed them in Matlab and on the literature.
I noticed a package called 'ada' in CRAN but it is not for multi class. I
would be happy with just Adaboost.m2, Smoteboost over adaboost.m2 or any
other combination that could account for imbalanced multiclass
classification problems.
Thanks!
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
2009 Aug 13
0
[LLVMdev] Graphviz and LLVM-TV
On Aug 13, 2009, at 8:56 AM, Ioannis Nousias wrote:
> Hi
>
> I'm trying to get a graphviz output (DOT) of a code I'm compiling. I
> want to see the DFG/CFG of the LLVM assembly, how the operations are
> chained together. The documentation mentions something about calling
> certain methods from within gdb, but isn't there some option when
> invoking the compiler
2009 Aug 13
0
[LLVMdev] Graphviz and LLVM-TV
On Thu, 2009-08-13 at 17:17 +0100, Ioannis Nousias wrote:
> Chris Lattner wrote:
>
> On Aug 13, 2009, at 8:56 AM, Ioannis Nousias wrote:
>
> > Hi
> >
> > I'm trying to get a graphviz output (DOT) of a code I'm compiling. I
> > want to see the DFG/CFG of the LLVM assembly, how the operations are
> > chained together. The documentation mentions
2012 Sep 19
0
CEBA-2012:1291 CentOS 6 graphviz FASTTRACK Update
CentOS Errata and Bugfix Advisory 2012:1291
Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-1291.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
9812d525ecf3118212738fef6c4d38695ea1fe156850a21742ded07e27f85c5d graphviz-2.26.0-10.el6.i686.rpm
2009 Aug 13
7
[LLVMdev] Graphviz and LLVM-TV
Hi
I'm trying to get a graphviz output (DOT) of a code I'm compiling. I
want to see the DFG/CFG of the LLVM assembly, how the operations are
chained together. The documentation mentions something about calling
certain methods from within gdb, but isn't there some option when
invoking the compiler (I've seen some -print-cfg and -dot-cfg options
mentioned in some source files,
2011 May 03
1
Compiling Rgraphiz on Windows 7 64bit with R-2.13.0
Hi all,
I am trying to compile Rgraphiz on Windows 7 64bit with R-2.13.0. I have
installed
Rtools213.exe from [1]. The 64bit packages in [2] provided me with the 64 bit
version
of graphviz. After intalling the binary version Rgraphviz 1.30 (in 32bit) it
complains (as
expected) that:
> library(Rgraphviz)
Error: package 'Rgraphviz' is not installed for 'arch=x64'
I
2007 Jan 12
2
Best graphviz settings
So,
Anyone playing with the graph files yet? Just wondering if anyone has
discovered a really good set of parameters to pass to dot to get the best
looking graphs (OmniGraffle looks nice but I don''t want to pay for anything
and want a way to generate graphics from the command-line).
-- DK
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
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