Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] dump cfg after each pass"
2010 Oct 27
0
[LLVMdev] dump cfg after each pass
Hi David,
> A dumb question -- is there a way to dump cfg after each pass, something like:
> --print-cfg-after=sccp, or is there a standard post-processing script that
> builds the cfg vcg/dot file from the ir dump?
if your IR is dumped to ir.ll, you can do this to see the cfg:
opt -disable-output -view-cfg ir.ll
You may want to use -view-cfg-only rather than -view-cfg if you are
not
2010 Oct 27
0
[LLVMdev] dump cfg after each pass
On 10/27/2010 01:59 PM, Xinliang David Li wrote:
> A dumb question -- is there a way to dump cfg after each pass, something
> like: --print-cfg-after=sccp, or is there a standard post-processing script
> that builds the cfg vcg/dot file from the ir dump?
You can use to create a dot file of everyfunction for an normal
llvm-ir.ll file.
opt -dot-cfg llvm-ir.ll
If you store the dump in a
2004 May 17
1
xapian & debian
This is mostly for Richard, but others may have useful thoughts too.
I just took a look at the debian stuff. It's generally looking good
(though I haven't actually tried to build the debs). A few comments
on items in TODO:
> xapian-doc: in index.html, there is one broken link (which occurs in
> two places, pointing to the full source documentation, since we don't
>
2010 Oct 08
2
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
On Oct 8, 2010, at 1:05 PM, John Criswell wrote:
> On 10/8/10 1:29 PM, Owen Anderson wrote:
>> Hello fellow LLVM-ers,
>>
>> As those of you who follow llvm-commits have probably noticed, I've been hard at work reworking our pass infrastructure to perform pass initialization/registration without static constructors. This is a boon for clients of the LLVM libraries, as
2009 Aug 21
2
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
Chris Lattner schrieb:
> On Aug 21, 2009, at 3:04 AM, Marc Brünink wrote:
>>> This isn't really possible. The issue is that MemDep doesn't just
>>> "analyze your function". It is designed to be as lazy as possible,
>>> which means that it only does analysis when a query is performed. This
>>> means that if you have
2009 Aug 21
2
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
Chris Lattner schrieb:
>
> On Aug 20, 2009, at 11:44 AM, Marc Brünink wrote:
>
>> Hi,
>>
>> I do have a FunctionPass that does change the code. This FunctionPass
>> requires another FunctionPass which performs all the necessary analyses.
>> This AnalysisPass again requires MemoryDependenceAnalysis.
>>
>> The problem is, that I would like
2009 Aug 21
0
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
On Fri, Aug 21, 2009 at 10:48 AM, Marc Brünink<marc at bruenink.de> wrote:
>>> actually my problem is easier. So I still have hope that it is possible:
>>>
>>> MemDep->Pass1->Pass2
>>>
>>> Pass1 uses MemDep. Pass2 only uses Pass1. Eventually, Pass2 changes the
>>> code. Unfortunately, non-local dependencies of MemDep might point to
2009 Aug 21
0
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
On Aug 21, 2009, at 3:04 AM, Marc Brünink wrote:
>> This isn't really possible. The issue is that MemDep doesn't just
>> "analyze your function". It is designed to be as lazy as possible,
>> which means that it only does analysis when a query is performed.
>> This
>> means that if you have MemDep->Pass1->Pass2 and Pass2 uses MemDep
2009 Aug 20
2
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
Hi,
I do have a FunctionPass that does change the code. This FunctionPass
requires another FunctionPass which performs all the necessary analyses.
This AnalysisPass again requires MemoryDependenceAnalysis.
The problem is, that I would like MemoryDependenceAnalysis to run on the
unaltered module. I do not want to have dependencies to changed code.
What is the cleanest way to do this?
Sounds
2009 Aug 20
0
[LLVMdev] How to force MemoryDependenceAnalysis to run on original module
On Aug 20, 2009, at 11:44 AM, Marc Brünink wrote:
> Hi,
>
> I do have a FunctionPass that does change the code. This FunctionPass
> requires another FunctionPass which performs all the necessary
> analyses.
> This AnalysisPass again requires MemoryDependenceAnalysis.
>
> The problem is, that I would like MemoryDependenceAnalysis to run on
> the
> unaltered
2007 Dec 17
3
[LLVMdev] Bug 1868: Specifying Pass Orderings
Dear Devang Patel,
In response to your comment on bug 1868, how do I get BottomPass to
requires Pass2 before Pass1? Is it by reversing the order of the calls
to AU.addRequired()?
-- John T.
--
John T. Criswell
jcriswel at bigw.org
"It's today!" said Piglet. "My favorite day," said Pooh.
2012 Jun 26
2
[LLVMdev] Does anaysis group only contain passes?
Thanks, John.
This sounds reasonable that the analysis group just provides an interface
to its implementors (pass). Then I have another question, is it allowed to
specify multiple pass in the same analysis group in the command line for
opt? If yes, which pass will be used for the call of
getAnaysis<AnalysisGroup>()?
-Thomson
On Mon, Jun 25, 2012 at 10:34 PM, John Criswell <criswell at
2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
Hi,
> I tried it with -o - but its producing an error
>
> gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
>
> What you suggest?
what I wrote:
>> for F in *.c ; do B=`basename $F .c` ; gcc -fplugin=/path/to/dragonegg.so
>> -S -o - $F -fplugin-arg-dragonegg-emit-ir | opt -adce -o $B.ll ; done
>> clang *.ll
Thanks to the for loop and
2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
Hi,
> If I compile the program using the following command line i.e.
>
> $ clang -O3 -lm *.c
this may be doing link time optimization.
>
> then
>
> $ time ./a.out
>
> real 0m2.606s
> user 0m2.584s
> sys 0m0.012s
>
> BUT, if I use all the optimizations enabled with -O3 but specify them
> explicity i.e.
you can just use "opt -O3"
2012 Jun 26
0
[LLVMdev] Does anaysis group only contain passes?
On 6/25/12 8:55 PM, Thomson wrote:
> Thanks, John.
>
> This sounds reasonable that the analysis group just provides an
> interface to its implementors (pass). Then I have another question, is
> it allowed to specify multiple pass in the same analysis group in the
> command line for opt?
Yes, you can do that. Using multiple analysis passes that belong to the
same group may
2012 Jun 12
2
[LLVMdev] How to use LLVM optimizations with clang
Hello
I need some help here please.
If we compile source files directly in to native code:
$ clang -O3 -lm *.c
then the runtime is like following
real 0m2.807s
user 0m2.784s
sys 0m0.012s
and If we emit LLVM bytcode and apply optimizations
$ clang -O3 -c -emit-llvm *.c
$ llvm-link *.o -o comb.ll
$ time lli ./comb.ll
then the runtime is
real 0m2.671s
user 0m2.640s
sys 0m0.020s
But, if I
2024 Oct 07
1
rpcclient setdriver fails with WERR_ACCESS_DENIED
Dear Samba-experts,
I'm trying to setup automatic printer download with our
samba 4.19.4 fileserver which is a domain member of
our samba 4.18.2 AD.
printer drivers have been installed on the fileserver:
root at serv00:# rpcclient -Uprtadmin%pass1 SERV00 -c enumdrivers
[Windows x64]
Printer Driver Info 1:
Driver Name: [Kyocera TASKalfa 5052ci NAEV]
CUPS-printers have been installed
2010 Nov 18
2
Two Windows users with two passwords must map to the same unix user
Hello,
I have no idea how to implement the following scenario apart
from running two instances of samba on the same machine...
I need a setup where two different Windows users will authen-
ticate with two different passwords but get mapped to the same
unix user.
That is
JOE got password PASS1 and maps to unix user joe with uid 1000
and
JACK got password PASS2 and maps to unix user joe with
2012 Jun 12
2
[LLVMdev] How to use LLVM optimizations with clang
Hi
Yes, they both are exactly the same.
Regards
Shahzad
On Tue, Jun 12, 2012 at 9:38 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi, is the comb.ll used here:
>
>
>> $ time lli ./comb.ll
>>
>> then the runtime is
>>
>> real 0m2.671s
>> user 0m2.640s
>> sys 0m0.020s
>>
>> But, if I convert this same file comb,ll
2015 Feb 24
2
[LLVMdev] Accessing a custom defined llvm pass
Hello all,
I have written one pass to collect information about specific calls in an
llvm IR file and am not trying to reference the results from the first pass
in a second pass.
What is the correct way to reference an additional custom pass in LLVM? At
the moment the project is set up under the lib/Transforms directory in
source and has the current layout:
Thresholds/
include/