Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Stack usage analysis using LLVM"
2013 Sep 05
0
[LLVMdev] Stack usage analysis using LLVM
On 9/3/13 1:27 PM, Snehasish Kumar wrote:
> Hi
>
> I was wondering if someone knows about any effort within the LLVM
> community to perform stack usage analysis per function similar to
> GCC's "-fstack-usage
> <http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Static-Stack-Usage-Analysis.html>"
> option?
I am not familiar with the -fstack-usage option in GCC,
2013 Dec 27
4
[LLVMdev] Using DependenceAnalysis::depends
Hi Preston,
Thank you for the prompt response.
You can use DependenceAnalysis to get the info you want by expensively
> testing all pairs of memory references.
Isn't all pairs testing incorrect in the sense that a pair may only exist
for a certain path? Consider the following example.
A[i] = 42; // S1
if( condition ) // C1
{
A[i] = 20; // S2
}
B[i] = A[i];
2016 Mar 22
2
GSoC Proposal : Path Profiling Support
Hi Snehasish, thanks for writing up the proposal.
As it stands today, path profiling still has serious scalability issue that
prevents it from being usable by any optimization passes that may benefit
from it. On the other hand, sampling based approach can still be promising.
For instance, LBR can potentially together with static CFG constructed
from the binary can be used to form path(let)
2013 Dec 27
3
[LLVMdev] Using DependenceAnalysis::depends
Hi
I want to analyse the memory dependencies which exist in a loop at an intra
iteration as well as inter iteration (loop carried dependencies). I looked
at the DependenceAnalysis implementation which returns a lot of the
information I require (based on a prior AliasAnalysis pass), however I need
to pass the Src and Dst instructions in program order.
I was wondering how I can collect all the
2016 Mar 16
3
GSoC Proposal : Path Profiling Support
Hi David,
> Are the data below all collected when only one function is picked for
> instrumentation?
Yes, here is a list of the benchmarks and selected functions.
+-----------------+----------------------------------------------------------------------------------------------+
| blks | _Z19BlkSchlsEqEuroNoDivfffffif
|
2016 Mar 23
0
GSoC Proposal : Path Profiling Support
Hi David,
> Hi Snehasish, thanks for writing up the proposal.
>
> As it stands today, path profiling still has serious scalability issue that
> prevents it from being usable by any optimization passes that may benefit
> from it.
I agree; it would be an interesting to see how we can reduce the overheads
to bring it within acceptable limits.
> It will be interesting to see how
2016 Mar 21
0
GSoC Proposal : Path Profiling Support
Hi
I am pinging to find out if there is any interest to mentor this
proposal for GSoC this year? I've submitted a draft via the GSoC
website.
David, Vedant it would be great if I could get some advice on refining
the goals and particulars of the implementation.
The version we use internally is not performance oriented and will
require refactoring.
Here is a link to the draft document [1].
2016 Mar 25
3
Link error on Linux
Tried that just now, same result.
On Fri, Mar 25, 2016 at 6:58 AM, Snehasish Kumar <kumar.snehasish at gmail.com>
wrote:
> Hi Russel,
>
> Can you try compiling aklo.o using -fno-rtti prior to linking?
>
> On Thu, Mar 24, 2016 at 11:44 PM, Russell Wallace via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > I'm trying to link a program with LLVM on Linux.
2017 Apr 08
2
Getting a pointer to a i8 from a global variable that holds a constant string
Hello,
I'm trying to get the pointer to the first element of a string (so that I
can pass it to a function).
The string itself is a constant kept in a global variable.
My end goal is to generate the IR for something like "puts("Hello World")";
I'm stuck on the parameter part of the call instruction.
So far I have something like this:
const std::string& str =
2016 Mar 25
2
Link error on Linux
Yeah, seems to.
a at a-VirtualBox:~$ nm /home/a/build//lib/libLLVMSupport.a | grep
ZN4llvm4outsEv
U _ZN4llvm4outsEv
U _ZN4llvm4outsEv
0000000000000000 b _ZGVZN4llvm4outsEvE1S
0000000000000000 T _ZN4llvm4outsEv
0000000000000000 r _ZZN4llvm4outsEvE19__PRETTY_FUNCTION__
0000000000000000 b _ZZN4llvm4outsEvE1S
U _ZN4llvm4outsEv
I can try building
2016 Aug 19
2
can't build from source: error: template with C linkage
Hi All,
Users have contacted me because they can not build MCMCglmm from source. All are using R 3.3.0 on various machines with different compilers
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Mac OS X El Capitan (version/compiler unspecified)
The issue seems to be with mixing C/C++ with the repeated error:
/usr/include/c++/5/bits/cpp_type_traits.h:118:3:
2016 Aug 19
1
can't build from source: error: template with C linkage
This looks like the result of including a C++ system header inside an
extern "C" block. There is no evidence of this happening in the current
version 2.22.1. However, it did happen in the previous version 2.22 via
the chain of inclusions:
MCMCglmmcc.h -> cs.h -> R.h -> various C++ system headers
See Writing R Extensions P 108.
I would check that the people reporting this bug
2013 Feb 07
2
CLANG and -fstack-protector
Hello,
Does the -fstack-protector option work on CLANG 3.1 and 3.2?
There is thread on FreeBSD forums about the stack protector and ports
and I'm wondering if it's possible to use the -fstack-protector option
with CLANG.
http://forums.freebsd.org/showthread.php?t=36927
-Kimmo
2010 Jul 27
1
R CMD build wiped my computer
Hi,
I ran R (version 2.9.0) CMD build under root in Fedora (9). When it
tried to remove "junk files" it removed EVERYTHING in my local
account! (See below).
Can anyone tell me what happened, and even more importantly if I can I
restore what was lost.
Panickingly,
Jarrod
[jarrod at localhost AManal]$ R CMD build MCMCglmm_2.05
* checking for file
2010 Jul 27
1
R CMD build wiped my computer
Hi,
I ran R (version 2.9.0) CMD build under root in Fedora (9). When it
tried to remove "junk files" it removed EVERYTHING in my local
account! (See below).
Can anyone tell me what happened, and even more importantly if I can I
restore what was lost.
Panickingly,
Jarrod
[jarrod at localhost AManal]$ R CMD build MCMCglmm_2.05
* checking for file
2010 Jul 27
1
R CMD build wiped my computer
Hi,
I ran R (version 2.9.0) CMD build under root in Fedora (9). When it
tried to remove "junk files" it removed EVERYTHING in my local
account! (See below).
Can anyone tell me what happened, and even more importantly if I can I
restore what was lost.
Panickingly,
Jarrod
[jarrod at localhost AManal]$ R CMD build MCMCglmm_2.05
* checking for file 'MCMCglmm_2.05/DESCRIPTION'
2019 Jan 06
4
Failed to install RQuantLib in Ubuntu machine
Hi,
<This issue was previously posted in R-help, but advised to post here as a
more relevant group>
I was trying to install RQuantLib in my Ubuntu machine which failed with
below information :
*> install.packages('RQuantLib', repos='http://cran.rstudio.com/
<http://cran.rstudio.com/>', INSTALL_opts = c('--no-lock'))*
*Installing package into
2014 Jul 25
1
Multiple -g flags in R CMD SHLIB
Does anybody know why two "-g" flags appear in the call to gcc in R CMD
SHLIB
Example:
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic *-g* -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 *-g* -c c_file1.c -o
c_object1.o
Surely it need only be listed once?
Alan
[[alternative HTML version deleted]]
2016 Apr 19
3
installation of dplyr
Hello,
I am getting a fresh CentOS 6.7 machine set up with all of the goodies for R 3.2.3, including dplyr package. I am unable to successfully install it. Below I show the failed installation using utils::install.packages() and then again using devtools::install_github(). Each yields an error similar to the other but not quite exactly the same - the error messages sail right over my head.
I
2023 Dec 30
2
custom built R will not change BLAS/LAPACK with update-alternatives
Dear All,
I am building R from source[1], following what is done in "rules" for building Debian's R. But the R I generate, in contrast to the standard Debian's R, will not change the BLAS and LAPACK libraries it uses when I change them via "update-alternatives". I have no idea what I am doing wrong (but, somehow, I've been quite capable of making the same