Displaying 20 results from an estimated 26 matches for "apala".
2012 Sep 18
4
[LLVMdev] counting branch frequencies
...ck counts are bogus values.
3. Some of the function counts (obtained from
ProfileInfo::getExecutionCount(const Function*)) are incorrect i.e. they
do not equal the number of times the function was invoked.
Can someone please explain why I am experiencing the above problems?
Thanks in advance!
-Apala
On 09/12/2012 09:20 PM, Alastair Murray wrote:
> Hi Apala,
>
> On 11/09/12 11:20, apala guha wrote:
>> Is it possible to associate the branch frequency counts with the basic
>> blocks
>> in the intermediate representation? (e.g. Can I access basic block
>> freque...
2012 Sep 19
3
[LLVMdev] counting branch frequencies
...-profile-loader -O3 matmult.bc -o matmult.opt.bc (does not work)
Also, I am able to avoid the inconsistency warning only for optimization
levels -O3 and -O2. I get that warning when using -O1 and -disable-opt.
Anyone else have this experience? Or, any ideas why the above might happen?
Thanks.
-Apala
On 09/19/2012 08:49 AM, Alastair Murray wrote:
> Hi Apala,
>
> Dibyendu is correct that this is likely due to pass order, but things
> get a bit complicated with -O[1-9] or -std-compile-opts as they insert
> early passes *before* the profiling code.
>
> I recommend that you...
2012 Sep 19
0
[LLVMdev] counting branch frequencies
Hi Apala,
Dibyendu is correct that this is likely due to pass order, but things
get a bit complicated with -O[1-9] or -std-compile-opts as they insert
early passes *before* the profiling code.
I recommend that you use identical optimizations to insert
instrumentation and to load the profiling data.
E....
2012 Sep 11
2
[LLVMdev] counting branch frequencies
...possible to associate the branch frequency counts with the basic blocks
in the intermediate representation? (e.g. Can I access basic block
frequencies in runOnFunction()?)
Also, I was able to produce a 'llvmprof.out' file. What is the format of this file? How can I parse it?
Thanks.
-Apala
>
>
> On 09/07/2012 01:25 PM, Alastair Murray wrote:
> > Hi Apala,
> >
> > Do you mean is it possible to count branch taken/not-taken frequencies?
> >
> > If so then in the svn version (i.e. not 3.1) there is
> > -profile-metadata-loader which sets...
2012 Sep 19
0
[LLVMdev] counting branch frequencies
...c block is part of a loop, its execution count does not
match the function invocation count.
Is my assumption wrong, that ProfileInfo::getExecutionCount(Function* F)
is supposed to return the function invocation count?
If my assumption is not wrong, is there any way to fix the results?
Thanks.
-Apala
On 09/19/2012 09:53 AM, apala guha wrote:
> Thanks everyone for the replies. After some experimentation, I found
> that the order in which the passes are specified matters:
>
> opt -O3 -profile-loader matmult.bc -o matmult.opt.bc (works)
> opt -profile-loader -O3 matmult.bc -o mat...
2012 Nov 08
3
[LLVMdev] translating from OpenMP to CUDA
Hi,
Is it possible to translate an OpenMP program to CUDA using LLVM? I read that dragonegg has a OpenMP front-end and LLVM has a PTX back-end. I don't know how mature these tools are. Please let me know. Thanks.
-Apala
Postdoctoral Scholar
Department of Computer Science, University of Chicago
Computation Institute, Argonne National Laboratory
http://sites.google.com/site/apalaguha/home/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/a...
2012 Nov 09
0
[LLVMdev] translating from OpenMP to CUDA
...ructs are already lowered into libgomp calls before leaving
DragonEgg. It's been awhile since I've loooked at it though.
If you use the PTX back-end and have any issues, please don't hesitate to
post to the list and cc: me at jholewinski at nvidia.com
On Thu, Nov 8, 2012 at 8:05 AM, Apala Guha <aguha at uchicago.edu> wrote:
> Hi,****
>
> ** **
>
> Is it possible to translate an OpenMP program to CUDA using LLVM? I read
> that dragonegg has a OpenMP front-end and LLVM has a PTX back-end. I don’t
> know how mature these tools are. Please let me know. Thank...
2012 Sep 07
2
[LLVMdev] counting branch frequencies
Hi,
Is there a way to count branch frequencies using LLVM infrastructure?
Thanks.
-Apala
Postdoctoral Scholar
Department of Computer Science, University of Chicago
Computation Institute, Argonne National Laboratory
http://sites.google.com/site/apalaguha/home/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/a...
2012 Oct 09
2
[LLVMdev] function calls
Hi,
I am seeing some strange function calls in the LLVM IR, such as, 'call
llvm.lifetime.start'. What are these functions and why are they
appearing in the IR?
Thanks.
-Apala
2012 Sep 19
1
[LLVMdev] counting branch frequencies
...point is, is it worth doing any optimizations when -insert-edge-profiling is specified on command line?
-Prashantha
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Alastair Murray
Sent: Wednesday, September 19, 2012 7:19 PM
To: apala guha
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] counting branch frequencies
Hi Apala,
Dibyendu is correct that this is likely due to pass order, but things
get a bit complicated with -O[1-9] or -std-compile-opts as they insert
early passes *before* the profiling code.
I recommend that y...
2012 Oct 04
2
[LLVMdev] library functions
Hi,
Is there any way to analyze library functions using LLVM, in the same
manner as source code functions?
Thanks.
-Apala
2012 Oct 09
0
[LLVMdev] function calls
On 10/9/12 1:19 PM, apala guha wrote:
> Hi,
>
> I am seeing some strange function calls in the LLVM IR, such as, 'call
> llvm.lifetime.start'. What are these functions and why are they
> appearing in the IR?
These are LLVM intrinsics that provide information to the optimization
passes. See the La...
2012 Sep 13
0
[LLVMdev] counting branch frequencies
Hi Apala,
On 11/09/12 11:20, apala guha wrote:
> Is it possible to associate the branch frequency counts with the basic
> blocks
> in the intermediate representation? (e.g. Can I access basic block
> frequencies in runOnFunction()?)
Profile data really needs to be loaded at a module level, bu...
2012 Oct 05
0
[LLVMdev] library functions
...has the infrastructure in place to do so ,One way to
accomplish this by implementing decompiler to convert library functions to
LLVM IR and run the LLVM analyze pass over converted LLVM IR ,Then revert
back from LLVM IR to your library format.
Thanks
~Umesh
On Thu, Oct 4, 2012 at 9:47 PM, apala guha <aguha at uchicago.edu> wrote:
> Hi,
>
> Is there any way to analyze library functions using LLVM, in the same
> manner as source code functions?
>
> Thanks.
> -Apala
> ______________________________**_________________
> LLVM Developers mailing list
> LLVMd...
2013 Jan 01
2
[LLVMdev] IR function pointers
Hi Tim,
This is C++ indeed. Basically, I am profiling the code. So, these edges
that cannot be resolved at compile time present a problem.
Where can I find these devirtualization optimizations that you mentioned?
Thanks.
-Apala
On 01/01/2013 12:18 PM, Tim Northover wrote:
>
> Hi,
>
> > For example: call void %1608(%"struct.LRT::RGBAucharFrameBuffer"*
> > %1604)
> >
> > How can I resolve the targets of these? Also, why are they appearing as
> > indirect calls in the IR, whe...
2012 Dec 06
2
[LLVMdev] llvm-ar
...to link archives built by llvm-ar with other bitcode files,
using llvm-link. But llvm-link seems unable to read files produced by
llvm-ar. Also, clang seems unable to read files produced by llvm-ar. Am
I doing something wrong or is this the expected behavior? Is there any
work-around?
Thanks.
-Apala
2013 Jan 01
2
[LLVMdev] IR function pointers
...gh
the corresponding source code does not have indirect calls.
For example: call void %1608(%"struct.LRT::RGBAucharFrameBuffer"* %1604)
How can I resolve the targets of these? Also, why are they appearing as
indirect calls in the IR, when they are direct calls in the source?
Thanks.
-Apala
2012 Aug 20
0
[LLVMdev] program dependence graph (PDG)
Hi,
Is it possible to generate the PDG of a function using LLVM? I did not find much documentation on it online.
Thanks.
-Apala
Postdoctoral Scholar
Department of Computer Science, University of Chicago
Computation Institute, Argonne National Laboratory
http://sites.google.com/site/apalaguha/home/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev...
2012 Oct 09
0
[LLVMdev] debug information
Hi,
Is there any way to print the source file and line number for loops and
functions in the LLVM IR (assuming everything has been compiled with -g
option)?
Thanks.
-Apala
2012 Dec 06
1
[LLVMdev] source code information
Hi,
I had asked about LLVM debug information a while back, but was told that
it is not well-maintained. Is there any way I can IR functions and loops
with their source code positions?
Thanks
-Apala