Displaying 10 results from an estimated 10 matches similar to: "[LLVMdev] viewCFGOnly() function"
2009 Jul 23
2
[LLVMdev] viewCFGOnly() function
Hello David,
Thanks for the reply. Would i not need to pass any arguments for
viewCFGOnly() method? According to this
http://llvm.org/doxygen/Function_8h-source.html seems like we need to?
I am building it on top of the example shown at
http://llvm.org/docs/WritingAnLLVMPass.html and just added
'F->viewCFGOnly(); line to it. It doesn't compile, i suspect it has to do
with the way i
2009 Jul 22
0
[LLVMdev] viewCFGOnly() function
You can call the function from your program OR the debugger. The
comments simply inform you that it is quite handy to be able to call the
function from a debugger (such as gdb).
To call the function in you code simply add a line such as:
F->viewCFGOnly();
Where F is an appropriate variable eg. a MachineFunction pointer
If you are using gdb then you can do the following:
call
2009 Jul 23
0
[LLVMdev] viewCFGOnly() function
Here's what the doxygen page has for viewCFGOnly() :
/// viewCFGOnly - This function is meant for use from the debugger. It works
/// just like viewCFG, but it does not include the contents of basic blocks
/// into the nodes, just the label. If you are only interested in the CFG
/// this can make the graph smaller.
///
void viewCFGOnly() const;
Which indicates that no arguments are
2009 Jul 16
1
[LLVMdev] [patch] Dotty printer for dependency trees
Tobias Grosser wrote:
> On Wed, 2009-07-15 at 00:20 +0200, Tobias Grosser wrote:
>> Hi,
>>
>> I started to work with llvm and liked the CFG dotty printer a lot.
>> However there was none for the dominance trees.
>>
>> I implemented dotty printing for dominance trees
Great! I'm a huge fan of graphviz integration in the compiler.
> And here is the
2009 Jul 14
2
[LLVMdev] [patch] Dotty printer for dependency trees
Hi,
I started to work with llvm and liked the CFG dotty printer a lot.
However there was none for the dominance trees.
I implemented dotty printing for dominance trees and introduced these
new flags:
-dot-dom : Print dominance tree of function to 'dot' file
-dot-dom-only : Print dominance tree of function to 'dot' file
(with no function
2009 Jul 14
0
[LLVMdev] [patch] Dotty printer for dependency trees
On Wed, 2009-07-15 at 00:20 +0200, Tobias Grosser wrote:
> Hi,
>
> I started to work with llvm and liked the CFG dotty printer a lot.
> However there was none for the dominance trees.
>
> I implemented dotty printing for dominance trees
And here is the patch.
Tobi
-------------- next part --------------
A non-text attachment was scrubbed...
Name:
2004 Jul 12
0
LLVM July Status Update
July Status Update
------------------
Hi everyone!
This month has been a busy month of cleanups and refinements, and marks
over a year of LLVM status updates :). LLVM is getting substantially
smaller (in memory footprint) and faster, received a few cool new
features, and has a few more fixed bugs. We are currently thinking about
unleashing the LLVM 1.3 release in about 3-4 weeks from now.
If
2005 Jun 17
5
[LLVMdev] Re: Control flow graph
On Fri, 17 Jun 2005, Manvi Agarwal wrote:
> Hi Chris,
Hi. FYI, it's usually better to email the llvmdev list with generic llvm
questions.
> Is it possible to get control flow graph of the application with the llvm
> infrastructure in terms of basic blocks?
Yes, given a BasicBlock*, you can iterate over the pred/succ blocks in the
CFG like this:
#include
2002 Jul 24
1
Backing up both AIX and NT using Samba
Hi Everyone,
My name is Joe and I need some help from the Samba community. I have a need
to be able to backup both Windows NT and AIX files using one IBM 3590 tape
drive attached to a 7017-s80 running AIX 4.3.3.
The files that I need to back up on the NT side are on a box that
cannot be NFS mounted. It is essentially a "dumb box" with minimal
configuration abilities.
I am able to back
2011 Apr 05
3
[LLVMdev] Building LLVM on Solaris/Sparc
Hi,
I'm trying to build llvm on a Solaris/Sparc machine. I get many undefined
symbols during the link phase of opt. The link command being run is below.
It is identical to the link command that gets run and works on an x86 host.
Thanks,
Tarun
g++ -I/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/include
-I/n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt