search for: enable_profil

Displaying 13 results from an estimated 13 matches for "enable_profil".

Did you mean: enable_profile
2010 Nov 07
2
[LLVMdev] Compiling front end for ARM target
...the following configure options: /home/tony/llvm/llvm-gcc/configure --prefix=/home/tony/llvm/llvm-gcc-install/ --program-prefix=llvm-arm- --enable-llvm=/home/tony/llvm/llvm-install/ --enable-pic --disable-bootstrap --target=arm-none-linux-gnueabi --enable-languages=c,c++ Then I try to make: make ENABLE_PROFILING=1 ENABLE_OPTIMIZED=1 However I encounter a no such file error for crti.o when linking. crti.o exists in /usr/lib/ and /usr/lib64/ as well as /CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/usr/lib/ which is in my path. Anybody know how to solve this? Or have better instructions on...
2003 Dec 05
0
[LLVMdev] Re: Makefile.config&setenv
...; # Path to the PAPI code. This is used by the reoptimizer only. > # > #PAPIDIR := /home/vadve/shared/papi-2.3.4.1 > PAPIDIR := /home/vadve/shared/Sparc/papi-2.3.4.1 > > # These are options that can either be enabled here, or can be enabled on the > # make command line (ie, make ENABLE_PROFILING=1) > # > > # When ENABLE_OPTIMIZED is enabled, Release builds of all of the LLVM code are > # turned on, and Debug builds are turned off. > # > #ENABLE_OPTIMIZED = 1 > > > # When ENABLE_PROFILING is enabled, the llvm source base is built with profile > # informat...
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 me what am I doing wrong? Thx. Domagoj Other possibly relevant info: Makefile...
2004 Apr 01
1
[LLVMdev] Makefile.config
Hi John, I have attached my Makefile.config. I noticed that I did'nt have SRC_ROOT and OBJ_ROOT variables defined as such in my environment. But I noticed that this is defined in the Makefile.config by default to the same values. All the same, I tried defining both these variables in my .cshrc, but I still get the same error. The main directory for me is /home/llvm, and I have
2010 Nov 08
0
[LLVMdev] Compiling front end for ARM target
...home/tony/llvm/llvm-gcc/configure > --prefix=/home/tony/llvm/llvm-gcc-install/ --program-prefix=llvm-arm- > --enable-llvm=/home/tony/llvm/llvm-install/ --enable-pic --disable-bootstrap > --target=arm-none-linux-gnueabi --enable-languages=c,c++ > > Then I try to make: > > make ENABLE_PROFILING=1 ENABLE_OPTIMIZED=1 > > However I encounter a no such file error for crti.o when linking. crti.o > exists in /usr/lib/ and /usr/lib64/ as well as > /CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/usr/lib/ which > is in my path. What's it linking when it fails? I...
2003 Jul 09
0
[LLVMdev] writing a pass
...a Debug subdirectory like the tutorial said I would - I > have Release instead. 1. What version of LLVM are you using (i.e., when did you get a tarball, or if you are using anonymous CVS, are you up to date)? 2. Did you run 'make' or 'make ENABLE_OPTIMIZED=1' or 'make ENABLE_PROFILING=1'? 3. If you are using a version of LLVM that is new enough to have a 'configure' script in the top-level directory, how did you run 'configure'? You may have specified './configure --enable-optimized' or the like, with the save effects as in #2. > That...
2005 Jul 27
0
[LLVMdev] Regarding profiling with llvm
...or LLVM blocks for mediabench g721 benchmark. I have generated control flow graphs, and instruction mix of the same. however, to obtain runtime profile information, I tried the following. build llvm in PROFILE_ENABLE mode reconfigure path for all the files. run makefile for benchmark g721 : gmake ENABLE_PROFILING=1 According to the manual, it says I would get a profile.out file. However, I dont see the file. However, I see several files like encode.out-cbe, encode.out-jit etc. I assumed that encode.out.cbe would provide me with common block execution profile information and gave the command analyze enc...
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
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
2003 Jul 09
2
[LLVMdev] writing a pass
Hi, I'm having a problem with opt. According to the "Writing an LLVM Pass" tutorial, all I have to do to get the Hello pass to work is: cd ${LLVM_HOME}/llvm/lib/Transforms/Hello gmake cd $MYTEST opt -load ${OBJ_ROOT}/lib/Release/libhello.so -hello < something.bc > /dev/null First (just as a friendly reminder), someone may want to go back and double check a bunch of
2010 Nov 29
3
[LLVMdev] Does someone has experience with Canadian cross build of LLVM compiler?
...et CXXFLAGS ; \ /home/ksanina/llvm/configure --build=x86_64-pc-linux-gnu \ --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu; \ cd .. ; \ fi; \ (unset SDKROOT; \ make -C BuildTools \ BUILD_DIRS_ONLY=1 \ UNIVERSAL= \ ENABLE_OPTIMIZED=1 \ ENABLE_PROFILING= \ ENABLE_COVERAGE= \ DISABLE_ASSERTIONS=1 \ ENABLE_EXPENSIVE_CHECKS= \ CFLAGS= \ CXXFLAGS= \ ) || exit 1; checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu check...
2004 Oct 23
1
[LLVMdev] UPDATE: Makefile.rules Changes (IMPORTANT)
...### > > #-------------------------------------------------------------------- > -# Variables derived from configuration options... > +# Variables derived from configuration we are building > #-------------------------------------------------------------------- > > ifdef ENABLE_PROFILING > @@ -126,16 +92,19 @@ > endif > > ARFLAGS := cru > -#------------------------------------------------------------------------------ > + > +#-------------------------------------------------------------------- > # Directory locations > +#--------------------------...
2005 May 19
3
[LLVMdev] [Cygwin] llvm 'make install' build errors
Reid, I think it is the first time it is run that the errors occcur !? Not sure but that would seem logical. Aaron