search for: offset1

Displaying 20 results from an estimated 24 matches for "offset1".

Did you mean: offset
2006 Mar 23
3
Still problems with "step()" function
Hi R users: I don?t know if anybody have had the same problem with 'step()' funtion. If I type the commands ------------------------------------------------------------------------------- testData<-read.table("testData.dat",header=T) model1J<-glm(MCHNV~offset(Offset1),data=testData,family="poisson") step(model1J,direction="forward", scope=(list(upper=~IA+IM+altura+Region+Region:IA+Region:IM+Region:altura+offset(Offset1), lower=~offset(Offset1)))) --------------------------------------------------------------------...
2019 Jul 23
2
[RFC] A new multidimensional array indexing intrinsic
...de may trigger assertions, crash, or miscompile when encountering such a modified GEP. I think it is unfeasible to change all code to properly handle the new form at once. 2. Johannes' interpretation is to add some kind of metadata to GEPs, in addition to the naive computation, such as: %offset1= mul i64. %i, %n %offset2 = add i64, %j, %offset1 %1 = getelementptr double, double* %A, inrange i64 %offset2 [ "multi-dim"(i64 %n) ] This was not obvious to me. The code above uses operand bundle syntax. During our discussing for this RFC we briefly discussed metadata, which unf...
2012 Apr 26
2
[LLVMdev] MemRefs in a Load Instruction
Hi, On the hexagon target, I have written a following combiner pattern. ********************************************* def: Pat<(i64 (or (i64 (shl (i64 (extloadi32 (i32 (add IntRegs:$src1, s11_2ExtPred:$offset1)))), (i32 32))), (i64 (zextloadi32 ADDRriS11_2:$src2)))), (i64 (COMBINE_rr (LDriw_indexed IntRegs:$src1, s11_2ExtPred:$offset1), (LDriw ADDRriS11_2...
2006 Mar 21
3
transform shapefiles in UTM to lat/long
Dear all: I have a shapefile in UTM coordinate system and I would like to transform it to Lat/Log coordinates (WSG84). The package PBSmapping contains function convUL to transform between the two coordinate systems when data is in the form of a data frame with attributes specifying the coordinate system. However, when shapefiles are imported using function read.shape (package maptools), a list
2012 Apr 27
0
[LLVMdev] MemRefs in a Load Instruction
...ject: [LLVMdev] MemRefs in a Load Instruction > > Hi, > > On the hexagon target, I have written a following combiner pattern. > ********************************************* > > def: Pat<(i64 (or (i64 (shl (i64 (extloadi32 (i32 (add IntRegs:$src1, > > s11_2ExtPred:$offset1)))), > (i32 32))), > (i64 (zextloadi32 ADDRriS11_2:$src2)))), > (i64 (COMBINE_rr (LDriw_indexed IntRegs:$src1, > s11_2ExtPred:$offset1), >...
2018 Jun 11
4
One more No-alias case on Alias analysis
...1 alias sets for 2 pointer values.   AliasSet[0x53d8070, 2] may alias, Mod       Pointers: (i8* %arrayidx, 1), (i8* %arrayidx2, 1) As you can see on above code snippet, the 'a' and 'b' are not aliased. I think if we have following offset form, we can say No-alias between them. offset1 = odd_number - index offset2 = index I have implemented simple code for it and the output is as following: Alias sets for function 'test': Alias Set Tracker: 2 alias sets for 2 pointer values.   AliasSet[0x541a070, 1] must alias, Mod       Pointers: (i8* %arrayidx, 1)   AliasSet[0x541c...
2006 Feb 27
1
Different deviance residuals in a (similar?!?) glm example
....sim <- rpois(length(age), exposures*hazard.sim) # simulating deaths from a poisson distribution (Brillinger, 1986) my.offset <- log(exposures) # offset for the poisson regression # new dataset: decupleing the sample size deaths.sim1 <- deaths.sim * 10 exposures1 <- exposures * 10 my.offset1 <- log(exposures1) # fitting the first dataset fit <- glm(formula = deaths.sim ~ age + offset(my.offset), family = poisson(link = "log")) res <- residuals(fit, type="deviance") # fitting the new dataset fit1 <- glm(formula = deaths.sim1 ~ age + offset...
2013 Nov 23
2
[LLVMdev] GVN fails with bitcasts
Hi, i have the following code: define internal %"struct.dexter::ConditionConstant"* @_ZN6dexter18BinaryConditionAdd8evaluateEv5(%"class.dexter::BinaryConditionAdd"*) { entry: %1 = getelementptr inbounds %"class.dexter::BinaryConditionAdd"* %0, i32 0, i32 0, i32 1 %2 = load %"class.dexter::BaseCondition"** %1, align 8 %3 = bitcast
2006 Dec 19
3
[LLVMdev] alias-aware scheduling
...|| + isa<GlobalAddressSDNode>(Base); + } + + /* FIXME: copied from DAGCombiner.cpp */ + /// isAlias - Return true if there is any possibility that the two addresses + /// overlap. + bool isAlias(SDOperand Ptr1, int64_t Size1, + const Value *SrcValue1, int SrcValueOffset1, + SDOperand Ptr2, int64_t Size2, + const Value *SrcValue2, int SrcValueOffset2) + { + // If they are the same then they must be aliases. + if (Ptr1 == Ptr2) return true; + + // Gather base node and offset information. + SDOperand Base1, Base2; + int64_...
2011 Apr 11
1
[LLVMdev] linearizing aggregates
Hi I have asked the clang mailing list if it can be done in clang. However, i would like to also check if it can be done as a BC level transformation. I would like to address aggregates (structures, arrays) in a linear fashion and in terms of the simplest target type that is embedded in these data structures, So a 2 dimensional array becomes a single dimension array. A structure with a
2014 Mar 13
2
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...; 0007: > > + int cmpGEP(const GEPOperator *GEP1, const GEPOperator *GEP2); > + int cmpGEP(const GetElementPtrInst *GEP1, > + const GetElementPtrInst *GEP2) { > > Const members? > > + unsigned BitWidth = DL ? DL->getPointerSizeInBits(AS1) : 1; > + APInt Offset1(BitWidth, 0), Offset2(BitWidth, 0); > + if (DL && > + (GEP1->accumulateConstantOffset(*DL, Offset1) && > + GEP2->accumulateConstantOffset(*DL, Offset2))) > + return cmpAPInt(Offset1, Offset2); > > I think you should put this under if (DL) { /*...
2019 Jul 22
3
[RFC] A new multidimensional array indexing intrinsic
Am Mo., 22. Juli 2019 um 10:50 Uhr schrieb Doerfert, Johannes <jdoerfert at anl.gov>: > Why introduce a new intrinsic (family)? It seems that would require us > to support GEPs and GEP + "multi-dim" semantics in various places. What is > the benefit over a GEP extension? Adding an intrinsic is easier than adding or extending an existing instruction, as suggested by
2018 Jun 12
2
One more No-alias case on Alias analysis
...2] may alias, Mod       Pointers: (i8* >> %arrayidx, 1), (i8* %arrayidx2, 1) >> >> As you can see on above code snippet, the 'a' and 'b' are not >> aliased. I think if we have following offset form, we can say >> No-alias between them. >> >> offset1 = odd_number - index >> >> offset2 = index >> >> I have implemented simple code for it and the output is as following: >> >> Alias sets for function 'test': >> Alias Set Tracker: 2 alias sets for 2 pointer values. >>   AliasSet[0x541a070, 1] m...
2012 Sep 06
8
[LLVMdev] PROPOSAL: IR representation of detailed struct assignment information (new version)
Hello, Persuant to feedback, http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-August/052927.html here is a new proposal for detailed struct assignment information. Here's the example showing the basic problem: struct bar { char x; float y; double z; }; void copy_bar(struct bar *a, struct bar *b) { *a = *b; } The solution I now propose here is to have front-ends describe the copy using
2006 Mar 22
1
error message with stats package fx cor R aqua v1.14
Hello, Sorry if this is somewhere in the archives but i couldn't find it. I am using the funtion cor() and inputting a large matrix with a column of 0, for which i get NA's for. I'm looking for a way to overcome that divide by 0 error btw but my real issue is this: I specify the method as pearson but the error messages always say kendall ex) > read.csv("ncatest.csv",
2014 Feb 27
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Nick, I tried to rework changes as you requested. One of patches (0004 with extra assertions) has been removed. > + bool isEquivalentType(Type *Ty1, Type *Ty2) const { > + return cmpType(Ty1, Ty2) == 0; > + } > > Why do we still need isEquivalentType? Can we nuke this? Yup. After applying all the patches isEquivalentType will be totally replaced with cmpType. All
2004 Feb 04
1
Signal 11 in smbd 3.0.2rc2 on printer operation!
...@\0\0\0\0`\004\0\0\220?>\b?<A\b$B-\b<???Q?\021@H~\034@\210?>\b`\004\0\0??\021@H~\034@ V\034@ V\034@??\021@0\004\0\0 V\034@L?????\021@?Y\034@,\004\0\0?V\034@??\021@H~\034@ V\034@H\f?\bX\0\0\0d\0\0\0Y\0\0\0d\0\0\0\210\022\0\0?\020\0\0 V\034@\214???t?\021@,\004\0\0\0\0\0\0\224???"... offset1 = 0 offset2 = 4 #11 0x08162180 in api_pipe_request (p=0x83d1690) at rpc_server/srv_pipe.c:1476 ret = 0 pipe_fns = (PIPE_RPC_FNS *) 0x83cda10 #12 0x0815aecc in process_request_pdu (p=0x83d1690, rpc_in_p=0xbffff848) at rpc_server/srv_pipe_hnd.c:669 ret = 0 auth_verify = 0 data_len = 1068 #1...
2015 Aug 18
2
RFC for a design change in LoopStrengthReduce / ScalarEvolution
> Of course, and the point is that, for example, on x86_64, the zext here is free. I'm still trying to understand the problem... > > In the example you provided in your previous e-mail, we choose the solution: > > `GEP @Global, zext(V)` -> `GEP (@Global + zext VStart), {i64 0,+,1}` > `V` -> `trunc({i64 0,+,1}) + VStart` > > instead of the actually-better
2019 Apr 04
1
Proof of concept for GPU forwarding for Linux guest on Linux host.
Hi, This is a proof of concept of GPU forwarding for Linux guest on Linux host. I'd like to get comments and suggestions from community before I put more time on it. To summarize what it is: 1. It's a solution to bring GPU acceleration for Linux vm guest on Linux host. It could works with different GPU although the current proof of concept only works with Intel GPU. 2. The basic idea
2020 Jul 22
34
[RFC PATCH v1 00/34] VM introspection - EPT Views and Virtualization Exceptions
This patch series is based on the VM introspection patches (https://lore.kernel.org/kvm/20200721210922.7646-1-alazar at bitdefender.com/), extending the introspection API with EPT Views and Virtualization Exceptions (#VE) support. The purpose of this series is to get an initial feedback and to see if we are on the right track, especially because the changes made to add the EPT views are not small