Displaying 20 results from an estimated 300 matches similar to: "Computing loop trip counts with Scalar evolution"
2018 Jul 06
2
Verify that we only get loop metadata on latches
In https://bugs.llvm.org/show_bug.cgi?id=38011 (see also https://reviews.llvm.org/D48721) a problem was revealed related to llvm.loop metadata.
The fault was that clang added the !llvm.loop metadata to branches outside of the loop (not only the loop latch). That was not handled properly by some opt passes (simplifying cfg) since it ended up merging branch instructions with different !llvm.loop
2007 Jul 19
2
linear interpolation of multiple random time series
Hi all,
Looking for tips on how I might more optimally solve this. I have
time series data (samples from a force sensor) that are not
guaranteed to be sampled at the same time values across trials. ex.
trial time x
1 1 1
1 5 4
1 7 9
1 12 20
2 1 0
2 3 5
2 9 10
2 13 14
2 19 22
2 24 32
Within each trial I'd like to use linear interpolation between each
successive time sample to fill in
2013 May 20
2
[LLVMdev] Polly issue
Hi,
When I test "matmul" in the polly directory, I get the following
performance data:
//===============================
--> 12. Compare the runtime of the executables
time ./matmul.normalopt.exe
0:23.53 real, 23.48 user, 0.00 sys
time ./matmul.polly.interchanged.exe
0:22.86 real, 22.82 user, 0.01 sys
time ./matmul.polly.interchanged+tiled.exe
0:22.87 real, 22.83 user, 0.00 sys
2012 Jul 31
3
[LLVMdev] [DragonEgg] Mysterious FRAME coming from gimple to LLVM
Hi Duncan,
A DragonEgg/GCC-related question: do you know where these strange FRAME
tokens originate from (e.g. %struct.FRAME.matmul)? Compiling simple Fortran
code with DragonEgg:
> cat matmul.f90
subroutine matmul(nx, ny, nz)
implicit none
integer :: nx, ny, nz
real, dimension(nx, ny) :: A
real, dimension(ny, nz) :: B
real, dimension(nx, nz) :: C
integer :: i, j, k
real,
2016 Nov 10
2
Polly | Dependence detection details
Hi everyone,
I'll be very thankful if anyone can help me. I want to extract the
dependences details by using polly.
I followed the following steps on example code matmul.c:
1. clang -S -emit-llvm matmul.c -o matmul.s
2. opt -S -polly-canonicalize matmul.s > matmul.preopt.ll
3. opt -basicaa -polly-dependences -analyze matmul.preopt.ll
But it doesn't show me the dependences. I
2012 Apr 18
2
[LLVMdev] how to get path profile information ?
Dear all,
I have already checked some related posted messages, such as:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-January/012315.html and
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-February/012466.html
After getting rid of some error messages, I was able to run the following
commands:
1) opt -insert-path-profiling matmul.bc -o matmul.pp.bc
2) lli -load
2012 Apr 18
0
[LLVMdev] how to get path profile information ?
What version of LLVM are you using? The profiling framework is completely messed up in the newer versions of LLVM.. I used to work with profiling in 2.5 some time ago, and it seemed to work fine.. If you really need this to work quickly, you might want to just get the old version and get on with it..
The newer versions of LLVM need to get the profiling part fixed soon..It is messing up my work as
2009 Mar 31
1
error during DPpackage compilation
Dear All,
I've had trouble compiling DPpackage as a user in one system. It works fine
as root in other machines.
I can see any clues in error messages My guess is that it is a permissions
matter.
Any help is appreciated.
OS: Linux
Kernel: 2.6.27 SMP
Arch: Intel 64 bits
gfortran not available
Thank you.
----------------------><8-------------------------------------
g77 ? -fpic ?-g
2017 Apr 28
2
LLVMGetFirstFunction() / LLVMGetNextFunction( ) problem
Hi, I have a problem - looking for advice.
I have a source code file with two functions which are compiled into a .bc
file.
When the bitcode file is loaded, I can dump the module and see the two
functions:
...
; Materializable
; Function Attrs: noinline nounwind uwtable
define void @matmul(double*, double*, double*, i32, i32, i32) #0 {}
; Materializable
; Function Attrs: noinline nounwind
2010 May 11
3
Advice needed on awkward tables
Dear r-help list members,
I am quite new to R, and hope to seek advice from you about a problem I have
been cracking my head over. Apologies if this seems like a simple problem.
I have essentially two tables. The first (Table A) is a standard patient
clinicopathological data table, where rows correspond to patient IDs and
columns correspond to clinical features. Records in this table are stored
2016 Feb 03
3
opt with Polly doesn't find the passes
I just checkout release_38 branches of llvm, clang and polly and built
it on and x86 Ubuntu with cmake:
CMAKE_BUILD_TYPE="Debug"
CMAKE_INSTALL_PREFIX="$HOME/toolchain/install/llvm-3.8"
LLVM_TARGETS_TO_BUILD="X86"
cmake -G "Unix Makefiles" \
-DBUILD_SHARED_LIBS="ON" \
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
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+:
2009 Aug 12
2
Problem with function in fortran 95
I am writing a function in fortran 95, but the intrinsic function MATMUL is not working properly. Here's an example.
SUBROUTINE mymult(x,y,res,m,n)
IMPLICIT NONE
INTEGER :: m,n
REAL :: x, y, res
DIMENSION :: x(m,n), y(n,m), res(m,m)
res = MATMUL(x,y)
END SUBROUTINE mymult
R CMD SHLIB mat.f95
In R:
dyn.load("mat.so")
x <-
2011 Jun 08
2
[LLVMdev] Polly test and example
Hi, all
I tried Polly installation on Ubuntu.
On its building, it returned no errors.
But when I run "make polly-test", it returns 11 unexpected failures as
follows.
-----------------------------------
********************
Testing Time: 19.77s
********************
Failing Tests (11):
Polly :: CodeGen/do_pluto_matmult.ll
Polly :: CodeGen/loop_with_condition.ll
Polly ::
2012 Sep 22
2
[LLVMdev] Heads up! New SROA implementation is going on-by-default today!
After a lot of testing and help from Duncan, Benjamin, Joerg and others, I
think the new SROA is ready for some broader testing. I've fixed all the
crashers and miscompiles that Duncan and Joerg have been able to find
(although I'm sure there are a few left I'll tackle when there are
reports), and the LNT numbers look *really* good. Here is the latest LNT
run we got by flipping it on
2014 Jun 13
2
no x label using axis.Date
I have tried multiple different methods to figure out how to get a date axis
of my preference (start date of each month). Any assistance would be
appreciated.
The below section is not producing a date axis:
plot(totaldays$totaldays,totaldays$y,type="n",ylim=c(0,Emax),xaxt="n")
*xlabels<-(strptime(totaldays$totaldays,"%Y-%m-%d",tz=""))
2011 Jun 09
0
[LLVMdev] Polly test and example
On 06/08/2011 01:17 AM, MORIYAMA Tomohiro wrote:
> Hi, all
>
> I tried Polly installation on Ubuntu.
>
> On its building, it returned no errors.
> But when I run "make polly-test", it returns 11 unexpected failures as
> follows.
> -----------------------------------
> ********************
> Testing Time: 19.77s
> ********************
> Failing Tests
2012 May 04
0
[LLVMdev] Extending GetElementPointer, or Premature Linearization Considered Harmful
Hi Preston,
On Fri, May 4, 2012 at 9:12 AM, Preston Briggs <preston.briggs at gmail.com> wrote:
>
> which produces
>
> %arrayidx24 = getelementptr inbounds [100 x [100 x i64]]* %A, i64
> %arrayidx21.sum, i64 %add1411, i64 %add
> store i64 0, i64* %arrayidx24, align 8
> {{{(5 + ((3 + %n) * %n)),+,(2 * %n * %n)}<%for.cond1.preheader>,+,(4 *
2016 Jun 09
2
[Proposal][RFC] Cache aware Loop Cost Analysis
On Wed, Jun 8, 2016 at 10:20 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
> ------------------------------
>
> *From: *"Vikram TV via llvm-dev" <llvm-dev at lists.llvm.org>
> *To: *"DEV" <llvm-dev at lists.llvm.org>
> *Sent: *Wednesday, June 8, 2016 2:58:17 AM
> *Subject: *[llvm-dev] [Proposal][RFC] Cache aware Loop Cost Analysis
>
2011 Jun 24
0
[LLVMdev] LLVM autovectorization support
On 24 June 2011 21:13, Xin Tong Utoronto <x.tong at utoronto.ca> wrote:
> I would like to know the status of the autovectorization support in LLVM.
> does LLVM have a loop dependence analysis, does LLVM have a infrastructure
> for autovectorization ? etc.
Not yet, but it's getting there...
http://polly.grosser.es/
cheers,
--renato