Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Regarding profiling with llvm"
2005 Jul 27
1
[LLVMdev] Help regarding profiling information
Hi,
I am trying to obtain basic block profiles for mediabench g721
benchmark. I have successfully built llvm in profile_enabling mode.
Then so as to find out the block execution frequency, I ran the
command, analyze encode.out-cbe. It generated gmon.out which I read
using gprof. However, I did not get the basic block level execution
frequency. Can anybody help me as to how I can extract the basic
2006 Jun 08
1
[LLVMdev] Profiling dynamically loaded libraries
Hi,
Standard approach to profiling dynamically loaded libraries with
gprof doesn't seem to work with LLVM:
export LD_PROFILE=Mylib.so
export LD_PROFILE_OUTPUT=.
make ENABLE_PROFILING=1 // compiling my project
opt -load Profile/Mylib.so -options...
but no Mylib.so.profile (or gmon.out) is produced. Profiling
libc.so.6 usage by "ls -l", however, works fine.
Could anyone explain
2009 Jun 26
3
beginner's guide to C++ programming with R packages?
Hello, again.
I'm interested to learn how programmers develop & test C/C++ code with
R packages in Linux. I've been reading R source and the manual on
Writing R Extensions but there are just a couple of details I can't
understand. I wish I could watch over a developer's shoulder to see
how people actually do this.
I've tested a bit. I am able to take package.tar.gz
2003 Dec 05
0
[LLVMdev] Re: Makefile.config&setenv
yue wrote:
> hi,
> about [LLVMdev] another question
>
> thanks
>
> yueqiang
One other thing you might want to try is to put your object tree in a
directory that is *not* inside of your source tree. Currently, we don't
support using separate object trees that are subdirectories of the
source tree.
In other words:
Will work:
==========
SRC_ROOT=/home/yue/llvm
2005 Feb 26
1
Profiling C functions called from R.
Hi,
I am working on an R package which includes some C routines. I would
like to profile the C routines (built with GCC under Debian Linux). I
tried running R with
LD_PROFILE=/path/to/C/library.so R
and executing functions that would invoke the code therein. The code
takes about twice as long to run with LD_PROFILE set than without, so I
am guessing that profiling is taking place. However,
2013 Mar 20
2
[LLVMdev] [Polly]GSoC Proposal: Reducing LLVM-Polly Compiling overhead
On 03/19/2013 11:02 AM, Star Tan wrote:
>
> Dear Tobias Grosser,
>
> Today I have rebuilt the LLVM-Polly in Release mode. The configuration of my own testing machine is: Intel Pentium Dual CPU T2390(1.86GHz) with 2GB DDR2 memory.
> I evaluated the Polly using PolyBench and Mediabench. It takes too long time to evaluate the whole LLVM-testsuite, so I just choose the Mediabench from
2013 Mar 19
0
[LLVMdev] [Polly]GSoC Proposal: Reducing LLVM-Polly Compiling overhead
Dear Tobias Grosser,
Today I have rebuilt the LLVM-Polly in Release mode. The configuration of my own testing machine is: Intel Pentium Dual CPU T2390(1.86GHz) with 2GB DDR2 memory.
I evaluated the Polly using PolyBench and Mediabench. It takes too long time to evaluate the whole LLVM-testsuite, so I just choose the Mediabench from LLVM-testsuite.
The preliminary results of Polly compiling
2013 Mar 23
0
[LLVMdev] [Polly]GSoC Proposal: Reducing LLVM-Polly Compiling overhead
Dear Tobies,
Sorry for the late reply.
I have checked the experiment and I found some of the data is mismatched because of incorrect manual copy and paste, so I have written a Shell script to automatically collect data. Newest data is listed in the attached file.
Tobies, I have made a simple HTML page (attached polly-compiling-overhead.html) to show the experimental data and my plans for this
2007 Sep 25
2
[LLVMdev] Profiling llc
Hey guys, I am trying to speed up some of my LLVM/llc passes. Is there a
way to use something like gprof on llc? If not, do you guys know anything
that I can use to discover which routines of my passes are taking most of
the time?
thanks,
Fernando
2008 Oct 31
2
[LLVMdev] building for sparc-sun-solaris2.10
I am trying to do some research that involves instrumenting LLVM IR,
that I need to test for performance and scalability on a bunch of systems.
I've started trying by trying to get sparc-sun-solaris2.10 (niagara)
working. It appears that neither llvm nor llvm-gcc will build natively
on the system, so I think that I need to build an llvm-gcc cross compiler.
The documentation for building
2005 Feb 16
0
Profiling R code and C code (Rprof and gprof)
Hi,
I have searched R mail list archive and couldn't find my answers. The R
extension describes how to make use of Rprof to profile R code.
gprof can be also used for the same purpose for the
C codes when the C codes are written independently and provided with a
main() function.
I'm currently writing R codes meshed with C Codes, and use .Call as the
interface between the two parts.
2005 Jul 26
0
[LLVMdev] Executing benchmarks using LLVM
Hi,
Question I had was if someone has tried executing Mibench or
Mediabench benchmarks using llvm.
I am trying to do simple qsort benchmark in the Mibench benchmark
suite. I substituted llvmc instead of gcc in the makefiles. But I am
getting the following error.
"llvmc qsort_small.c -O3 -o qsort_small -lm
llvmc: Configuration file for 'c' is not available.
make: *** [qsort_small]
2012 Jul 10
9
[PATCH] stubdom: fix errors in newlib
# HG changeset patch
# User Olaf Hering <olaf@aepfle.de>
# Date 1341839122 -7200
# Node ID 2dd50c201ca0d3542f3589942ae9e51d33ec7509
# Parent 42f76d536b116d2ebad1b6705ae51ecd171d2581
stubdom: fix errors in newlib
rpmlint found a few code bugs in newlib, and marks them as errors after
rpm build. Add another newlib patch and apply it during stubdom build.
I: A function uses a
2013 Jul 28
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
Hi, Sean:
I'm sorry I lie. I didn't mean to lie. I did try to avoid making a
*BIG* change
to the IPO pass-ordering for now. However, when I make a minor change to
populateLTOPassManager() by separating module-pass and non-module-passes, I
saw quite a few performance difference, most of them are degradations.
Attacking
these degradations one by one in a piecemeal manner is wasting
2009 Mar 13
1
[LLVMdev] llvm-gcc4.2-2.5 front-end build problems on SunOS
Hello all,
I am trying to install the llvm-gcc front end to use it in one of my
projects, but I got stuck.. I am working on a Sun workstation:
SunOS xxx 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V240
and I have gcc version 3.4.6:
Reading specs from /sw/gcc-3.4.6/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: /.scratch/andjo/lsw/src/gcc/gcc-3.4.6/configure
2006 Oct 31
0
6273860 gcc and sgs/gprof don''t get along
Author: mike_s
Repository: /hg/zfs-crypto/gate
Revision: e144729d8b901f4092085ea17a31bf10d1089f79
Log message:
6273860 gcc and sgs/gprof don''t get along
6273866 gcc and sgs/prof don''t get along
Files:
update: usr/src/cmd/sgs/gprof/Makefile.com
update: usr/src/cmd/sgs/gprof/common/arcs.c
update: usr/src/cmd/sgs/gprof/common/dfn.c
update: usr/src/cmd/sgs/gprof/common/gprof.c
2004 Jun 07
2
(low level) profiling of code
Dear R-help,
Can some one tell me how to profile compiled code dynamically loaded into R?
Here's what I tried on our dual Opteron running SUSE Linux Enterprise Server
8 (GCC 3.3):
Start with R-patched dated 2004-06-07:
(I also had MAIN_CFLAGS="-pg" in config.site.)
R is now configured for x86_64-unknown-linux-gnu
Source directory: .
Installation directory:
2008 Feb 03
0
[LLVMdev] 2.2 Prerelease available for testing
Target: FreeBSD 6.2-STABLE on i386
autoconf says:
configure:2122: checking build system type
configure:2140: result: i386-unknown-freebsd6.2
[...]
configure:2721: gcc -v >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
[...]
objdir != srcdir, for both llvm and gcc.
Release build.
llvm-gcc 4.2 from source.
2007 Sep 18
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
Hi,
LLVM 2.1-pre1 test results:
Linux (SUSE) on x86 (P4)
Release mode, but with assertions enabled
LLVM srcdir == objdir
# of expected passes 2250
# of expected failures 5
I ran the llvm-test suite on my desktop while I was also working on that PC,
so don't put too much trust in the timing info. Especially during the "spiff"
test the machine was swapping
2018 Apr 26
0
Compare test-suite benchmarks performance complied without TBAA, with default TBAA and with new TBAA struct path
Hello,
I was interested in how much Type-Based Alias Analysis helps to optimize code. For that purpose, I've compared
three sets of benchmarks: compiled without TBAA, compiled with a default TBAA metadata format, and compiled
with new TBAA metadata format.
As a set of benchmarks, I've used the LLVM test suite (http://llvm.org/docs/TestingGuide.html#test-suite-overview)
which has a lot of