Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Removing legacy profiling code from LLVM"
2013 Sep 13
2
[LLVMdev] Removing legacy profiling code from LLVM
Alright, I'm ready to nuke it. Last chance to say stop.
For context of others, this has come up repeatedly: no one we know of is
using EdgeProfiling.cpp, PathProfiling.cpp, and the
lib/Analysis/Profile*Pass.cpp collection of tools. They haven't been
updated since 2012 when Alastair Murray looked into this stuff, and both
current efforts towards PGO are essentially *totally* different
2013 Sep 13
0
[LLVMdev] Removing legacy profiling code from LLVM
On Sep 13, 2013, at 11:05 AM, msharp at codeaurora.org wrote:
> Chandler Carruth wrote:
>
>> Alright, I'm ready to nuke it. Last chance to say stop.
>
> Stop.
>
>> For context of others, this has come up repeatedly: no one we know of is
>> using EdgeProfiling.cpp, PathProfiling.cpp, and the
>> lib/Analysis/Profile*Pass.cpp collection of tools.
>
2013 Sep 13
0
[LLVMdev] Removing legacy profiling code from LLVM
BTW, this will also remove the entire 'runtime' directory in the LLVM
repository.
Runtime libraries are now being developed in compiler-rt. That is where the
GCDA profiling runtime already lives and any new instrumentation based
profiling runtime would also likely live there.
If the code in the existing runtime tree is needed to start building those,
they can always be found in the VCS
2011 Apr 24
2
[LLVMdev] Problem with compiling the runtime libary
Hi Nick
Thanks for you reply.
CMAKE is very new to me. I complied using GNU WIN32 and got those errors. Is
it possible to compile it using GNU WIN 32 and anything need to be modified?
I managed to compile the run time library on a mac machine.
Yafan
On Fri, Apr 22, 2011 at 5:04 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
> yafan zhao wrote:
>
>> Hi All
>> Thanks for
2009 Oct 20
2
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
On Oct 20, 2009, at 5:49 AM, Jay Foad wrote:
>> To test clang:
>> 1) Compile llvm and clang from source.
>
> LLVM fails to build for me on Cygwin. I get:
>
Does TOT build? If not, please file a bug.
Unfortunately Cygwin is not in our release criteria. I'd like to have
a buildbot running (if there is not one already) and then get someone
to qualify it for the
2010 Dec 03
4
[LLVMdev] Reviewer for our Path Profiling Implementation
I am a student at the University of Alberta under the
supervision of José Nelson Amaral, and I have been working on
implementing path profiling into LLVM. I have completed my project
and would like to submit it.
We are looking for a reviewer for the path profiling implementation. We
have sent previous requests to the llvmdev list but have so far been
unsuccessful.
Please see the attached
2009 Oct 20
0
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
> To test clang:
> 1) Compile llvm and clang from source.
LLVM fails to build for me on Cygwin. I get:
make[1]: Entering directory `/home/foad/llvm/objdir-2.6/runtime'
make[2]: Entering directory `/home/foad/llvm/objdir-2.6/runtime/libprofile'
llvm[2]: Compiling BasicBlockTracing.c for Release build (PIC)
llvm[2]: Compiling BlockProfiling.c for Release build (PIC)
llvm[2]:
2010 Dec 08
0
[LLVMdev] Reviewer for our Path Profiling Implementation
On Dec 3, 2010, at 11:21 AM, Adam Preuss wrote:
> I am a student at the University of Alberta under the
> supervision of José Nelson Amaral, and I have been working on
> implementing path profiling into LLVM. I have completed my project
> and would like to submit it.
>
> We are looking for a reviewer for the path profiling implementation. We
> have sent previous requests
2009 Oct 20
3
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
On Oct 20, 2009, at 12:05 PM, Aaron Gray wrote:
> 2009/10/20 Tanya Lattner <lattner at apple.com>:
>>
>> On Oct 20, 2009, at 5:49 AM, Jay Foad wrote:
>>
>>>> To test clang:
>>>> 1) Compile llvm and clang from source.
>>>
>>> LLVM fails to build for me on Cygwin. I get:
>>>
>>
>> Does TOT build? If not,
2009 Oct 20
0
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
2009/10/20 Tanya Lattner <lattner at apple.com>:
>
> On Oct 20, 2009, at 5:49 AM, Jay Foad wrote:
>
>>> To test clang:
>>> 1) Compile llvm and clang from source.
>>
>> LLVM fails to build for me on Cygwin. I get:
>>
>
> Does TOT build? If not, please file a bug.
No. Theres the runtime install bug (below), and llvm-gcc has a bug
that I
2010 Dec 08
1
[LLVMdev] Reviewer for our Path Profiling Implementation
Thank you for your suggestions on the patch. If the patch is committed, I would be willing to maintain it, though
I am not sure what is all involved or how I am made aware of changes that need to be made.
The technical report https://www.cs.ualberta.ca/system/files/tech_report/2010/PreussPathProfLLVM.pdf contains
my benchmarks relating to profiling overhead in LLVM.
Over the next week I will
2009 Aug 28
1
[LLVMdev] [Cygwin] 'make install' woes
I am getting the following on 'make install' on Cygwin both on debug and
release builds :-
llvm[3]: Installing Release /home/ang/llvm-coff/bin/llvmc.exe
make[3]: Leaving directory `/home/ang/build/llvm-coff/tools/llvmc/driver'
make[2]: Leaving directory `/home/ang/build/llvm-coff/tools/llvmc'
make[1]: Leaving directory `/home/ang/build/llvm-coff/tools'
make[1]: Entering
2009 Oct 20
0
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
2009/10/20 Tanya Lattner <lattner at apple.com>:
>
> On Oct 20, 2009, at 12:05 PM, Aaron Gray wrote:
>
>> 2009/10/20 Tanya Lattner <lattner at apple.com>:
>>>
>>> On Oct 20, 2009, at 5:49 AM, Jay Foad wrote:
>>>
>>>>> To test clang:
>>>>> 1) Compile llvm and clang from source.
>>>>
>>>> LLVM
2012 Mar 28
2
[LLVMdev] Building past few days with Clang++ and Clang produces errors on Cmake for Debian Linux
*System:* Debian Linux Sid/Unstable amd64
*LLVM/Clang:* Trunk
*Scenario:* In the past couple of days I've been compiling against trunk
I get two separate and spurious hang ups with CMake.
*Note:* I build against more than just X86 follow along the progress of
other platforms, though just building for X86 produces the same results
below.
*Assumption:* Configure cmake with prior built
2013 Jan 13
4
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi,
I am new to LLVM, and would like to write a dynamic profiler, say which prints out the load address of all the load instructions encountered in a program.
>From what I could pick up, edge-profiler.cpp increments a counter dynamically which is somehow dumped onto llvmprof.out by profile.pl
Could anyone explain me how this works? Can I instrument the code to dump out the load addresses or
2011 Jul 28
2
[LLVMdev] number of static paths
Hi, I am a student at IIT Kanpur. I am working on Path Profiling, i just
came with a need to know about the number of static paths in a
program(actually in a function) before it's actually get run. As i saw in
PathProfiling.c file in llvm\runtime\libprofile they are just storing the
path information at run time and dynamically adding entries for the new
path. But i need to know the number of
2009 Sep 01
1
[LLVMdev] Problem building libprofile.
Hi,
when I try to build libprofile with r80670 (both llvm and llvm-gcc) I
get this error:
make[1]: Entering directory `.../llvm-svn-debug-obj/runtime/libprofile'
llvm[1]: Building Debug Bytecode Archive libprofile_rt.bca (internalize)
llvm[1]: Installing Debug Shared Library
/nfs/a5/astifter/astifter/llvm/llvm-svn-debug-obj/../llvm-svn-debug-install/lib/libprofile_rt.so
0 llvm-ld
2011 Jul 28
0
[LLVMdev] number of static paths
Hi, I am a student at IIT Kanpur. I am working on Path Profiling, i just
came with a need to know about the number of static paths in a
program(actually in a function) before it's actually get run. As i saw in
PathProfiling.c file in llvm\runtime\libprofile they are just storing the
path information at run time and dynamically adding entries for the new
path. But i need to know the number of
2009 Oct 17
12
[LLVMdev] 2.6 pre-release2 ready for testing
LLVMers,
2.6 pre-release2 is ready to be tested by the community.
http://llvm.org/prereleases/2.6/
If you have time, I'd appreciate anyone who can help test the release.
To test llvm-gcc:
1) Compile llvm from source and untar the llvm-test in the projects
directory (name it llvm-test or test-suite). Choose to use a pre-
compiled llvm-gcc or re-compile it yourself.
2) Run make check,
2013 Jun 24
2
[LLVMdev] Questions on writing a pass that adds instrumentation code
I'm an LLVM newbie, trying to write a pass that adds instrumentation to
a program, and have a couple of questions.
For purposes of this discussion, suppose I'm trying to add a
per-function counter that is incremented each time a function is called.
At the end of the target program's execution, I would like to output the
value of each counter.
My questions are as follows:
1.