Displaying 20 results from an estimated 1000 matches similar to: "Aliasing and forwarding optimization"
2002 Sep 14
1
[LLVMdev] MP1: Gelementptr question
The following is legal LLVM code in which ptr, ptr2, and ptr3 are all
aliases:
%struct = type { int, int }
implementation
int %p() {
%ptr1 = alloca %struct
%ptr2 = getelementptr %struct* %ptr1
%ptr3 = getelementptr %struct* %ptr2, uint 0
%pint = getelementptr %struct* %ptr3, uint 0, ubyte 0
%rval = load int* %pint
ret int %rval
}
Should our pass a) ignore this, not replace %ptr1,
2004 Aug 24
5
MMX/mmxext optimisations
quite some speed improvement indeed.
attached the updated patch to apply to svn/trunk.
j
-------------- next part --------------
A non-text attachment was scrubbed...
Name: theora-mmx.patch.gz
Type: application/x-gzip
Size: 8648 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20040824/5a5f2731/theora-mmx.patch-0001.bin
2017 Apr 28
3
Store unswitch
Hi Danny,
Thanks for that :) However I've just updated the prototype patch to NewGVN
and it didn't need any API changes - all I rely on is GVNExpression.
Hongbin,
I wanted to explain a little about what GVNSink can currently do, what it
was designed for and hopefully how to make it handle your testcase.
*Background*
Common code sinking is more difficult to efficently do than one might
2012 May 15
1
Error in eval(expr, envir, enclos) : object 'Rayos' not found???
Hi R-listers,
I am trying to make a trellis boxplot with the HSuccess (y-axis) in each
Rayos (beach sections) (x-axis), for each Aeventexhumed (A, B, C) - nesting
event. I am not able to do so and keep receiving:
Error in eval(expr, envir, enclos) : object 'Rayos' not found
Please advise,
Jean
require(plyr)
resp <- read.csv("ABC Arribada R File Dec 12 Jean
2010 Jun 28
3
data frame row statistics (mean)?
Hello,
I am trying to calculate the mean value of each row in a data frame (d),
I am having troubles and getting errors using the code I have written.
Below is a brief example of the code, any thought or suggestions would
be great.
Thank you for your time,
Doug
# Example Code:
d <- data.frame(st1=c(1,2,3,4), st2=c(2,5,6,7), st3=c(5,5,NA,7),
st4=c(6,5,7,8))
avg <-
2011 Oct 07
2
[LLVMdev] Aliasing confusion
Hi all,
I'm having trouble understanding how llvm determines if pointers
alias. Consider the following two functions that each do a redundant
load:
define float @A(float * noalias %ptr1) {
%ptr2 = getelementptr float* %ptr1, i32 1024
%val1a = load float* %ptr1
store float %val1a, float* %ptr2
%val1b = load float* %ptr1
ret float %val1b
}
define float @B(float * noalias %ptr1,
2018 Mar 21
0
Finding which registers the operand of a load maps to
Appreciate all of the quick responses to my ridiculous questions so far.
Hoping this one attracts similarly good discussion!
Let's say I have the following series of instructions:
%a = load i32, i32* %ptr1
%b = load i32, i32* %ptr2
%c = add i32 %a, %b
store i32 %c, i32* %ptr3
This gets compiled (roughly) to
mov eax, dword ptr [rsp - 4]
add eax, dword ptr [rsp - 8]
mov dword
2011 Oct 07
0
[LLVMdev] Aliasing confusion
On Fri, Oct 7, 2011 at 2:15 PM, andrew adams <andrew.b.adams at gmail.com> wrote:
> Hi all,
>
> I'm having trouble understanding how llvm determines if pointers
> alias. Consider the following two functions that each do a redundant
> load:
>
> define float @A(float * noalias %ptr1) {
> %ptr2 = getelementptr float* %ptr1, i32 1024
> %val1a = load float*
2007 Nov 24
1
question regarding an error message from survey package
Hi R-users!
Can anyone tell me what this error message refers to exactly
> a<-c('m','f','m')
> b<-c(1:3)
> st<-c(1:3)
> data.frame(a,b,st)
a b st
1 m 1 1
2 f 2 2
3 m 3 3
> data.frame(a,b,st)->l
> p<-svydesign(ids=~1, data=l)
> pop<-c('(intercept)'=100, st1=10,st2=20)
> calibrate(p,~st, pop)
Error in
2005 Apr 13
1
barplot usage
Hi,
I?m trying to make a barplot with the following dataframe, with information on
relative frequency per sediment type (ST) for some species:
Species ST1 ST2 ST3
SP_A 10 60 30
...
At x-axis are (should be ...) the species names and at y-axis the frequency per
sediment, in stacked bars.
I tried to use barplot command but with no results. Could anyone help me on this?
Thanks in
2013 May 20
1
Inconsistent results from .C()
Hello,
I've run into a problem which is both maddening and rather hard to
replicate, therefore I wondered if someone might know of a plausible
explanation for it. I couldn't find anything in the archives, though
maybe I'm searching for the wrong thing.
I'm calling some C code using .C, and get the vector I'm interested in
back as the 7th location in the returned list.
2012 May 21
1
select part of files from a list.files
Hi everyone.
I'm working on a list of files (about 50 files). I've listed them thanks to
the function: list.files.
Each of my files contains 35000 lines of data. These files may also contain
some missing values NA (sometimes till 10 000 NAs following each other).
The aim is to do some correlation matrices between these files (I already
have the script). But as I have often missing values,
2006 Aug 01
1
What's a labelled data.frame? And how do I work with it?
I imported an SPSS file with its data labels using
spss.get (Library(Hmisc).
Class = data.frame
I then updated some of the spss labels and added a
label to the object itself.
label (staff.allocation) <- "raw data from the spss
file"
I then save it as an R object. When I load the object
for further work it comes in as Class = "labelled"
"data.frame"
Then I
2013 Nov 04
3
[LLVMdev] [RFC] Scoped no-alias metadata (redux)
Hello everyone,
In December, I had started a thread on scoped no-alias metadata in order to represent C99 'restrict' pointer information at the IR level:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-December/056586.html
At this point, we also have another important use case: preserving the existing 'noalias' attributes on pointers after inlining. My original proposal was
2013 Apr 05
4
[LLVMdev] A strange testing case of SROA
Hi,
Following is excerpted from dynamic-vector-gep.ll.
The resulting "extractelement" seems to always return 0.0f regardless
the value idx1 and idx2 is holding.
Am I missing something here or there is something fishy take place?
Thanks
Shuxin
101 ; CHECK: test6
102 ; CHECK: insertelement <4 x float> zeroinitializer, float
1.000000e+00, i32 %idx1
103 ; CHECK:
2013 Nov 14
0
[LLVMdev] [RFC] Scoped no-alias metadata (redux)
Hello again,
When I had originally discussed this proposal, it was thought that we would not have to worry about control dependencies on the noalias metadata because such dependencies could only present a problem when loads or stores are merged (RAUW is called), and transformations should drop metadata when that happens.
Now I'm worried that this is not true. Here's a simple example:
2018 Apr 18
1
[RFC] Making GVN able to visit the same block more than once
Introduction
============
I'm currently in the middle of what initially looked to be a simple change in
GVN but is turning out to have unexpected consequences that are turning out to
be quite difficult to resolve, so I thought I'd send out an RFC to make sure
that I'm not barking up the wrong tree with how I'm trying to do this.
Motivation and current behaviour
2011 Jan 04
0
[LLVMdev] Bug in MachineInstr::isIdenticalTo
On Jan 4, 2011, at 11:08 AM, Villmow, Micah wrote:
> I have ran across a case where the function isIdenticalTo is return true for instructions that are not equivalent. The instructions in question are load/store instructions, and is causing a problem with MachineBranchFolding. The problem is this, I have two branches of a switch statement that are identical, except for the size of the store.
2012 May 02
2
Problem with 'nls' fitting logistic model (5PL)
Dear R-Helpers,
I'm working with immunoassay data and 5PL logistic model. I wanted to
experiment with different forms of weighting and parameter selection,
which is not possible in instrument software, so I turned to R.
I am using R 2.14.2 under Win7 64bit, and the 'nls' library to fit the
model - I started with the same model and weighting type (1/y) as in the
instrument to see
2020 Apr 14
6
[nbdkit PATCH v2 0/3] more consistent stdin/out handling
In v2:
- use int instead of bool in the public header
- split the tests from the code
- don't overload test-layers; instead, add new tests
- add a missing fflush exposed by the new tests
- other minor cleanups
Eric Blake (3):
server: Add nbdkit_stdio_safe
server: Sanitize stdin/out before running plugin code
server: More tests of stdin/out handling
docs/nbdkit-plugin.pod |