similar to: [LLVMdev] Easiest way to collect dynamic Instruction execution counts?

Displaying 20 results from an estimated 700 matches similar to: "[LLVMdev] Easiest way to collect dynamic Instruction execution counts?"

2015 May 28
0
[LLVMdev] Easiest way to collect dynamic Instruction execution counts?
Bruce, Can valgrind give me the execution counts for each Instruction in the LLVM bitcode? Thanks, Steve On Thu, May 28, 2015 at 9:34 AM, Bruce Hoult <bruce at hoult.org> wrote: > That seems like a job for valgrind? > > Assuming you're on a supported platform, but these days that includes all > the common Mac/Linux/Android platforms except ARM64. > > On Thu, May 28,
2015 May 28
1
[LLVMdev] Easiest way to collect dynamic Instruction execution counts?
Machine instructions, yes. You didn't say bitcode instruction. Though it amounts to the same thing, as all instructions in the same basic block have the same execution count and the basic blocks should correspond. On Thu, May 28, 2015 at 5:18 PM, Stephen Thomas < stephen.warner.thomas at gmail.com> wrote: > Bruce, > > Can valgrind give me the execution counts for each
2015 Jun 18
3
[LLVMdev] Clang 3.6.1 integration with MSVC++
Hi, This page http://clang.llvm.org/docs/MSVCCompatibility.html says clang-cl supports C ++ exceptions, but I cannot compile code with simple try{}catch{} error : cannot compile this throw expression yet What am i doing wrong? -- WBR, Arkady Shapkin aka Dragon -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 May 29
2
[LLVMdev] [RFC] Late May Update: Progress report on CMake build system's ability to replace autoconf
Both Release and $CONFIG tblgen are built but the Release one is always used. At least with Visual C++ the Release tblgen is much faster than the Debug one. 2015-05-29 9:37 GMT+03:00 Mueller-Roemer, Johannes Sebastian < Johannes.Sebastian.Mueller-Roemer at igd.fraunhofer.de>: > Do they really allways put them into Release/bin or rather $<CONFIG>/bin? > > > > -- >
2015 May 28
2
[LLVMdev] [RFC] Late May Update: Progress report on CMake build system's ability to replace autoconf
I sent out a patch for review. http://reviews.llvm.org/D10102 <http://reviews.llvm.org/D10102> -Chris > On May 28, 2015, at 9:48 AM, Yaron Keren <yaron.keren at gmail.com> wrote: > > Thanks! > > 2015-05-28 18:56 GMT+03:00 Chris Bieneman <beanz at apple.com <mailto:beanz at apple.com>>: > >> On May 28, 2015, at 8:37 AM, Yaron Keren
2015 Jul 28
4
[LLVMdev] Request: Changing commit message in llvm trunk
Hi I'm trying to change a commit message that became malformed when pushing to trunk svn propedit svn:log --revprop -r 243434 > svn: E175002: DAV request failed; it's possible that the repository's > pre-revprop-change hook either failed or is non-existent > svn: E175002: Repository has not been enabled to accept revision > propchanges; > ask the administrator to
2015 May 29
0
[LLVMdev] [RFC] Late May Update: Progress report on CMake build system's ability to replace autoconf
Do they really allways put them into Release/bin or rather $<CONFIG>/bin? -- Johannes S. Mueller-Roemer, MSc Wiss. Mitarbeiter - Interactive Engineering Technologies (IET) Fraunhofer-Institut für Graphische Datenverarbeitung IGD Fraunhoferstr. 5 | 64283 Darmstadt | Germany Tel +49 6151 155-606 | Fax +49 6151 155-139 johannes.mueller-roemer at igd.fraunhofer.de |
2015 Jul 29
0
[LLVMdev] Request: Changing commit message in llvm trunk
On Tue, Jul 28, 2015 at 10:42 AM, Martell Malone <martellmalone at gmail.com> wrote: > Hi > > I'm trying to change a commit message that became malformed when pushing > to trunk > > svn propedit svn:log --revprop -r 243434 >> svn: E175002: DAV request failed; it's possible that the repository's >> pre-revprop-change hook either failed or is
2015 May 29
0
[LLVMdev] [RFC] Late May Update: Progress report on CMake build system's ability to replace autoconf
That it’s faster is no surprise. Is the Release tblgen even built when you build in Debug mode? Otherwise this introduces the need to build Release before Debug. -- Johannes S. Mueller-Roemer, MSc Wiss. Mitarbeiter - Interactive Engineering Technologies (IET) Fraunhofer-Institut für Graphische Datenverarbeitung IGD Fraunhoferstr. 5 | 64283 Darmstadt | Germany Tel +49 6151 155-606 | Fax +49
2015 May 29
1
[LLVMdev] [RFC] Late May Update: Progress report on CMake build system's ability to replace autoconf
Yes, that's the idea, when you -DLLVM_OPTIMIZED_TABLEGEN=ON tblgen is built in Release in addition to whatever /property:Configuration= is. 2015-05-29 10:03 GMT+03:00 Mueller-Roemer, Johannes Sebastian < Johannes.Sebastian.Mueller-Roemer at igd.fraunhofer.de>: > That it’s faster is no surprise. Is the Release tblgen even built when > you build in Debug mode? Otherwise this
2015 Jul 09
2
[LLVMdev] How to use get the memory location of a function argument correctly?
Hi all, i hope to get the MemoryLocation for argument %1 in a CallInst like "call void @function(i32* %1)", and i found an interface "getForArgument()" which seems available for this. However, i don't know how to correcly fill the 3rd argument TargetLibraryInfo in my own code and can't find an example in google. Does anybody know how to do it? Or some other advice for
2015 Jun 26
4
[LLVMdev] Function "llvm::PassManager::run" not defined.
Hi, I am trying to use GDB for debugging my llvm pass. I am following the documentation http://llvm.org/docs/WritingAnLLVMPass.html. When i am doing this the following error and warning messages I am getting. I tried to remove the warning by apt-get install libc6-dbg:i386 command for updating the libc6 but still getting the same. Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+:
2015 Jul 06
2
[LLVMdev] DataFlowSanitizer only for Linux
Afternoon, I had an issue with trying to link a program with the DataFlowSanitizer functionality, this is from the libFuzzer project, and I was seeing: clang++ -fsanitize=address -fsanitize-coverage=edge test_fuzzer.cc Fuzzer*.o Undefined symbols for architecture x86_64: "_dfsan_create_label", referenced from: fuzzer::TraceState::DFSanCmpCallback(unsigned long, unsigned
2015 Jul 18
2
[LLVMdev] [Clang] [lld] [llvm-link] Whole program / dead-code optimization
Thanks Nick. I've been pursuing Gao's technique but can't seem to get opt to remove obviously dead code from even the following trivial example: int mult(int a, int b){ return a*b; } int main(void){ return 0; } While mult is never called it still is not removed. I just can't seem to get opt to understand it's seeing the whole program so it can remove this
2015 Jul 16
2
[LLVMdev] [Clang] [lld] [llvm-link] Whole program / dead-code optimization
> > > Is there a reason why LLVM's link-time optimization won't work for you? > > http://llvm.org/docs/GoldPlugin.html > http://llvm.org/docs/LinkTimeOptimization.html > > Well the primary motivation to move to LLVM is licensing which is why we also ditched binutils since we can't package gcc for iOS due to the GPL. So in the end the gold plugin wouldn't
2015 May 31
2
[LLVMdev] Error in building Gold on FreeBSD
I triend the command make all-gold -k But the error message that it says now is: /usr/binutils/gold/system.h:38:11:fatal error: 'libintl.h' file not found #include <libintl.h> On Saturday, May 30, 2015, John Criswell <jtcriswel at gmail.com> wrote: > Dear Aditya, > > Regarding the error, it looks like binutils is trying to build its > documentation. For
2015 May 30
3
[LLVMdev] Error in building Gold on FreeBSD
Hi I followed the steps on http://llvm.org/docs/GoldPlugin.html#lto-how-to-build to build the gold plugin on FreeBSD but ! Heres a link to the screenshot of the error: http://postimg.org/image/anlpuufbl/ This is the error message that it shows and so I am also unable to get ld-new. I checked and no CFLAGS were set in etc/make.conf. How to proceed with the installation? I am using the deault
2015 Jul 27
3
[LLVMdev] Adding a stack probe function attribute
Yeah, the function attributes section of LangRef is a reasonable place to put stuff like this: http://llvm.org/docs/LangRef.html#function-attributes I think we should add this. I also know that LLILAC needs something like this as well. I propose the following: - Add a string attribute called "stack-probe-symbol"="foo". - The presence of this attribute indicates that stack
2015 Jun 12
2
[LLVMdev] Register Allocation on IR
Hello all, I am trying to use the LLVM libraries to do register allocation on LLVM IR code -- and output IR as the result. There are two problems that arise when we try this : a. The LLVM backend requires that one goes through all the steps sequentially namely -- Instruction selection -- Scheduling and Formation -- SSA-based machine code optimizations -- Register
2015 Jul 08
2
[LLVMdev] Phabricator update
> On Jul 8, 2015, at 9:19 AM, Adam Nemet <anemet at apple.com> wrote: > >> >> On Jul 8, 2015, at 9:16 AM, Manuel Klimek <klimek at google.com <mailto:klimek at google.com>> wrote: >> >> You were in sendgrid's bounce list (there must have been at least one bounce from your email to the apple servers). Please let me know if other people had